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

problem with temp dataset


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

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Wed Nov 03, 2010 11:56 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Nov 04, 2010 12:09 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Nov 04, 2010 12:10 am
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 04, 2010 12:11 am
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 04, 2010 12:23 am
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 04, 2010 12:25 am
Reply with quote

At least my correction posted first. Thanks Dick.

I still wonder about the RC=009. t5590ag - what's that about please?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Nov 04, 2010 12:25 am
Reply with quote

Hi Phil,

Quote:
Sorry for anyone I may have offended!!

You were just making sure people are paying attention. . . icon_smile.gif

d
Back to top
View user's profile Send private message
t5590ag

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Thu Nov 04, 2010 12:56 am
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 04, 2010 12:58 am
Reply with quote

&& 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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 04, 2010 1:04 am
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 04, 2010 1:06 am
Reply with quote

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
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top