Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



i want to code a rexx program in order to get the inputfile and output files of jcl. i want code ..

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

Post New Answer

More REXX Interview Questions

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?

0 Answers  


Enlist the features of rexx as a programming language.

0 Answers  


What does the sample library of uni-rexx consist of?

0 Answers  


what is uni-rexx?

0 Answers   IBM,


What are the various error conditions seen in rexx?

0 Answers  


How do I access data held on the JES spool?

3 Answers   TCS,


How to run my rexx exec?

0 Answers  


is oorexx compatible with rexx?

0 Answers   IBM,


does uni-rexx give me any capabilities designed specifically for the unix environment?

0 Answers   IBM,


What are various loop types supported by rexx?

0 Answers  


can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?

0 Answers   IBM,


why is there no os/2 (ecs) port of oorexx?

0 Answers   IBM,


Categories