IBM REXX Question:

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

IBM REXX Interview Question
IBM REXX Interview Question

Answer:

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.


Previous QuestionNext Question
How to access data in control blocks such as jobname?How to Run My Rexx Exec?