I haven't tried to compile B outside SCLM jobs we have on site. The listing doesn't show that anything is added to the PROCEDURE DIVISION USING.
Are you saying that if I compiled the B program as batch it should work on CICS called with CALL B USING B-AREA?
I'm a bit confused with this:
Dynamic COBOL CALL
The CALL statement may pass DFHEIBLK and DFHCOMMAREA as the first two parameters, if the called program is to issue EXEC CICS requests, or the called program can issue EXEC CICS ADDRESS commands. The COMMAREA is optional but if other parameters are passed, a dummy COMMAREA must also be passed. If the called subprogram uses 24-bit addressing and any parameter is above the 16MB line, COBOL issues a message and abends(1033)
(http://publib.boulder.ibm.com/infocente ... fhp3p9.htm