"Michael Knigge" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> All,
> 
> I wonder if one can change the SPACE-Allocation of a DD-Statement at 
> runtime of a program?
> 
> FOO   DD DSN=BLA.FOO,DISP=(NEW,CATLG,DELETE)
>        SPACE=(CYL,(1,1))
> 
>  From my understanding, the dataset is allocated before the job runs 
> (--> before the  step is executed), so I can't change (1,1) so
something 
> other.
> 
> Or am I wrong?
> 
> 
> Thanks,
> Michael

You can always change the secondary allocation before open, like in:
FOO DD DISP=OLD,DSN=BLA.FOO,SPACE=(CYL,(1,10))

Similary I am pretty sure you can change the secondary allocation with
JFCB modification before OPEN and do OPEN TYPE=J.

Kees.
**********************************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee
only. If you are not the addressee, you are notified that no part
of the e-mail or any attachment may be disclosed, copied or
distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries
and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal
Dutch Airlines) is registered in Amstelveen, The Netherlands, with
registered number 33014286 
**********************************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to