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

Answers were Sorted based on User's Feedback



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

Answer / shakila vinayagam

Use Outtrap() on the output of TSO LISTCAT.

Is This Answer Correct ?    4 Yes 0 No

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

Answer / 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

More REXX Interview Questions

I want to remove a duplicates form a given input field using rexx program. please Any one help me out to solve this ... Thanks in Advance.

1 Answers  


I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.

0 Answers  


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

0 Answers  


how to access data in control blocks such as jobname?

0 Answers   IBM,


for which platforms is uni-rexx available?

0 Answers   IBM,






i'm getting error while editing macro, its not even entering into the macro, getting error like 31 *-* "EDIT DATASET('"DSN"("MEM")') MACRO("CHGLINE")" +++ RC(-3) +++ ? any idea why?

1 Answers  


What are the functions available in rexx?

0 Answers  


how to access data held on the jes spool?

0 Answers   IBM,


What is the use of uni-rexx?

0 Answers  


have you already used rexx - even for limited purposes? Do you need to maintain a high level of productivity during your transition to unix?

0 Answers   IBM,


how long does the install of oorexx take?

0 Answers   IBM,


What do unusual return codes such as -3 and 0196 mean?

2 Answers  


Categories