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 

Ways of passing parameters (values) 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
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Sat Dec 09, 2006 12:00 am    Post subject: Ways of passing parameters (values) to JCL ? Reply with quote

How can parameters or values be passed from COBOL program to JCL ? I am not talking about writing records with help of COOBOL in files used in JCL.
Back to top
View user's profile Send private message Send e-mail
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Sat Dec 09, 2006 6:05 am    Post subject: Reply with quote

You can pass the value in the RETURN-CODE register from the program back to the calling JCL.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Dec 09, 2006 10:41 am    Post subject: Reply with quote

As is often repeated here, JCL is not a programming language. All values are interpreted before any programs are started. Your only options are using return codes or some shared resource (files or data base entries usually) that all steps read and write, but that has nothing to do with JCL per se.
Back to top
View user's profile Send private message Visit poster's website
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