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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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