Joined: 10 Mar 2011
|How to remove the spaces.
I have used the below input file. Input File contains only GDG version. By using I am appending the server path and .XFR to the GDG Version.
Please find the below output File. The Sort card is working fine.
OUTREC FIELDS=(1:C' touch /apps/acmail/data/batchndm/',
But if the GDG File has different Name A123TST.ABCD.AIF.G0003V00 the output file is creating in the below way.
touch /apps/acmail/data/batchndm/A123TST.ABCD.AIF.G0003V00. XFR
There is space creating between G0003V00 and XFR because of the position used in out rec field
How to write a generic sort card. Could please help me out with DF SORT.
The Output should come like touch /apps/acmail/data/batchndm/A123TST.ABCD.AIF.G0003V00.XFR whatever the GDG length would be.