IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is L3 value of SORTIN LRECL means?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Mon Jun 07, 2010 7:22 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 07, 2010 7:36 pm
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: 2146
Location: At my coffee table

PostPosted: Mon Jun 07, 2010 7:56 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Dynamic Sortin DD cards SYNCSORT 8
No new posts A command to change LRECL of an exist... JCL & VSAM 7
No new posts Puzzled about output LRECL DFSORT/ICETOOL 4
Search our Forums:

Back to Top