|Sample REXX code for CMS|
Here are a selection of useful routines which could easily be tailored
to suit any installation.
EXEC Adds coverage code to COBOL programs.
GENCWS Added by GENCOV EXEC to WORKING STORAGE of program.
GENCPD Added by GENCOV EXEC to PROCEDURE DIVISION of program.
GENCPDC Added by GENCOV EXEC to PROCEDURE DIVISION of CICS programs.
GENCPDB Added by GENCOV EXEC to PROCEDURE DIVISION of Batch programs.
COVERAGE EXEC EXEC run against the TESTn files and combines the termination statistics.
The output is a summary of code coverage and a list of the procedure division showing execution counts against each verb.
When testing subroutines or CICS programs the syslst will probably
contain a large number of termination reports.
Back to sample list
© Copyright IT Doctors.co.uk. 2002