Recommended Reading

Down to Earth REXX

Down to Earth REXX - in association with Amazon
Paperback - 528 pages (1 May, 2000)
Perfect Niche Software
More information (from Amazon.com)



Advanced REXX

Advanced REXX - in association with Amazon
A technical resource for users of the REXX language, this guide aims to enable them to develop an understanding of the way in which REXX interfaces with varied applications and systems. In addition to explaining how to create and debug REXX programs on an interactive desktop system (OS/2, 2.0), the reference addresses the needs of programmers familiar with AS/400, VM/ESA and TSO/E.
More information (from Amazon.com)



The REXX Language: A Practical Approach to Programming

The REXX Language: A Practical Approach to Programming - in association with Amazon
Paperback 375 pages (1 April, 1990)
Prentice Hall PTR
More information (from Amazon.com)



Sample REXX code for CMS

Here are a selection of useful routines which could easily be tailored to suit any installation.

This was developed on a site where an automated amend routine was in place which made col 80 non blank for modified code and allowed identification of modifications simple.

GENCOV EXEC EXEC Adds coverage code to COBOL programs.
The other GENCxxx files are held in CMS with ft DATA.
After the program is run the syslst ouput must be stored in CMS as <program> TEST1 (TEST2 TEST3 etc for multiple runs).

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.

COVEXT EXEC When testing subroutines or CICS programs the syslst will probably contain a large number of termination reports.
COVEXT EXEC extracts them and combines the data into a single file named <program> TEST1 A

Back to sample list

Home



© Copyright IT Doctors.co.uk. 2002