I've a QMF Rexx procedure which calls many Rexx execs stored in my personal library. Now I want to execute this QMF rexx procedure from a CICS module.
So, I Googled, I could not find anything on how to call a qmf procude from CICS module. Also, in some cics rexx manual I read the "ADDRESS QRW" is not supported in CICS and my rexx exec have a lot of address qrw to execute qmf queries. As a worksround I submitted the job from my cics module, this job will execute the qmf procedure. So the task at hand was done.
But I really want to know how can I execute rexx exec and/or qmf rexx from cics module. I was able to exectue the rexx exec in batch mode using IRXJCL.
The reason I'm trying to do this is to query the bad data and report it (either in a file or insert in DB2). The application does not write enough data in logs...and makes life difficult to research. So instead of changing thousands of programs to write errorlog correctly, I want to have a rexx proc that would query and report it, whenever there is an error/issue.
I dont need results back from execs....I just need to check if they were executed correctly or not. If there is no way then to ensure whether the exec was executed correctly or not...I'll have module write a row in a table and the exec will update or delete it on successful execution.