Pass parameter from JCL to a FOCUS program.

Datacom, IDMS, Adabas, Oracle, FOCUS, NOMAD, TOTAL/SUPRA/ULTRA, Model 204, SQL/DS.
Post Reply
Rajat Singh
Registered Member
Posts: 12
Joined: Tue Dec 02, 2014 9:46 am

Pass parameter from JCL to a FOCUS program.

Post by Rajat Singh »

Hi,

How do we pass the parameters from JCL to FOCUS program? Can you please share some sample?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Pass parameter from JCL to a FOCUS program.

Post 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.
Regards
Nic
Rajat Singh
Registered Member
Posts: 12
Joined: Tue Dec 02, 2014 9:46 am

Re: Pass parameter from JCL to a FOCUS program.

Post 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.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 825
Joined: Wed Sep 11, 2013 3:57 pm

Re: Pass parameter from JCL to a FOCUS program.

Post 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:
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 8-)
Rajat Singh
Registered Member
Posts: 12
Joined: Tue Dec 02, 2014 9:46 am

Re: Pass parameter from JCL to a FOCUS program.

Post 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.
User avatar
Anuj Dhawan
Founder
Posts: 2799
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Pass parameter from JCL to a FOCUS program.

Post by Anuj Dhawan »

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.
Post Reply

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

Register

Sign in

Return to “Other Databases on zOS.”