View previous topic :: View next topic
|
Author |
Message |
feellikeneo
New User
Joined: 19 Mar 2007 Posts: 73 Location: Chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
feellikeneo
New User
Joined: 19 Mar 2007 Posts: 73 Location: Chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
feellikeneo
New User
Joined: 19 Mar 2007 Posts: 73 Location: Chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
feellikeneo
New User
Joined: 19 Mar 2007 Posts: 73 Location: Chennai
|
|
|
|
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 |
|
|
Harsh Pawar
New User
Joined: 04 Jun 2008 Posts: 25 Location: Noida
|
|
|
|
I know i am replying to a very old post
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Going back through the years, 150 was the usual minimum standard record length for print output, usually 150x88, duplexed. |
|
Back to top |
|
|
|