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
 

 

Temporary dataset with DISP=(NEW, CATLG,CATLG)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
mayank rajput

New User


Joined: 01 Nov 2005
Posts: 3
Location: hyderabad

PostPosted: Wed Nov 08, 2006 8:39 am    Post subject: Temporary dataset with DISP=(NEW, CATLG,CATLG)
Reply with quote

hi friends,
I m facing a problem :

1. that i m in production support and a production job contains 5 steps and the 3rd step having a DISp=(NEW, CATLG, DELETE), AND AT THIS THIS STEP job abends then how i recover that dataset.

2. A step having a temporary dataset with DISP=(NEW, CATLG,CATLG) WHAT WILL HAPPEND IF JOB RUNS SUCCESSFULLY.

3. THER R 10 STEPS I N A JOB , ACCORDING TO REQUEST I WANT TO EXECUTE ONLY STEP 5 AND STEP 10 HOW COME IT IS POSSIBLE.

mayank
Back to top
View user's profile Send private message

rini

New User


Joined: 16 May 2006
Posts: 6

PostPosted: Wed Nov 08, 2006 9:22 am    Post subject:
Reply with quote

hi

For your first query change the disp parameters as DISP=(NEW,CATLG,CATLG). Even if abend occurs the dataset will be catalogued and you could view it.

Using INTRDR you could execute step 5 and step 10. this particular topic has been discussed already in the forum.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Nov 08, 2006 9:27 am    Post subject: Re: JCL queries
Reply with quote

Quote:
1. that i m in production support and a production job contains 5 steps and the 3rd step having a DISp=(NEW, CATLG, DELETE), AND AT THIS THIS STEP job abends then how i recover that dataset.

You can't.
DISP=(Current Status, Status after Normal Completion, Status after Abnormal Completion)
Now as per your DISP statement, This dataset would be deleted in case this steps terms abnormally.
Quote:
2. A step having a temporary dataset with DISP=(NEW, CATLG,CATLG) WHAT WILL HAPPEND IF JOB RUNS SUCCESSFULLY.

PASS or DELETE are the valid normal termination parameter for Temp Datasets.
Quote:
3. THER R 10 STEPS I N A JOB , ACCORDING TO REQUEST I WANT TO EXECUTE ONLY STEP 5 AND STEP 10 HOW COME IT IS POSSIBLE.

A number of ways. Using combination or RESTART and COND Parameter. Or use IEBEDIT to random execution of the steps.
Search the forum for this you'll get the results.
Back to top
View user's profile Send private message
mayank rajput

New User


Joined: 01 Nov 2005
Posts: 3
Location: hyderabad

PostPosted: Fri Nov 10, 2006 5:44 pm    Post subject: Hi priyesh
Reply with quote

Hi priyesh ,
Thanks for ur valuable asnwers.

Mayank
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 -> Mainframe Interview Questions 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 To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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