View previous topic :: View next topic
|
Author |
Message |
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi,
I have one file it contains a number from 1 to 7 bytes. I want my output file should be copied the same in input file and have '+' 10 byte in every record.
EG:
Infile
1234567
3165637
3216876
Outfile:
1234567 +
3165637 +
3216876 +
Please provide me sort card for thesame. |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
sasikumar1984,
Use the following DFSORT JCL
Code: |
//STEP0100 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD *
1234567
3165637
3216876
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INREC OVERLAY=(10:C'+')
/* |
|
|
Back to top |
|
|
|