Thanks Patrick. I tried your suggestion and it worked.
Patrick Lyon <[EMAIL PROTECTED]> wrote:
On Wed, 30 Aug 2006 13:47:17 -0500, Greg Shirey
wrote:
>Sorry, I gave a cursory look to your job - I didn't notice you were doing
an
>ALLOC. In any case, if you want, you can just add DIR(n) where n is some
>number of directory blocks to your ALLOC.
>
>I tried the following here and it created a data set with 99 dirblcks:
>//SYSIN DD *
> ALLOC DA('SYS2.TEST.PARMLIB') -
> LIKE ('SYS1.PARMLIB') DIR(99)
>
>Data Set Name . . . : SYS2.TEST.PARMLIB
>
>General Data Current Allocation
> Volume serial . . . : Z17STG Allocated cylinders : 10
> Device type . . . . : 3390 Allocated extents . : 1
> Organization . . . : PO Maximum dir. blocks : 99
> Record format . . . : FB
>
>However, if I leave the DIR parm off, I still get a data set created with
>directory blocks, so I wonder why your job doesn't work. What z/OS level
>are you?
>
>Greg
>
I read this when looking up the LIKE parameter:
Note: This parameter is used by MVS only if SMS (System Managed Storage)
is installed and operational. If SMS is not active, use the
DCB=dsname subparameter to perform the equivalent function.
Is SMS active? I get the same results as Greg when I try it.
Also, how many directory blocks does the original dataset have?
----------------------------------------------------------------------
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
---------------------------------
Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada Messenger with
Voice
----------------------------------------------------------------------
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