A C record is used to continue a value or set of values across more than one record. It immediately follows the record being continued. The format of a C record corresponds to the format of the original record being continued. QMF uses C records to continue L records only. The C record contains the following:
Control area for C records:
Record data area for C records
The byte positions in the following list are offset from the end of the control area, the length of which is indicated in the header record.
A report line continuation, in which a single report line value is split in the middle of the text, but is not continued to another continuation record:
C ARS ---> <---- TOTAL --->
A report line continuation, in which a single report line value is split in the middle of the text and the record is continued to another C record:
CC ERK ---> <---- MGR ---> <---- SAL
Example of Exporting an across report
Figure 23 illustrates an exported across-style report.
REPORT LINE 1 POS 1 79 J & H SUPPLY COMPANY DEPT AVERAGE SALARIES REPORT 18 (ACROSS REPORT) <---------------- JOB -----------------> <- CLERK --> <-- MGR ---> <- SALES --> <- TOTAL --> AVERAGE AVERAGE AVERAGE AVERAGE DEPT SALARY SALARY SALARY SALARY ------ ---------- ---------- ---------- ---------- 10 20865.86 20865.86 15 12383.35 20659.80 16502.83 15482.33 20 13878.68 18357.50 18171.25 16071.53 38 12482.25 17506.75 17407.15 15457.11 ========== ========== ========== ========== 12914.76 19998.21 17372.10 16880.26 COMPANY NAME REPORT 18 PAGE 1
Figure 24 shows the resulting encoded format from Figure 23.
H QMF 11 R 01 E V W E R 02 03 98/10/14 16:20 V 1001 006 PERIOD V 1002 003 016 T 1010 002 006 1013 005 1014 006 1015 006 1016 006 1017 006 1012 008 R L 000001 000003 000008 000001 GROUP R L2 000003 000005 000014 000001 AVERAGE V 2001 005 C V 2002 003 001 V 2003 003 YES T 2010 004 003 2012 006 2013 006 2014 006 R 000014 000018 000009 R 000029 000031 000023 R 000042 000046 000037 R 000056 000060 000051 L 110 10100000 J & H SUPPLY COMPANY L 110 10100000 DEPT AVERAGE SALARIES L 110 10100000 REPORT 18 (ACROSS REPORT) L 110 10000000 L 110 10000000 L 170 10000000 <---------------- JOB -----------------> L 170 11000000 <- CLERK --> <-- MGR ---> <- SALES --> <- TOTAL --> L 170 10000000 AVERAGE AVERAGE AVERAGE AVERAGE L 170 10000000 DEPT SALARY SALARY SALARY SALARY L 170 10010000 ------ ---------- ---------- ---------- ---------- L 181 11000000 10 20865.86 20865.86 L 181 11000000 15 12383.35 20659.80 16502.83 15482.33 L 181 11000000 20 13878.68 18357.50 18171.25 16071.53 L 181 11000000 38 12482.25 17506.75 17407.15 15457.11 L 190 10010000 ========== ========== ========== ========== L 190 11000000 12914.76 19998.21 17372.10 16880.26 L 120 10000000 L 120 10000000 L 120 10100000 COMPANY NAME L 120 10100000 REPORT 18 L 120 10100000 PAGE 1 E