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 

Procs and steps with the same Stepname in 2 diff Procs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
babun
Beginner


Joined: 03 Aug 2005
Posts: 19
Topics: 9
Location: bangalore

PostPosted: Thu Apr 20, 2006 1:44 am    Post subject: Procs and steps with the same Stepname in 2 diff Procs Reply with quote

Hi folks
I have 2 Procs ,,and both Procs running with the same step name called as Step1.
So,If i want to run Step1 from Proc1 ,what should i do?
If i want to run Step1 from Proc2,what should i do?
can we use Step1.Procname?
or any other solution we have?
_________________
babu
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Apr 20, 2006 7:07 am    Post subject: Reply with quote

Quote:

So,If i want to run Step1 from Proc1 ,what should i do?
If i want to run Step1 from Proc2,what should i do?


babun,

You mean RESTART ? or just submit the job? You need to be clear with your requirements

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
babun
Beginner


Joined: 03 Aug 2005
Posts: 19
Topics: 9
Location: bangalore

PostPosted: Fri Apr 21, 2006 6:55 am    Post subject: Reply with quote

Hi Kolusu
If i want to submit the job....not restart..
Babun
_________________
babu
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Apr 21, 2006 7:13 am    Post subject: Reply with quote

babun,

Simple.

If you want to run proc1 use this
Code:

//STEP1     EXEC PROC1


If you want to run proc2 use this

Code:

//STEP2     EXEC PROC2


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
babun
Beginner


Joined: 03 Aug 2005
Posts: 19
Topics: 9
Location: bangalore

PostPosted: Mon Apr 24, 2006 1:59 am    Post subject: Reply with quote

hi Kolusu
If i want to Re-start how can we do ?
Babun
_________________
babu
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
hariavinash
Beginner


Joined: 21 Jan 2005
Posts: 52
Topics: 7

PostPosted: Tue Apr 25, 2006 6:15 am    Post subject: Reply with quote

Restart=stepname.procstepname

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming 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