On Tue, 24 Nov 2020 10:35:40 -0600, Elaine Beal <[email protected]> wrote:

>I give up :), asking for help
>
>Defining a new user and logon proc issues
>
>SET &DSNAME = &SYSUID..ISPTABL       
>ALLOC FI(ISPPROF) SHR  DA('&DSNAME.')
>
>the dsn is new and evidently the alloc fails
>
>but i can manually alloc a new dsn without the new parm (under another ID)
>
>if I try a manual allocate with the failing ID (and no new parm), it fails with
>
>ALLOC FI(ISPPROF) SHR  DA('gayleyc.isptabl')                            
> DATA SET GAYLEYC.ISPTABL NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED 
> ENTER DATA SET NAME -                                                  
>
>I thought you had to have the new parm but i can ALLOC a new dsn under another 
>id without it.
>
>The ALLOC proc works on another LPAR.

Why are you saying SHR? That indicates that the data set already exists. 

If this was in JCL, NEW would be the default if you don't say NEW, OLD, or SHR. 
But if you say SHR the data set must already exist. I don't know if TSO will 
similarly default to NEW if you omit SHR, but it seems correct for it to 
complain if you say SHR when the data set does not exist.

-- 
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to