Suppose 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?
Answer / Surendrakumar
To get the input and output files specified in JCL (Job Control Language) using REXX, you can use the GET parameter function:
```
/* Get input and output DDNAMEs from JCL */
call parse arg x, "jcl=my_jcl"
get ddname input-file = 'DDname(INPUT)' of 'JCL(JCL)' using x.jcl
get ddname output-file = 'DDname(OUTPUT)' of 'JCL(JCL)' using x.jcl"
```
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I access data in control blocks such as jobname?
How do I find or access the current level of a GDG?
I want to code a REXX Program in order to load many tables in a database simultaneously in a batch fashion. Currently batch codes ar available in which only one job is submitted at a time and this loads only one table. My requirement is that many tables should be loaded at a time when one Job is submitted and can this be done using REXX Tool???
Can I combine uni-REXX with a compiled language in my application? What application programming interfaces are available? For example, can I share variables between uni-REXX and a compiled language?
how to pass parms to ispf edit macro?
what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?
how to access data held on the jes spool?
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.
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
what would I use uni-rexx for?
I just know the Panvalet dataset name, i would like to search all the members of that dataset for particular keyword through Rexx. how to achive? please suggest. Is it possible to open panvalet member in browse mode using Rexx? Your help would be appreciated very much. Thanks in advance.
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.