• CSPro Getting Started Guide
    • Introduction
    • Installation
    • CSPro Tutorial
      • About the Tutorial
      • Exercise 1: Create a Data Entry Application
      • Exercise 2: Create the Data Dictionary
      • Exercise 3: Create the Data Entry Forms
      • Exercise 4: Enter Data
      • Exercise 5: Tabulate Data
      • Exercise 6: Modify the Table
      • Exercise 7: Add Edits to the Data Entry Application
      • Exercise 8: Run a Batch Application
        • Step 1: Create a Batch Application
        • Step 2: Write Logic and Compile
        • Step 3: Run the Batch Application
        • Step 4: Examine the Output Report

Step 4: Examine the Output Report

(Exercise 8, Run a Batch Application)
The output report will appear in the CSPro Text Viewer. It will look something like:
Application     C:\CSProTutorial\MyBatch.bch
Type            BATCH
Input Data      <<Text File>> C:\CSProTutorial\MyData.dat
<Output>        <<Empty>>

Date            Jun 5, 2020
Start Time      07:11:00
End Time        07:11:00

CSPRO Process Summary
         +-----------------------------------------------------+
         |       7 Records Read ( 100% of input file)          |
         |       0 Ignored (       0 unknown,        0 erased) |
         |       1 Messages (       1 U,       0 W,       0 E) |
         +---------+--------------+--------------+-------------+
         |  Level  |  Input Case  |  Bad Struct  |  Level Post |
         +---------+--------------+--------------+-------------+
         |     1   |          2   |          0   |          2  |
         +---------+--------------+--------------+-------------+


Process Messages

*** Case [   2] has 1 messages (0 E / 0 W / 1U)
   U    -9 Too young to be married

User unnumbered messages:

  Line    Freq  Pct.  Message text                                        Denom
  ----    ----  ----  ------------                                        -----
     9       1    -   Too young to be married                                 -

CSPRO Executor Normal End
--------------------------------------------------------------------------------
The first several lines show file names and the date and time of the run.
CSPro Process Summary
  • The first line tells us that the data file had seven records.
  • The second line tells us that there were no problems with the structure of the data file.
  • The third line tells us that one user message was triggered by our logic. The system did not issue any warning or error messages.
  • The last line tells us that our data file has two cases in it.
Process Messages
This section shows messages by case by case. In our example we only triggered one message, so only one case is shown. Case [   2] shows us the case ID; in this example the second case has the error.
User Unnumbered Messages
This section shows a summary by message, Since we have only errmsg command in our logic, there is only one line. The number 9 under Line tells us the line number of the errmsg command in our logic. The number 1 under Freq tells us that this message was only triggered once for the data file.
Conclusion
When you have finished examining the report, close Text Viewer by pressing Esc or selecting File -> Exit from the main menu.
Congratulations! You have completed the CSPro tutorial. We hope you are now ready to try creating and running your own applications. Please refer to our User's Guides for more details. You can access them from CSPro simply by selecting Help -> Help Topics from the main menu of any CSPro module.