How do I find or access the current level of a GDG?
Answers were Sorted based on User's Feedback
Answer / shakila vinayagam
Use Outtrap() on the output of TSO LISTCAT.
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
how to pass parms to ispf edit macro?
why is there no os/2 (ecs) port of oorexx?
how long does the install of oorexx take?
what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?
What is the use of uni-rexx?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
What does the sample library of uni-rexx consist of?
How to run my rexx exec?
How do I access data in control blocks such as jobname?
What are various loop types supported by rexx?
Suppose I want to code a rexx program in order to get the inputfile and output files of jcl. I want code snippet or the coding for this?
I am tryin to select one records(SQL) using Rexx.Here is the code ADDRESS DSNREXX "EXECSQL FETCH C1 USING DESCRIPTOR :TBSQLDA" IF SQLCODE = 0 THEN DO LINE = '' DO I = 1 TO TBSQLDA.SQLD LINE = LINE TBSQLDA.I.SQLDATA END I SAY LINE END ADDRESS DSNREXX "EXECSQL CLOSE C1" ADDRESS DSNREXX 'DISCONNECT' i am getting the following errors and also i dont know wr to see the ouput.Can anyone please hlep me in solving this? 28 +++ ADDRESS DSNREXX 'DISCONNECT' Error running DB2REXX, line 28: Incomplete DO/SELECT/IF