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 Posted / 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 |
Post New Answer View All Answers
I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.
How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?
Can I cleanly uninstall oorexx?
How to find or access the current level of a gdg?
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
I want to open particular list of members inside pds.Let me know whether below code will work.if not tell me how it works INPUT='DDM.DATASET(AAA*)' X = OUTTRAP(MEMS.)
i want new rexx tool which will perform jcl chk without submitting it
Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's
What is the difference between ooRexx and IBM's Object REXX for Windows?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
what is uni-rexx?
how to access data held on the jes spool?
have you already used rexx - even for limited purposes? Do you need to maintain a high level of productivity during your transition to unix?
for which platforms is uni-rexx available?
What are various loop types supported by rexx?