IBM REXX Question:
How to find or access the current level of a GDG?
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.
CALL BPXWDYN "ALLOC DD(ddn) SHR DSN('"gdg"(0)') RTDSN(GDGN)"
Afterwards GDGD contains the name of the actual gdg data
set.
Previous Question | Next Question |
How to access data in control blocks such as jobname? | How to Run My Rexx Exec? |