I would put a LISTC ENT for the dataset before the allocation 
If RC > 0 Then write out some diagnostics


Not sure why people are still writing in CLIST rather than using REXX.  But to 
each their own


Lizette


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Elaine Beal
Sent: Tuesday, November 24, 2020 9:36 AM
To: [email protected]
Subject: Unable to ALLOC dsn without new

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.


Thanks,
Elaine

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

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

Reply via email to