Calling Assembler from Cobol
Posted: Thu Dec 08, 2011 8:32 pm
I am currently trying to call an assembler program from cobol. When I call from a JCL using a parm, I get good return codes from the JCL (0 if I find what I need, 8 if I don't). However, when I call it from cobol, I am always getting a return code of 4 when I use look at RETURN-CODE (it's a RACROUTE call). Is there anything special I need to call the assembler? I'm doing a CALL program USING value. Thanks!