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

Running only the first Step of the PROC which has 10 steps


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subbprem

New User


Joined: 20 Apr 2005
Posts: 9
Location: Chennai

PostPosted: Mon Jul 11, 2005 3:17 pm
Reply with quote

Hi All,

There is a proc with some 10 steps.. and that proc is being called from JCl..

Suppose there is a one time requirement, which says that only first step of the Proc needs to be run and we are not supposed to change the proc..

So in this case what could be changes or solution...

Regards,
Prema.
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Mon Jul 11, 2005 4:49 pm
Reply with quote

Hi Prema,

To achieve this you can code the COND parameter in your jobcard in such a way that the condition you code is going to be true always.
So that the first step of the job will always get executed and after that the
execution will stop..

for example.
COND=(4095,GE)

suggestions are welcome.

regards,
David.
Back to top
View user's profile Send private message
subbprem

New User


Joined: 20 Apr 2005
Posts: 9
Location: Chennai

PostPosted: Tue Jul 12, 2005 4:52 pm
Reply with quote

Hi David,

Thanks for ur reply...

But my question was how to execute first step(alone) in proc not in the job.

I hope you will get my qn clearly.

Regards,
Prema.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Tue Jul 12, 2005 5:12 pm
Reply with quote

Check the links....

http://ibmmainframes.com/viewtopic.php?t=3533
http://ibmmainframes.com/viewtopic.php?t=1382

Regards,

Priyesh.
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 Running REXX through JOB CLIST & REXX 13
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts CA7 deleting files in steps after job... CA Products 4
Search our Forums:

Back to Top