I'm not sure.
I wouldn't add volume and unit for an allocation for an existing dataset.

Gadi

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Itschak Mugzach
Sent: יום ד 20 מרץ 2024 10:28
To: [email protected]
Subject: Re: TSO ALLOC with/wo unit

[You don't often get email from [email protected]. 
Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

GAdi,

Does this rule apply to existing datasets? The allocation request was for 
existing datasets not new.

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and 
IBM I **|  *

*|* *Email**: [email protected] **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: http://www.securiteam.co.il/  **|*





On Wed, Mar 20, 2024 at 9:17 AM Gadi Ben-Avi <[email protected]> wrote:

> As far as I know, If you do not specify a UNIT Type, it will look for
> volumes that are STORAGE.
> If there aren't any, the allocation will fail.
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On
> Behalf Of ITschak Mugzach
> Sent: יום ד 20 מרץ 2024 08:57
> To: [email protected]
> Subject: TSO ALLOC with/wo unit
>
> [Some people who received this message don't often get email from
> [email protected]. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> 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
>

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