Paul, Suggest you take a look at the DALLIKE text unit which is documented in the Authorized Assembler Programming Guide; it allows a model data set to be specified on a new allocation.
Mike Wood RMM Development On Mon, 21 Aug 2006 12:28:52 -0500, Paul Schuster <[EMAIL PROTECTED]> wrote: >This post got sidetracked a lot. > >1) APF authorization is not an issue. > >2) I want to mimic the behavior of the 'LIKE' JCL parameter in that you can >do a 'LIKE' to a data set that you are not authorized to acccess. (E.g., >if you do a 'LIKE' to a PDS, it will correctly allocate your new PDS with >the same number of directory blocks as the 'LIKED-TO' data set but if you >attempt to do an 'I' on that data set, you get the appropriate 'IEC150I 913- >38 ACCESS INTENT(READ ) ACCESS ALLOWED(NONE )' messages.) > >Obviously IBM code is returning the number of directory blocks without >doing an OPEN and CLOSE on the data set. > >Hence my question on how to do the EXCP I/O (read) without doing OPEN and >CLOSE. > >Perhaps IBM has a undocumented system service to retrieve the # of >directory blocks allocated to a data set? > >Thank you. > >Paul > >---------------------------------------------------------------------- >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 >========================================================================= ---------------------------------------------------------------------- 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

