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 in RC check

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Wed Aug 13, 2008 12:45 pm    Post subject: Problem in RC check
Reply with quote

I have a JCL calling 2 Procs total with 150 Steps
First PROC 110 steps
In 103 Step and 105th step its copying a 2 file to take a backup.

I need to Refer these 103 and 105th steps of FIRST proc in my second and if successful completed then I need to continue to do the further processing.

but the problem is if any steps added in between then need to change the second proc also.

the Input file to take the backup can have empty also.. so the backup also can be empty..

how to make this in simpler way...?
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Aug 13, 2008 1:16 pm    Post subject:
Reply with quote

Hi,

- For empty file, you can code a step using IDCAMS/SORT, based upon the RC of this step you can EXECute the "back-up" step, with COND.

Quote:
but the problem is if any steps added in between then need to change the second proc also.

- Do you add "other" steps just after 103 ? If so, probably giving a different name to this step or keeping the step number big enough so that it doesn't need any cahange even if some other step is sandwiched, might help..
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: Wed Aug 13, 2008 9:49 pm    Post subject:
Reply with quote

Hello,

A re-design would probably be a good idea.

A new implementation using the scheduling system my be more servicable and allow reducing the huge number of steps to something more easily understandable and maintainable.
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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