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
 

 

Why my SYSOUT DSN LRECL is overridden

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Why my SYSOUT DSN LRECL is overridden
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jan 04, 2008 1:45 pm    Post subject: Reply to: SYSOUT LRECL
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jan 04, 2008 2:49 pm    Post subject: Reply to: SYSOUT LRECL
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jan 04, 2008 3:22 pm    Post subject: Reply to: SYSOUT LRECL
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    Post subject:
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jun 26, 2009 6:56 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Jun 26, 2009 7:01 pm    Post subject: Reply to: SYSOUT LRECL
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
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 SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 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