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)
......
END
So, 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...
Could anyone please give some suggestions? Thank you!