What I need is I have to find all the new gdgs that will be created as a result of running a JCL program. All these new gdgs will be prefixed by '&GEN' .So I have to write a macro which will display(through SAY) all these GDGS on running my macro program . I need the code for that. Could anyone please help?
Joined: 14 Mar 2007 Posts: 8593 Location: Back in jolly old England
What I need is I have to find all the new gdgs that will be created as a result of running a JCL program
Why on earth would you even want to know that information - except for possibly creating a JOB (NOT JCL) and dataset cross reference, but then you would also need a whole load more info than you have asked for to accomplish that.
The question does make me want to ask if this is a homework task, especially as you have started a second thread on the same topic.