1. Can APAS0299 be compiled and Linkedited with AMODE(31) RMODE(ANY) ?
2. What AMODE and RMODE should APCS0221 be compiled and linked ?
3. Should the call to APAS0299 be dynamic (The comments in the APCS0221 source code are unclear)?
Release : 3.2
Question 1: Yes
Question 2: Relink APAS0299 with attributes AMODE(31) RMODE(ANY) NORENT.
Question 3: APCS0221 should be compiled with DYNAM option to call APAS0299 dynamically
Note:
All COBOL programs that call APAS0299 must be compiled with DYNAM and their CALL statement must have APAS0299 in single quotes.
Link of APAS0299 should be AMODE(31) RMODE(ANY) since all COBOL programs are now AMODE(31) RMODE(ANY).