Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

CLIST & REXX :: Rexx to create GDG by scanning JJ result

$
0
0
Author: krish.deepu
Subject: Rexx to create GDG by scanning JJ result
Posted: Tue Oct 25, 2016 5:32 pm (GMT 5.5)

Hi,

Requirement:
Develop a REXX edit macro to create GDGs.

I've a JCL and PROC. This PROC will be called by different JCLs in various regions. I would like to create an edit macro which can create the required GDGs. This macro can be invoked from JCL.

One thought (which might not be ideal) which I got is, that when we invoke the JJ tool, we would get the GDG base missing error. WHy this approach, coz - The PROC will have HLQ and some part of the GDG name passed as symbolic parameter from JCL (since it changes for different regions).

Is there any way I can trap those message and then parse those for GDG base and then create it? If yes, could you please let me know how can it be acheived. Or else a better solution.?

Thanks !


Viewing all articles
Browse latest Browse all 8500

Trending Articles