IBM REXX Question: Download IBM REXX PDF

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

Tweet Share WhatsApp

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 PDF Read All 12 IBM REXX Questions
Previous QuestionNext Question
How to access data in control blocks such as jobname?How to Run My Rexx Exec?