GDG AUTOMATION USING REXX

20 pts.
Tags:
Automation
GDG
REXX
Hi ,

 

Can anyone please tell me if there is a rexx code to automate GDG.

If anyone of you have it , kindly post it here.

Thanks

Archana



Software/Hardware used:
rexx
ASKED: January 19, 2010  2:01 PM
UPDATED: January 22, 2010  3:09 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

What do you want to do, what do you want to accomplish?
“REXX code to automate GDGs” doesn’t really say much.
GDGs are pretty automated all by themselves.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Archvimk
    HI, Every time when i give prep to my JCL 's i get errors saying that the GDG's are not built for the datasets.So i go to fileaid everytime to create GDG 's . Now i wan a REXX which will have all the dataset names in it and on execution creates GDG 's for all tjhose datasets. Hope u understand it. Thanks
    65 pointsBadges:
    report
  • Meandyou
    One can define GDG base using IDCAMS. forget REXX for this one. Just use JCL. add something like this to the front of your job:
     //         EXEC PGM=IDCAMS                                             
     //SYSPRINT DD SYSOUT=*                                                 
     //SYSIN    DD *                                                        
       DEFINE GDG (NAME(name of first dataset)   LIMIT(3) NOEMPTY   SCRATCH) 
      DEFINE GDG (NAME(name of  2nd  dataset)   LIMIT(3) NOEMPTY   SCRATCH) 
      DEFINE GDG (NAME(name of another one  )   LIMIT(3) NOEMPTY   SCRATCH)  
     /*   
    
    But the obvious question is who is deleting your GDG definitions? Why aren't they still there? I think you might want to go visit with your storage administrator. Perhaps you are not defining them correctly or placing them improperly or naming them without following certains standards and they are being cleaned up. Datasets just don't go away, usually. You can't live in a world where your stuff just disappears. Talk to your SMS or DASD guy to find out what is happening to your GDGs. Steve
    5,220 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following