Joined: 22 Feb 2010
I have the following requirement and I am trying to understand if we can implement this in sort/icetool.
I have a file (MEMBER.FILE) where the first name and last name of a person is encrypted. I want to decrypt this by looking into another file where the encrypted value of each alphabet is present.
The first name and last name is in between 10 - 50 columns (Inclusive) in the MEMBER.FILE.
The file (MAP.FILE) that contains mapping is of the below layout
|01 Org-value pic x(01)
01 filler pic x(01)
01 encrypted value pic x(01)
Where A is the actual value and C is the encrypted value.
Is it possible to look into the map.file and decrypt the name portion in the member.file using sort/icetool and create a new file membconv.file with the decrypted value using sort/icetool only?