MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NEEDED PROC STEP EXECUTE TWICE...

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
prasanth_thavva
Beginner


Joined: 14 May 2006
Posts: 40
Topics: 18

PostPosted: Thu Jan 10, 2008 11:57 pm    Post subject: NEEDED PROC STEP EXECUTE TWICE... Reply with quote

Hi,

I have proc which i need to run for twice for 2 of same parameters , is it possible.

Like ..

PROC1 EXEC
STEP1 -- Sorting.

i am calling this proc in JCL.

JCLSTEP EXEC PROC1/
wanna run the step1 twice for different parameters , is it possible plz confirm me.
_________________
Thanks&Regards
Prasanth Thavva
Back to top
View user's profile Send private message Send e-mail
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Fri Jan 11, 2008 12:48 am    Post subject: Reply with quote

prasanth_thavva,

You can code like below in your JCL.
Code:
//JCLSTEP1 EXEC PROC1
//JCLSTEP2 EXEC PROC1


If you have some other steps other than STEP1 in the PROC1, you can make them non executable using COND parameter.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group