Page 1 of 1

Pass parameter from JCL to a FOCUS program.

Posted: Mon Jun 08, 2015 5:58 pm
by Rajat Singh
Hi,

How do we pass the parameters from JCL to FOCUS program? Can you please share some sample?

Re: Pass parameter from JCL to a FOCUS program.

Posted: Mon Jun 08, 2015 9:37 pm
by nicc
Have you tried reading the documentation? If it is possible it will be shown there. Yes, you do have access to the manuals IF your site has a valid licence.

Re: Pass parameter from JCL to a FOCUS program.

Posted: Wed Jun 17, 2015 3:24 pm
by Rajat Singh
I have referred manuals but I did not find a reference as of now. In this no one knows the FOCUS so it's all more difficult.

Re: Pass parameter from JCL to a FOCUS program.

Posted: Wed Jun 17, 2015 3:26 pm
by enrico-sorichetti
In this no one knows the FOCUS so it's all more difficult.
You mean that in Your organization there is no FOCUS knowledge/support ? :shock:

Re: Pass parameter from JCL to a FOCUS program.

Posted: Thu Jul 30, 2015 3:19 pm
by Rajat Singh
Hi,

Thanks all who tried to help. I have used the below code which worked for me:

Code: Select all

//SYSIN      DD * 
EX FOCUS  varaible1='value1', varaible2='value2' 
In this varaible1 and varaible2 are already defined in the FOCUS program. 'value1' and 'value2' are the values I wanted to pass to the program.

Re: Pass parameter from JCL to a FOCUS program.

Posted: Tue Aug 04, 2015 12:15 pm
by Anuj Dhawan
Thanks for posting what has worked for you. Appreciate that.