How do I find or access the current level of a GDG?

Answers were Sorted based on User's Feedback



How do I find or access the current level of a GDG?..

Answer / shakila vinayagam

Use Outtrap() on the output of TSO LISTCAT.

Is This Answer Correct ?    4 Yes 0 No

How do I find or access the current level of a GDG?..

Answer / rainer bartosch

You may use this

CALL BPXWDYN "ALLOC DD(ddn) SHR DSN('"gdg"(0)') RTDSN(GDGN)"

Afterwards GDGD contains the name of the actual gdg data
set.

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More REXX Interview Questions

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??? I want code snippet or the coding for this , please

1 Answers  


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

1 Answers   IBM,


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???

1 Answers  


is there an aix version of oorexx?

1 Answers   IBM,


How do I access data in control blocks such as jobname?

1 Answers  


How to code the db2 queries using rexx?

1 Answers  


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.

1 Answers  


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

1 Answers  


how to access data in control blocks such as jobname?

1 Answers   IBM,


How do I pass parms to my ISPF Edit macro

2 Answers   Wipro,


Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?

1 Answers  


What are various loop types supported by rexx?

1 Answers  


Categories