View previous topic :: View next topic |
Author |
Message |
KM Beginner
Joined: 22 Jul 2004 Posts: 18 Topics: 8
|
Posted: Thu Apr 14, 2005 12:59 pm Post subject: Stripping first 29 chrs in a FB dataset ? |
|
|
I know it is similar to a recent post about stripping chrs in a VB dataset, but when I try to get rid of the first 29 chrs in a 256 chrs dataset (..OUT), it is not working:
Code: |
//SORT EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=ABC.DEF.IN,DISP=SHR
//SORTOUT DD DSN=ABC.DEF.OUT,DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY
OUTREC(29,227)
/*
|
Have been staring at it for half hr. now....any suggestions ? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Apr 14, 2005 1:05 pm Post subject: |
|
|
KM,
Your sysin cards should be as follows
Code: |
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(30,227)
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
KM Beginner
Joined: 22 Jul 2004 Posts: 18 Topics: 8
|
Posted: Thu Apr 14, 2005 1:17 pm Post subject: |
|
|
It works. Look at the timestamp....six (!) minutes later I had a reply. Amazing !
Thanks a lot ! |
|
Back to top |
|
|
|
|