1
2 05/12/81 process_cobol_report, pcr
3
4 Syntax: pcr path -contol_args
5
6
7 Function: Extracts reports from a file created by a cobol program that
8 used the report writer feature.
9
10
11 Arguments:
12 path
13 is the pathname of the input file
14
15 Control arguments:
16 -report_code STR , -rcd STR
17 specifies which reports are to be extracted from the
18 report file. STR consists of a string of report codes
19 the two character designators supplied in the code phrase
20 of the cobol program with values separated by commas with
21 no spaces. This control argument is incompatable with the
22 the -all control argument.
23
24 -output_file path , -of path
25 specifies that the output is to be directed to the file
26 indicated by path. The default is for the output to be
27 directed to user_output terminal.
28
29 -all , -a
30 specifies that all reports in the report file are to be processed.
31 This control argument is incompatible with the -report_code control
32 argument.
33
34 -no_newpage , -nnp
35 specifies that newpage characters are not to be emitted when -output_file
36 is used. The default is for each page to end with a newpage character.
37
38 -stop , sp
39 waits for a carriage return from the user before begining typing and after
40 each page of output to the terminal.
41
42 Notes:
43 When outputting to the terminal pcr assumes the terminal is
44 positioned to the top of a page.
45 When neither -all nor -repot_code control arguments are specified,
46 then the report designated by the default code is processed.
47