Logic to implement
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 98
- Joined: Thu Feb 05, 2009 1:14 am
- Location: visakhapatnam
- Contact:
Logic to implement
Hi,
I have a requirement in the below manner.
I need to mask some values in 18 byte data sent to me .
The value is read in 1byte to 9 byte .
Few values need to be masked the data extracted is numeric but after masking they result in numeric and non numeric values.
req
123456789
output
1M3AXSD89
Could you please suggest me on this
We can use a stage variable and look up to do this .
We are not allowed to use routinees to implement this logic.
Is their any other way to implement this logic as the alphabets masked values comprise of alphabets A-Z.
Thanks
Sunitha
I have a requirement in the below manner.
I need to mask some values in 18 byte data sent to me .
The value is read in 1byte to 9 byte .
Few values need to be masked the data extracted is numeric but after masking they result in numeric and non numeric values.
req
123456789
output
1M3AXSD89
Could you please suggest me on this
We can use a stage variable and look up to do this .
We are not allowed to use routinees to implement this logic.
Is their any other way to implement this logic as the alphabets masked values comprise of alphabets A-Z.
Thanks
Sunitha
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Participant
- Posts: 98
- Joined: Thu Feb 05, 2009 1:14 am
- Location: visakhapatnam
- Contact:
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
Refer formatting functions in Server job developer guide. I don't have access to the tool right now & so, i can't talk about those functions in a PX job.
Whatever option used for masking must be used for unmasking. Otherwise, the data will be messed up.
Whatever option used for masking must be used for unmasking. Otherwise, the data will be messed up.
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 98
- Joined: Thu Feb 05, 2009 1:14 am
- Location: visakhapatnam
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Have you been given a masking algorithm, or don't they care and are allowing you to invent one? Does it simply have to mask, or does it have to be difficult to decode too? It's easily possible, but you need C++ programming skills to create a parallel routine. Do you have these?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 98
- Joined: Thu Feb 05, 2009 1:14 am
- Location: visakhapatnam
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: