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 

How to pass a return code from my PL/I program to JCl

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


Joined: 20 Jun 2005
Posts: 7
Topics: 4

PostPosted: Thu Mar 02, 2006 2:31 am    Post subject: How to pass a return code from my PL/I program to JCl Reply with quote

Hi,

I need to pass a return code from my PL/I program to the JCL. Is this possible, & if yes, how so?

Basically I need to execute the next step of my JCL only under some particular instances, which is set inside the program(exeuted in the pervious step of JCL). Hence if I dont want the step to get executed, I shall pass a return code(say 8) from the progam to JCL. & the step 2 of JCL runs only when return code of previous step is less than/equal to 4.

Thanks in advance,
Shashi
Back to top
View user's profile Send private message
shashi0505
Beginner


Joined: 20 Jun 2005
Posts: 7
Topics: 4

PostPosted: Thu Mar 02, 2006 2:37 am    Post subject: Reply with quote

opps.. the text should have read as " I shall pass a return code(say 8 ) from .. " ...sorry about that...
Back to top
View user's profile Send private message
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Thu Mar 02, 2006 3:23 am    Post subject: Reply with quote

I really hope that, in these times with all those fine manuals available, you are searching other thing than: PLIRETC
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