On Tue, 31 May 2005 12:25:41 -0400, Nelliyappan Manivel, Sridhar wrote: >I'm struggling with a mysterious return & reason code when DYNALLOC is >called from a 8 character userid (I showed the error message to our ACF2 >guru here & got all authorization). The same program works good when the >job is submitted from 7 character userid. > >DYNALLOC fails with rc=4, and reason code 0218 (from 8 character >userid). Please let me know if you know of any insight into this >problem. (DYNALLOC program is subtasked from a main program, I don't >know if that matters or not) > >Here are the explanation from the book for RC=4 > >Meaning: An error resulted from: v the current environment, the >unavailability of a system resource (the system will also return a class >2 error reason code in S99ERROR), or ...snip... >Action: See the error reason code description and appropriate action in >Table 26-6 on page 26-52, Table 26-8 on page 26-64, or Table 26-9 on >page 26-72. See also the associated message for the appropriate action. > >For reason = 0218 > >Meaning: Specified volume or an acceptable volume is not mounted, and >user does not have volume mounting authorization through the DYNALLOC >request. (dsname allocation)1 >Application Programmer Action: Change volume specification, or have the >required volume mounted, or change the allocation request to allow volume >mounting. Resubmit the request. >Corresponding Message: IKJ56221I
Sridher, Please post the volume and unit information that you passed to that DYNALLOC request, and perhaps even consider posting the entire set of keys passed. Also, be sure to post the JOBLOG (as others have asked). This may be related to the "8-character TSO userid" thread that is running today... you might want to reconsider your use of an 8-character userid for this DYNALLOC request. However, it may not be related after all. When you got the authorization from your "ACF2 guru" was the authorization given to the userid running the multitasking calling address space? Or was it given to the 8-character userid referenced in the DYNALLOC call? Is the DYNALLOC subtask really using the 8-character userid in its TCBSENV pointer? (Was a RACROUTE performed prior to the DYNALLOC in that subtask?) -- Tom Schmidt Madison, WI ---------------------------------------------------------------------- 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

