| View previous topic :: View next topic |
| Author |
Message |
karunkallore Beginner
Joined: 11 Dec 2004 Posts: 103 Topics: 39
|
Posted: Tue Feb 08, 2005 5:55 pm Post subject: Help in Creating Deleting and Creating GDG in a REXX routine |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Feb 09, 2005 6:04 am Post subject: |
|
|
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 |
|
 |
karunkallore Beginner
Joined: 11 Dec 2004 Posts: 103 Topics: 39
|
Posted: Thu Feb 10, 2005 9:16 pm Post subject: |
|
|
| Thank you very much Buddy !! |
|
| Back to top |
|
 |
|
|
|