Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Who determines the LRECL of SORTOUT?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
lee_issc

New User


Joined: 11 Dec 2008
Posts: 33
Location: China

PostPosted: Wed Jan 13, 2010 8:09 am    Post subject: Who determines the LRECL of SORTOUT?
Reply with quote

Dears,

I am puzzled by the LRECL of SORTOUT these days.Say my JCL first

Code:

//SORTIN   DD  DSN=ACA.LIM.IMTAGT.S31,DISP=SHR     
//SORTOUT  DD  DSN=TDL.LIM.CD.DOWN.TDS.TEMP33,     
//             DISP=(NEW,CATLG,DELETE),UNIT=SYSDA, 
//             SPACE=(TRK,(100,10),RLSE)           
//*            DCB=*.SORTIN                         
//SORTWK01 DD  UNIT=DASD,SPACE=(CYL,5)             
//SORTWK02 DD  UNIT=DASD,SPACE=(CYL,5)             
//SORTWK03 DD  UNIT=DASD,SPACE=(CYL,5)             
//SYSUDUMP DD  SYSOUT=*                             
//SYSIN    DD  *                                   
 OPTION VLSCMP                                     
 INCLUDE COND=(29,4,CH,EQ,C'U101',OR,               
               29,4,CH,EQ,C'GTG8',OR,               
               29,4,CH,EQ,C'GTG6')                 
 SORT   FIELDS=(17,10,CH,A)                         
 OUTREC FIELDS=(1:1,4,5:17,10,15:29,4)             
/*                                                 


The LRECL of SORTIN is 2185 with VB.After sorted I got the 2185 length for the SORTOUT file.But I just want to a FB file with length 10+4.How can I do?
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jan 13, 2010 2:40 pm    Post subject: Re: Who determines the LRECL of SORTOUT?
Reply with quote

lee_issc wrote:
But I just want to a FB file with length 10+4.How can I do?
Per your post, OUTREC should decide the LRECL for SORTOUT but what "10+4" means, did you want to say LRECL should be 14?
Back to top
View user's profile Send private message
lee_issc

New User


Joined: 11 Dec 2008
Posts: 33
Location: China

PostPosted: Wed Jan 13, 2010 3:06 pm    Post subject:
Reply with quote

Anuj Dhawan,

Quote:

did you want to say LRECL should be 14?


Yes.FB with LRECL 14.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Jan 13, 2010 10:27 pm    Post subject:
Reply with quote

You can use the following DFSORT control statements to convert your VB file to an FB/14 file.

Code:

 OPTION VLSCMP                                     
 INCLUDE COND=(29,4,CH,EQ,C'U101',OR,               
               29,4,CH,EQ,C'GTG8',OR,               
               29,4,CH,EQ,C'GTG6')                 
 SORT   FIELDS=(17,10,CH,A)                         
 OUTFIL VTOF,BUILD=(17,10,29,4)     
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts WER247A incompatible lrecl Danielle.Filteau SYNCSORT 8 Tue May 02, 2017 4:04 am
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us