i want to code a rexx program in order to get the inputfile
and output files of jcl. i want code snippet or the coding
for this , please
Answer / albert n
If you know the ddnames of the files being used, then you
can get the infor via the LISTDSI function.
rc = LISTDSI( ddname "FILE")
If the rc = 0 then the dsname is in de variable SYSDSNAME.
If you do not know the ddnames of the files allocated to
your program, you can get the information via TSO with:
Address TSO "LISTA" or Address TSO "LISTA STATUS"
Set up OUTTRAP first so you can capture the output and via
REXX scroll through it.
The difference between LISTA and LISTA STATUS is that LISTA
will only give the datasetnames of all allocated datasets.
LISTA STATUS will give you the ddname followed by all
datasets that are allocated to the ddname for all the
datasets.
| Is This Answer Correct ? | 0 Yes | 0 No |
can oorexx run normal rexx programs?
I executed one job and I forget to save the final JCL. But took an XDC from SPOOL. Now I want to recover the JCL from XDC dataset. Is there any process to do this?. (Manually it takes a lot of time). Is there
What are various loop types supported by rexx?
How to run my rexx exec?
is there an aix version of oorexx?
how long does the install of oorexx take?
How do I pass parms to my ISPF Edit macro
how to access data in control blocks such as jobname?
Suppose if there are a set of statements and each has a word “value” in it, if I want to display all these statements so that the word “value” is aligned, then how do I code this in rexx?
have you already used rexx - even for limited purposes? Do you need to maintain a high level of productivity during your transition to unix?
How to find or access the current level of a gdg?
If there are a set of statements and each has a word "value" in it, If I want to display all these statements so that the word "value" is aligned, then how do I code this in REXX. e.g - The value of X is Y. Wot is its value? Do u know its value? I want to know its value.