Hi - while running batch job, one of the module get abended with U4082. While tracking the exact location , the abend comes from 2 lines before the call statement made to another program and the problem is not with variable (even after reordering the lines before call statement,it abends at 2 lines before call statement).
Please find the example that recreates the same scenario
WS_PROG = WS_LABEL
INIT = 0; /* ABEND HAPPENS HERE */
PUT SKIP LIST (' CALLING F0HXX');
CALL 'F0HXX' USING (WS_INP_PTR);
The PLI program that call's 'K0HXX' - IMS
K0XXX is IMS-DB2
Also, In both linkcard it has INCLUDE RESLIB(DFSLI000)
Please suggest me to fix this issue.