MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stripping first 29 chrs in a FB dataset ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
KM
Beginner


Joined: 22 Jul 2004
Posts: 18
Topics: 8

PostPosted: Thu Apr 14, 2005 12:59 pm    Post subject: Stripping first 29 chrs in a FB dataset ? Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Apr 14, 2005 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
KM
Beginner


Joined: 22 Jul 2004
Posts: 18
Topics: 8

PostPosted: Thu Apr 14, 2005 1:17 pm    Post subject: Reply with quote

It works. Look at the timestamp....six (!) minutes later I had a reply. Amazing !
Thanks a lot !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group