Page 1 of 1

Access data in control blocks, like from Jobname?

Posted: Wed Dec 23, 2015 2:31 pm
by Paramhans
Hi,

Can anyone be of help. How can I access data which reside in control blocks, for example as jobname, in REXX? Are there some specific controls given in REXX for this or we need to write a series of commands for this? May I am confusing you but that's why I am asking.

Re: Access data in control blocks, like from Jobname?

Posted: Wed Dec 23, 2015 3:14 pm
by nicc
Why not search? There was one question on this recently - maybe not on this forum but examples are "out there". Find them and understand them. You will need to refer to a manual or two (other than the Rexx labguage reference or other "end-user" orientated manuals). On the other hand - you could just use these without understanding them but you will not be able to play with them to get other information.

Re: Access data in control blocks, like from Jobname?

Posted: Mon Dec 28, 2015 12:11 pm
by Paramhans
There is one example in this post Can we capture JOBNAME through the COBOL program?. I am trying to do a similar approach in REXX. Doing my work will post back if I get something working.