For TSO allocations I think it depends what is specified in the UNIT parameter 
in your TSO RACF segment. If you have SYSALLDA specified then this will accept 
any DASD device. With a specification of SYSDA however, this will depend on the 
Eligible Device Table entries at the site.

Lennie Dymoke-Bradshaw
https: //rsclweb.com

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
ITschak Mugzach
Sent: 20 March 2024 06:57
To: [email protected]
Subject: TSO ALLOC with/wo unit

I have a program in Rexx that allocates a dataset using dsname and volume 
serial (1) . it works well in my shop but requires a unit type (2) in another 
shop. Actually the error is msg "IKJ56241I SPECIFIED UNIT IS UNDEFINED".
Why does 1 work here and fails in another shop?

   1. ALLOC F(XXX) DA('dsname') VOLUME(volser)
   2. ALLOC F(XXX) DA('dsname') VOLUME(volser) UNIT(390)

ITschak

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring for 
z/OS, x/Linux & IBM I **| z/VM coming soon  *

----------------------------------------------------------------------
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