Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
problem with temp dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: problem with temp dataset
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: 6968
Location: porcelain throne

PostPosted: Thu Nov 04, 2010 12:09 am    Post subject:
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

Site Director


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

PostPosted: Thu Nov 04, 2010 12:10 am    Post subject:
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

Active Member


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

PostPosted: Thu Nov 04, 2010 12:11 am    Post subject:
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

Active Member


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

PostPosted: Thu Nov 04, 2010 12:23 am    Post subject:
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

Active Member


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

PostPosted: Thu Nov 04, 2010 12:25 am    Post subject:
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

Site Director


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

PostPosted: Thu Nov 04, 2010 12:25 am    Post subject: Reply to: problem with temp dataset
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    Post subject:
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

Active Member


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

PostPosted: Thu Nov 04, 2010 12:58 am    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Nov 04, 2010 1:04 am    Post subject:
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: 1777
Location: Bloomington, IL

PostPosted: Thu Nov 04, 2010 1:06 am    Post subject:
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    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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us