In <[email protected]>, on 12/04/2015
   at 05:54 PM, Frank Swarbrick <[email protected]> said:

>I am able to use the LOAD macro to get the address, but I also need
>to get the length.

>From z/OS MVS Programming: Assembler Services Reference, Volume 2
(IAR-XCT), SA22-7607-15:


   1         The high-order byte contains the load module's APF
              authorization code.

             If the module's length value in doublewords is less
             than 16M (2**24) and the module does not have the
             RMODE(SPLIT) attribute, then the low-order three bytes
             contain the module length in doublewords.

             If the module's length value in doublewords is greater
             than or equal to 16M (2**24), the low-order three
             bytes contain zeros. To obtain the module length,
             issue the CSVQUERY macro with the OUTLENGTH parameter.

             If the module is a program object with the
             RMODE(SPLIT) attribute, the low-order three bytes
             contain zeros. To obtain the length and load point
             information for each segment, issue the CSVQUERY macro
             with the OUTXTLST parameter.

             When the module is a program object bound with the
             FETCHOPT=NOPACK option, the length value returned has
             been rounded to the fullpage-multiple area obtained
             with GETMAIN to hold the program object. If the
             program object is bound with the FETCHOPT=PACK option,
             the length value returned is the size indicated in the
             directory entry. See z/OS MVS Program Management:
             User's Guide and Reference and z/OS MVS Program
             Management: Advanced Facilities for further information.

 1. Why are you using EXTINFO?
 2. How is the module bound?
 3. What's in R1 after the load?
 4. What are the results of CSVQUERY OUTLENGTH?
 5. Are you doing the LOAD in the CICS main task?
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to