Lizette, I'm sorry for my cloudy description - let me try to be more clear...
We have a STEPLIB with 2 files in it. The real filenames are MY.APF.FILE1 and MY.APF.FILE2. These files are APF authorized. When the job uses these names in STEPLIB, it runs fine. Now I have an alias called MY.ALIAS.FILE1 for MY.APF.FILE1. When my application runs with this alias file, the application checks to see if it is authorized (it is a vendor app), issues a message telling me it is not authorized and then ends. It is running on z/OS 1.10. *don* On Wed, Jun 1, 2011 at 3:51 PM, Lizette Koehler <[email protected]>wrote: > >Hi friends! > >Can anyone suggest a reason why a job runs fine with APF authorized > loadlibs > >when the actual files are used, but fails as unauthorized when using a > >dataset alias? APF shows the correct file on the correct volume, and I > know > >that I do not need to add the alias name to APF list, right? What other > >things can I check, and is there a way for a file to lose APF when using > an > >alias? > > > >My understanding is that the Alias is only used to locate the "real" file > >from the catalog, but then when it is opened, the "real" file is used. > > > >Thanks in advance for your thoughts and help! > >*don* > > > > Don, > To make sure I understand, you created JCL that uses a STEPLIB or JOBLIB > that points to DSN=X. However X is an alias for DSN=Y. > > The job fails if the dataset is NOT APF Authorized. Is that correct? > > If so, could you provide the following > 1) What level of z/OS? > 2) Are there any additional libraries in STEPLIB or JOBLIB? > 3) What is it failing with (S047, S106??) > > Thanks > > Lizette > > ---------------------------------------------------------------------- > 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

