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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find or access the current level of a gdg?

495


How to code the db2 queries using rexx?

591


can oorexx run ibm object rexx programs?

612


I have one input file and some 40 tables, I want to read input file and compare the input file value with the table value if it is present then we have to update with new value, this should be repeated for all 40 tables and we are reading only one input file, for this is there any REXX program or job or routine to accomplish above requirement. components of the requirements; 1. One input file 2. 40 DB2 tables 3. we have to read from the input file and compare with table value, if present then update with new value (this should be recurssive for all 40 tables for every record of input file). 4. quick help is appreciated.

2016


is oorexx compatible with rexx?

576






What is the difference between ooRexx and IBM's Object REXX for Windows?

551


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

613


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

593


Can I cleanly uninstall oorexx?

586


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

585


i want new rexx tool which will perform jcl chk without submitting it

1604


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?

549


What is the use of uni-rexx?

555


How to run my rexx exec?

571


for which platforms is uni-rexx available?

578