View previous topic :: View next topic |
Author |
Message |
mainframe Beginner
Joined: 09 Mar 2005 Posts: 1 Topics: 1
|
Posted: Wed Mar 09, 2005 1:35 am Post subject: Unable to allocate multiple members in a PDS in REXX program |
|
|
Hi Ive this code to create a PDS in a REXX program.
[code:1:9c344ef8e5]
"ALLOCATE DSNAME ('"OUTFILE2"') DDNAME(FOUTDLIB)
DATACLAS(STANDARD)
DSORG(PO) RECFM(F,B) LRECL(080) SPACE(1000,10) BLOCK(5) BLKSIZE(800)
CATALOG"
|
|
Back to top |
|
|
Steve Coalbran Beginner
Joined: 09 Mar 2005 Posts: 22 Topics: 0 Location: Stockholm, Sweden
|
Posted: Wed Mar 09, 2005 7:01 am Post subject: |
|
|
"ALLOCATE DSNAME ('"OUTFILE2"(QUIESCE)') DDNAME(FOQUIESC) MOD REUSE"
you need to add REUSE or FREE the DS or DDname beforehand |
|
Back to top |
|
|
Steve Coalbran Beginner
Joined: 09 Mar 2005 Posts: 22 Topics: 0 Location: Stockholm, Sweden
|
Posted: Wed Mar 09, 2005 7:04 am Post subject: |
|
|
is FOUTDILB the same as FOUTLIBD? or just a typo? |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Wed Mar 09, 2005 9:35 am Post subject: |
|
|
I don't think you want MOD either. Try it with SHR. _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
|
|
|