Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 6966
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: 961
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: 961
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: 961
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: 961
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: 7913
Location: Bellevue, IA

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: 1738
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us