Rexx Calling Cobol Programs
Posted on by admin
REXX does -NOT- use LE under the covers, which is why a 'higher level' COBOL program is used to call REXX, before REXX calls other COBOL modules. CALLDLL - call COBOL DLLs from REXX programs ($). Name CALLDLL - call COBOL DLLs from REXX programs Version 1.0, 2/96 Author GCH Software 300 Walnut, #52 Des Moines, IA 50309 USA Distrib. Shareware Type REXX DLL Price $29 Source BBS Name: CALLDLL.* Description from the author: 'CALLDLL.
Hi,I need to invoke utility IKJEFT01 in COBOL program so that some DB2 status could be showed. But I was wondering if it is possible...
Since it is a utility, I think I need to use dynamic call. But I'm confused by how to put the parameters. For example, the IKJEFT01 input usually looks like:
DSN SYSTEM(DB2)
......
Rexx Calling Cobol Program
ENDSo, I was wondering if I could pass the paramters like this:
MOVE 'IKJEFT01' TO WK-IKJEFT01
CALL WK-IKJEFT01 USING WK-SYSTEM
WK-MESSAGE
WK-END.
But, that is based on IKJEFT01 can be invoked in COLOL program...