> I am confused... It states in the Authorized Assembler Services > Reference, Volume 1 (ALE-DYN) > > LOC=(RES,64) indicates that the location of virtual storage depends > upon the location of the caller. If the caller resides below 16 > megabytes, virtual storage is to be located below 16 megabytes; if > the caller resides above 16 megabytes, virtual storage can be > located anywhere in 64-bit storage. In either case, central storage > can be located anywhere in 64-bit storage. > > It stated in the MVS Programming: MVS Programming: Extended > Addressability Guide > > Obtaining storage below the bar GETMAIN, STORAGE, CPOOL macros and > callable cell pool services. > > Obtaining storage above the bar IARV64 GETSTOR request creates > private memory objects; storage is cleared to > zeros. > > I see the CPOOL macro is coded to support AMODE 64 but when I > attempted to use CPOOL to obtain memory above the bar it returned > memory below the bar. > > Here is the code I used to build the CPOOL: > > CPOOL BUILD,PCELLCT=005,CSIZE=65536,SP=(R5),LOC=(RES,64), > CPID=CSACP64,KEY=(R6), > OWNER=PRIMARY,MF=(E,CPL) > > Does CPOOL obtain storage above the BAR? If so, did I do something wrong?
You have found a typographical error in the manual. It should instead say: > LOC=(RES,64) indicates that the location of virtual storage depends > upon the location of the caller. If the caller resides below 16 > megabytes, virtual storage is to be located below 16 megabytes; if > the caller resides above 16 megabytes, virtual storage can be > located anywhere in 31-bit storage. In either case, central storage > can be located anywhere in 64-bit storage. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
