Pass parameter from JCL to a FOCUS program.
-
- Registered Member
- Posts: 12
- Joined: Tue Dec 02, 2014 9:46 am
Pass parameter from JCL to a FOCUS program.
Hi,
How do we pass the parameters from JCL to FOCUS program? Can you please share some sample?
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.
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.
Regards
Nic
Nic
-
- Registered Member
- Posts: 12
- Joined: Tue Dec 02, 2014 9:46 am
Re: Pass parameter from JCL to a FOCUS program.
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.
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Pass parameter from JCL to a FOCUS program.
You mean that in Your organization there is no FOCUS knowledge/support ?In this no one knows the FOCUS so it's all more difficult.

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

-
- Registered Member
- Posts: 12
- Joined: Tue Dec 02, 2014 9:46 am
Re: Pass parameter from JCL to a FOCUS program.
Hi,
Thanks all who tried to help. I have used the below code which worked for me:
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.
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'
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Pass parameter from JCL to a FOCUS program.
Thanks for posting what has worked for you. Appreciate that.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute