Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is L3 value of SORTIN LRECL means?

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

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Mon Jun 07, 2010 5:35 pm    Post subject: What is L3 value of SORTIN LRECL means?
Reply with quote

I came across the below statement in DFSORT reference material.

The length of the INREC/OUTREC record (reformatted length) is not used to determine the LRECL of SORTOUT. If not specified in the DSCB or DD statement, the value for SORTOUT LRECL is determined in the usual way (that is, from the L3 value or SORTIN LRECL). If the reformatted length does not match the SORTOUT LRECL, padding/truncation of the output records is performed, if possible.

What is this L3 value and how is it determined?
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Jun 07, 2010 7:22 pm    Post subject:
Reply with quote

I failed to find it in the z/OS V1R11.0 DFSORT Application Programming Guide but since I remember it from VSE I tried the DFSORT/VSE Application Programming Guide....

4.3.6.3 At Output (E35 User Exit)
Altering Records: You can add, modify, or delete fields anywhere in the records. If the maximum length of the records is changed, the modified length must be specified by the L3 value in the RECORD control statement, unless ADDROUT, ADDROUT=D operand or INREC, or OUTREC control statement is specified.
Deleting Records: Any unwanted records can be deleted.
Inserting Records: Records can be inserted at any time but your user exit routine must insert them in the correct sequence.


L3
Output record length after E35 user exit routine. For variable-length records, maximum record length after E35 user exit routine.
Notes:
1. L3 is ignored if E35 user exit routine is not used.
2. An accurate value for L3 must be specified if E35 user exit routine changes the record length.
Default: L2 for a sort, or L1 for a merge and copy.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Mon Jun 07, 2010 7:36 pm    Post subject:
Reply with quote

Try section 3.15 of the Programming Guide, RECORD statement, LENGTH option -- L3 is described there.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Jun 07, 2010 7:56 pm    Post subject:
Reply with quote

Robert Sample wrote:
Try section 3.15 of the Programming Guide, RECORD statement, LENGTH option -- L3 is described there.
Thanks, I knew what L3 was for, but since I usually search the index and the z/OS index is a bit lacking, I missed it.
Back to top
View user's profile Send private message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Tue Jun 08, 2010 8:45 am    Post subject:
Reply with quote

Thanks to both of you.
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 PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts Referback the DCB of SORTIN while usi... venksiv CLIST & REXX 7 Tue Mar 15, 2016 5:47 pm
No new posts SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 pm
No new posts Null Indicator value -2 means in Embe... deepak_shrivastava DB2 2 Wed Jan 06, 2016 10:27 pm
No new posts Concatenate different LRECL GDG's Rohit Umarjikar DFSORT/ICETOOL 6 Wed Nov 18, 2015 3:30 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us