Does record length parameters near the dummy file

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Aashiq
Member
Posts: 15
Joined: Mon Mar 29, 2010 2:19 pm
Location: India

Does record length parameters near the dummy file

Post by Aashiq » Fri Dec 09, 2011 12:08 am

Hi,

I have run a test job recently which failed with following abend

CSF5318W - LOGICAL PAGE WIDTH TOO SMALL
CSF5324E - OUTPUT RECORD LENGTH TOO SMALL
STREAM NAME: BILL DDNAME: SUMMG CSF5255F - RUN TERMINATING DUE TO REPORT ERROR

The part of JCL I have used while submitting this job is

//SUMM DD DSN=xxx.d234,UNIT=DISK,
// DISP=(NEW,CATLG,DELETE),SPACE=(512,(20,20),RLSE),
// AVGREC=K,DSORG=PS,DATACLAS=DATAV,LRECL=512,RECFM=VBA
//SUMMG DD DUMMY


So to clear out this error.

I have modiified the above Dummy part as below

//SUMMG DD DUMMY,DATACLAS=DATAV,LRECL=512,RECFM=VBA

After that Job has run fine.

I request you to let me know, is that recl parameters really matters near this kind of DUMMY files.
"Helping hand is better than praying lips"

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Fri Dec 09, 2011 2:36 am

normally i only have to provide a space parm.
depends on your site set-up, i believe.

as far a does it matter?
obviously.
your site requires a minimum of parameters for a dd statement when it involves DUMMY
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Aashiq
Member
Posts: 15
Joined: Mon Mar 29, 2010 2:19 pm
Location: India

Post by Aashiq » Fri Dec 09, 2011 4:29 am

Firstly, THanks for your clarification.

but there are cases where I have run jobs without parameters near DUMMY files in the same environment

will it differs according to the program.. please advise
"Helping hand is better than praying lips"

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Fri Dec 09, 2011 5:10 am

don't know, never bothered to find out.
i just code all dd parms required for a DUMMY
regardless of what i am invoking / cobol program, sort, etc...

but i would venture a guess and say that it is not program dependent,
because the error occurs prior to invocation of the pgm/utility.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Dec 09, 2011 9:32 am

Suggest the best information would be gotten from your storage management people. While almost every system has "rules" they are not always obvious or consistent . . .
Have a good one

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Dec 09, 2011 2:09 pm

It's all in the manuals - because no I/O is performed to the dummy data set, the system checks the SPACE and DISP parameters, if coded, for syntax, then ignores them. If you code UNIT with DUMMY, the system will ignore it if the specified unit name is syntactically correct and defined to the system. Otherwise the system terminates the job.

The DUMMY parameter specifies that no device is to be allocated to this DD statement and that no disposition processing or I/O is to be done. All other JCL parameters on a DUMMY DD statement have to be syntactically correct.
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others