View previous topic :: View next topic |
Author |
Message |
yatri Beginner
Joined: 23 Aug 2005 Posts: 12 Topics: 10
|
Posted: Tue Oct 18, 2005 4:29 am Post subject: creation of new dataset using REXX |
|
|
hi,
is it possible to create a new pds without using 'using' clause, specifying its dcb parameters? _________________ Thanks,
Gayatri. |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Oct 18, 2005 4:48 am Post subject: |
|
|
I am not sure, about the 'using' clause. Here is how you can allocate a PDS in REXX.
Code: |
/* REXX */
"alloc fi(mypds) da("TEST.MYPDS") new recfm(f,b) dsorg(po) " ,
"lrecl(80) blksize(27920) space(1,1) dir(1) cylinders"
say 'rc : ' rc
exit
|
_________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Oct 18, 2005 12:18 pm Post subject: |
|
|
Cogito-Ergo-Sum showed you how to do it. I would add that USING is actually quite archaic and hasn't been needed since the early days of MVS. It still works, and has some occasional use but you rarely see it anymore. |
|
Back to top |
|
 |
|
|