Testing Procedures
If a user encounters problems when running a procedure, there are two possibilities for testing them.
a) All statements in the procedure can be logged during execution by inserting a *PROC A statement in the first line of the procedure. PROC A will display all the CFS procedure statements, as well as all data records passed to CFS. If a variable is used in a statement or data record, then that statement or record will be displayed both before and after the variable substitution.
b) Switch on the hardcopy mode with an HC file,O command. file is the name of the hardcopy file to be used. A hardcopy file can be used by the procedure author to check the sequence and syntax of the commands passed to CFS.