IBM REXX Question:

Download Job Interview Questions and Answers PDF

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.

Download IBM REXX Interview Questions And Answers PDF

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