On Fri, 4 Dec 2020 14:38:29 -0800, Ed Jaffe wrote:
>On 11/24/2020 8:35 AM, Elaine Beal wrote:
>> I thought you had to have the new parm but i can ALLOC a new dsn under
>> another id without it.
>
>New is the default in JCL. Maybe on ALLOC too!
>
From: z/OS: TSO/E Command Reference (They don't make it easy to remember):
If you do not specify OLD, SHR, MOD, NEW, or SYSOUT, a default value is
assigned or a value is prompted for, depending on the other operands specified:
• If the LIKE operand or any space operands (SPACE, DIR, BLOCK, BLKSIZE,
AVBLOCK, TRACKS, or CYLINDERS) are specified, then the status defaults to NEW.
• If the COPIES operand is specified, then the status defaults to SYSOUT.
• If the DATASET/DSNAME operand is entered without the LIKE operand or any
space operands, then the status defaults to OLD.
• If the LIKE operand, the DATASET/DSNAME operand, and the space operands are
all omitted, you are prompted to enter a status value.
In JCL, MOD may not have exactly the desired behavior. Sometimes
I've resorted to:
//HANDLE DD DISP=(MOD,CATLG),SPACE...
//SYSUT2 DD DISP=OLD,DSN=*.HANDLE,VOL=REF=*.HANDLE
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN