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 

Search found 1 match
MVSFORUMS.com Forum Index
Author Message
  Topic: How to pass parameters to a C program through a JCL
vinay

Replies: 1
Views: 1609

PostForum: Job Control Language(JCL)   Posted: Tue Nov 11, 2003 12:57 am   Subject: How to pass parameters to a C program through a JCL
Hi Vani,

Just pass it using the PARM parameter in the EXEC step.

//STEP1 EXEC PGM=MYCPGM,PARM='&CREATOR'

Well, you could code your main as 'main(creator)' or something like that and make sur ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group