View previous topic :: View next topic
|
Author |
Message |
t5590ag
Active User
Joined: 21 May 2009 Posts: 139 Location: United States
|
|
|
|
hi all, getting a RC= 009 with the following-
9XXUCC7DATA DD DSN=&&UCC7INPT,UNIT=DISK,
XX DISP=(,KEEP),SPACE=(6160,(2,1),RLSE),
XX DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160)
and downwards in the job-
34XXSYSIN DD DSN=&&UCC7INPT,DISP=SHR
9 IEF648I INVALID DISP FIELD- PASS SUBSTITUTED
34 IEF648I INVALID DISP FIELD- PASS SUBSTITUTED
not sure what is the problem with disposition. Job used to run fine till last week.But after an abended instance of it was cancelled, I started getting this error. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
z/OS V1R10.0 MVS JCL Reference: 12.19.7: 12.19.7 Disposition of Temporary Data Sets wrote: |
Specify a normal termination disposition of PASS or DELETE for a temporary data set or for a data set with a system-generated name, that is, when a DSNAME parameter is omitted from the DD statement.
For a temporary data set name, the system ignores any abnormal termination disposition specified in the third subparameter and always PASSes the data set to subsequent steps.
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The DISP parameters are invalid for a temporary dataset. . .
Change the jcl to be whatever is needed. What is there now is not correct.
Obviously something has been changed. . . |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Don't you think knowing what program you are running might be of interest?
Programs issue return codes. and as RC=9 is not an IBM standard, most likely this is your (or your installation's) program.
The program code must (or documentation might) tell you.
Now, re your JCL - you have a DSN starting && - that means temp, so cannot have DISP=NEW, which is what your missing first parm in (,KEEP) defaults to. Suggestion - don't use this default - say NEW. Anyhow, IBM gratiously has replaced this with the only valid DISP - PASS. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
ERROR CORRECTION -
&&temp can of course be NEW - it's the KEEP that was replaced with PASS.
Sorry for anyone I may have offended!! |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
At least my correction posted first. Thanks Dick.
I still wonder about the RC=009. t5590ag - what's that about please? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Phil,
Quote: |
Sorry for anyone I may have offended!! |
You were just making sure people are paying attention. . .
d |
|
Back to top |
|
|
t5590ag
Active User
Joined: 21 May 2009 Posts: 139 Location: United States
|
|
|
|
changed it to
Code: |
//UCC7DATA DD DSN=&&UCC7INPT,UNIT=DISK,
// DISP=(NEW,CATLG,KEEP),SPACE=(6160,(2,1),RLSE), |
still failing..was this one right ? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
&& starts a temp dsname.
Temp means it goes away when finished, so you cannot CATLG or KEEP it.
How's about answering my questions re the program you are running the the purported RC=9. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
t5590ag, does this quote from the JCL Language Reference manual help you?
Quote: |
12.19.7 Disposition of Temporary Data Sets
Specify a normal termination disposition of PASS or DELETE for a temporary data set or for a data set with a system-generated name, that is, when a DSNAME parameter is omitted from the DD statement.
For a temporary data set name, the system ignores any abnormal termination disposition specified in the third subparameter and always PASSes the data set to subsequent steps. |
|
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
No, this is worse; a temp data set cannot be cataloged.
The DDNAME and DSNAME suggest (although such things cannot of course prove) that this job is related to UCC-7. Have you raised an issue with your scheduling workgroup and/or CA? |
|
Back to top |
|
|
|