2008/4/15 McKown, John <[EMAIL PROTECTED]>:
> I am writing a TSO command processor. One option is to direct output to
>  a dataset. In support of this, for new datasets, I would like to support
>  the parms LIKE(existing.ds.name) and USING(attr-list).

Good idea!

>   I can see the DALLIKE key for the LIKE parameter. I cannot see anything 
> that relates
>  to the USING(). I can find something in IKJDAIR for USING() but not for
>  LIKE(). From reading about the ATTRIB command in the TSO/E book, it
>  seems that this creates a DD statement with the given name. Does this
>  mean that I should use the DALDCBDD key to implement USING(...)?

I was thinking you'd use DALDCBDS to take DCB info from a DSNAME, and
DALDCBDD to take it from a DDNAME. Neither of these copies space
allocation info. I'm not sure what DALLIKE is for; GDGs maybe? Or
maybe it copies allocation info for SMS?

Tony H.

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