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

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


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Wed Nov 08, 2006 9:27 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


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