MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help in Creating Deleting and Creating GDG in a REXX routine

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
karunkallore
Beginner


Joined: 11 Dec 2004
Posts: 103
Topics: 39

PostPosted: Tue Feb 08, 2005 5:55 pm    Post subject: Help in Creating Deleting and Creating GDG in a REXX routine Reply with quote

Dear friends,

Can you please tell me a way for the following requirement :-


To delete and allocate a GDG in a REXX routine itself. I cannot call a submit a JCL via REXX. The GDG has to be deleted and created in the REXX routine itself.


Please help !!

karun !!!
Back to top
View user's profile Send private message Send e-mail
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Feb 09, 2005 6:04 am    Post subject: Reply with quote

OK, so delete and allocate the datasets:
Code:

/* REXX */
"DELETE 'MYHLQ.MYGDG.G0001V00'"

Code:

/* REXX */
"ALLOC DD(ddname) DA('MYHLQ.MYGDG.G0001V00') NEW CATALOG
 REUSE RECFM(F B) LRECL(80) BLKSIZE(0) SPACE(10,10) CYLINDERS
 RLSE"

For more information on the TSO DELETE and ALLOCATE commands, see the appropriate HELP information by entering HELP DELETE or HELP ALLOCATE.

Relative generation processing (0, +1, -1, etc.) is only possible in the batch environment.
Back to top
View user's profile Send private message
karunkallore
Beginner


Joined: 11 Dec 2004
Posts: 103
Topics: 39

PostPosted: Thu Feb 10, 2005 9:16 pm    Post subject: Reply with quote

Thank you very much Buddy !!
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group