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
 
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 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
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am

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