Previous Topic: How to Define the InputNext Topic: Demonstration


How to Define the Output

To define the report output, code a type 5 parameter for each data item. The information on a type 5 parameter is coded in the following order, from left to right:

  1. A 2-digit report number
  2. The parameter type (5)
  3. A 1-digit print-row identifier
  4. The column placement, consisting of either an asterisk (*) followed by a 3-digit number for relative placement or a 4-digit number for specific placement.
  5. A spacing indicator consisting of a blank for a single space, a zero (0) for a double space, or a dash (-) for a triple space
  6. The name of the data item to appear in the column

Sample Parameters

0151*010 EMPLOYEE

01 is the assigned report number.

5 specifies a type 5 parameter.

1 specifies that the employee name appears on the first print row.

*010 specifies that CA Culprit determines the placement of the employee name on the page.

Low-number columns print on the left-hand side of the page; high-number columns print progressively to the right of the first column. The blank in column 10 specifies single spacing.

EMPLOYEE directs CA Culprit to print the employee's name in this column.

0151*020 SALARY

0151 specifies the report number, parameter type, and first print row.

*020 directs CA Culprit to print SALARY to the right of the employee name.

SALARY directs CA Culprit to print the salary amount in this column.