> LG G1,ORIGIN64 Get Starting Address > LG G1,50(,G1) Get Starting Address
As was pointed out, this second LG is not correct. Perhaps you meant "LA"? But why "50"? At the very least the "50" should really instead be a symbolic reference so that the code reader can know why "50". > LARL R2,HDR64 Header Description > LAY R2,HDR64 Header Description > LLGTR G2,G2 Ensure G2 has a good address What was this attempting to do? LARL followed by LAY? The LLGTR is likely inappropriate. Both the LARL and the LAY, in AMODE 64, would set the 64-bit GR, and as long as your base regs were suitable for AMODE 64 (i.e., had not been created while AMODE 31 and without some subsequent LLGTR), the LLGTR at best is doing nothing and at worst (if your module happened to be RMODE 64, although that's not currently supported since you do other things in the module such as IARV64) would lose necessary bits. Peter Relson z/OS Core Technology Design
