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

Why my SYSOUT DSN LRECL is overridden


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Fri Jan 04, 2008 1:41 pm
Reply with quote

Hi Friends,

I am trying to run a DFSRRC00 utility using by JCL. I require the spool output to be moved to a DSN. When I define a Sysout DSN as

Code:
SYSOUT   DD  DSN=<MY DSN>,
DISP=(NEW,CATLG,DELETE),
DCB=(RECFM=FB,LRECL=133)



But even though my SYSOUT DSN come with a LRECL as 121..

Any idea why my SYSOUT DSN LRECL is overridden??
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Jan 04, 2008 1:45 pm
Reply with quote

because the program writing it, explicitly uses a dcb with a record lenght of 121

For historical reasons most of the IBM utilities system programs
still use a sysprint/sysout/call_it_anything_you_want 121 record lenght

Once upon a time printers with 132 print positions were expensive...
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Fri Jan 04, 2008 2:35 pm
Reply with quote

hi e.s,

Does this mean DFSRRC00 uses 121 explicitly or the program that i run uses LRECL 121.. I checked my program and i don't limit or override the SYSOUT LRECL.

Please clarify.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Jan 04, 2008 2:49 pm
Reply with quote

Quote:
Please clarify.


without further info on the program You are running, what are the ddnames used
and a few info on the environment ( calling sort maybe ??)

there is very little to clarify ....
somewhere Your "sysout dd" thing gets a 121 lrecl
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Fri Jan 04, 2008 3:11 pm
Reply with quote

My program just reads a IMS database and writes a set of records to a file.
I am sure that my program does not override the SYSOUT LRECL and also my JCL does not override it to 121.

I have earlier tried to run a program using IKJEFT01 and my sysout dd file had LRECL of 133 as expected.

I want to know if DFSRRC00 by itself overrides the LRECL to 121.

I am not sure what sort of environment information i can provide to you. I will be pleased to provide as much info as i can. Please let me know what info i should give.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Jan 04, 2008 3:22 pm
Reply with quote

there is very little I can add..
but You did not answer the question bout SORT
check this link for hints
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igya1101/7.3.1?ACTION=MATCHES&REQUEST=sysout+%26+lrecl&TYPE=FUZZY&SHELF=IGYSH212.bks&DT=19930312141355&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
feellikeneo

New User


Joined: 19 Mar 2007
Posts: 73
Location: Chennai

PostPosted: Fri Jan 04, 2008 4:03 pm
Reply with quote

no my program /JCL does not use any sort.

by going through the link it seems IBM by default gives LRECL as 121. But how come i am able to override in IKJEFT01 and not in DFSRRC00
Back to top
View user's profile Send private message
Harsh Pawar

New User


Joined: 04 Jun 2008
Posts: 25
Location: Noida

PostPosted: Fri Jun 26, 2009 6:45 pm
Reply with quote

I know i am replying to a very old post icon_smile.gificon_smile.gif

I was just curious to know if there is a way by which we can write more than 133 LRECL data in SYSOUT.

Most of the times i see the spool data has LRECL of 133 bytes.
My requirement is to use 150 LRECL spool.

Regards,
Harsh
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: Fri Jun 26, 2009 6:56 pm
Reply with quote

Code:
//DDNAME   DD   SYSOUT=*,DCB=LRECL=150
works just fine. Of course, if your printer cannot handle more than 132 characters of print then you're not going to see it on output, just in your spool -- but the system will still do it.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 26, 2009 7:01 pm
Reply with quote

Going back through the years, 150 was the usual minimum standard record length for print output, usually 150x88, duplexed.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts DFSORT - VB file RDW getting overridden DFSORT/ICETOOL 3
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts No sysout coming in spool JCL & VSAM 4
No new posts Control M features to check string in... Compuware & Other Tools 1
Search our Forums:

Back to Top