Hi,
I am in a situation where i need to mask some data.
Say, input data is like
000001 ABCDEF____NEW______DAY
000002 GHIJ______DEVELOPT__NIGHT
000003 KLMNO____OLD_______EVENING
000004 PQRSTUVW_MEDIUM___MORNING
000005 XYZ_______SAFE______AFTERNOON
Output required is like
000001 AXXXXX____NYY_______DTT
000002 GXXX______DYYYYYYY__NTTTT
000003 KXXXX_____OYY_______ETTTTTT
000004 PXXXXXXX__MYYYYY____MTTTTTT
000005 XXX_______SYYY______ATTTTTTTT
[I have added dashes here to get the correct alignment of data. The file is FB and LRECL is 30. There are 3 fields of length 10 each in the file. The numbers at the beginning are only line numbers].
That is, other than the first letter of each field, all the other characters need to be changed to a pre-decided character, here 'X', 'Y' and 'T'. I tried using ALTSEQ and succeeded. However, the trouble is am able to use just one ALTSEQ. Is there any way i can use multiple ALTSEQ, one to replace each field ?? Or what is the other way of doing this ??
I would be glad if you can assist me on this.
Thanks,
Sam.