View previous topic :: View next topic |
Author |
Message |
sivafdms Intermediate
Joined: 29 May 2007 Posts: 165 Topics: 77
|
Posted: Wed Aug 04, 2010 8:31 am Post subject: Right Justified columns |
|
|
Hi,
I have input file:
Code: |
ABC 1234567890 SIVA
DEF 4567890 NAVEEN
GHI 54567898 KOTRA
|
the output should be:
Code: |
ABC 1234567890 SIVA
DEF 4567890 NAVEEN
GHI 54567898 KOTRA
|
Thanks,
Siva |
|
Back to top |
|
|
chandra Beginner
Joined: 26 Sep 2003 Posts: 130 Topics: 36
|
Posted: Wed Aug 04, 2010 10:16 am Post subject: |
|
|
Hi Siva,
here is the sort card
Code: | //S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
ABC 1234567890 SIVA
DEF 4567890 NAVEEN
GHI 54567898 KOTRA
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
INREC OVERLAY=(6:6,10,JFY=(SHIFT=RIGHT))
/* |
_________________ Regards,
Chandra |
|
Back to top |
|
|
|
|