I'm trying to issue a dynamic call to another program in CICS
Program A issues command:
WORKING STORAGE.
01 B PIC X(8) VALUE 'B '.
01 B-AREA PIC X(20) (INSIDE COPYBOOK)
CALL B USING B-AREA
01 B PIC X(8) VALUE 'B '.
01 B-AREA PIC X(20) (INSIDE COPYBOOK)
CALL B USING B-AREA
Inside program B:
LINKAGE SECTION.
01 B-AREA PIC X(20) (INSIDE COPYBOOK)
PROCEDURE DIVISION USING B-AREA.
MAIN.
IF B-AREA =
01 B-AREA PIC X(20) (INSIDE COPYBOOK)
PROCEDURE DIVISION USING B-AREA.
MAIN.
IF B-AREA =
I see thet che B program is called in the Debug tool and the code of program B is shown to me.
However, the program B's fields are not allocated and the program abends on the first try to access fields.
Is there anything special it has to be done? Like, compiling options? We have never used a dynamic call on CICS in our shop.
Thank you!