03 CIRMSTR-VARB-LEN
PIC S9(04) COMP.
* VARIABLE LENGTH OF N/A DATA
*
*****************************************************************
* THE FOLLOWING VARIABLE AREA CONTAINS THE NAME, ADDRESS, *
* AND CITY/STATE LINES - FROM ONE TO SIX LINES. *
* FORMAT FOR THIS AREA IS: *
* LINE LENGTH BYTE - BINARY - X'00' TO X'29' *
* DECIMAL - 0 TO 41 *
* LINE LENGTH NOT INCLUDING THIS BYTE *
* LINE CODE BYTE - 1 = NAME LINE *
* 2 = ADDRESS LINE *
* 3 = CITY/STATE LINE *
* LINE DATA - ONE TO 40 CHARACTERS *
* MINIMUM DATA IS SIX BYTES - ALL LENGTHS X'00' *
* MAXIMUM DATA IS 252 BYTES - ALL SIX LINES 40 CHARACTERS *
* PLUS THE LENGTHS AND CODES *
* CUSTOMER NAME IS LOG MAINT CODE = 0001 *
* CUSTOMER NAME 2 IS LOG MAINT CODE = 0065 *
* CUSTOMER NAME 3 IS LOG MAINT CODE = 0066 *
* ADDRESS LINE 1 IS LOG MAINT CODE = 0004 *
* ADDRESS LINE 2 IS LOG MAINT CODE = 0005 *
* CITY/STATE LINE IS LOG MAINT CODE = 0006 *
*****************************************************************
*
03 CIRMSTR-NAME-ADDR
PIC X(252).
* NAME/ADDRESS
*
03 CIRMSTR-VARB-NAME-ADDR
REDEFINES CIRMSTR-NAME-ADDR
PIC X(01) OCCURS 252 TIMES
INDEXED BY X-CIRMSTR-VARB-NAME.
*
03 CIRMSTR-NAME-ADDR-LINES
REDEFINES CIRMSTR-NAME-ADDR.
05 CIRMSTR-TITLE-LINE-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-TYPE
PIC X(01).
05 CIRMSTR-TITLE
PIC X(40).
05 CIRMSTR-TITLE-LINE-2-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-2-TYPE
PIC X(01).
05 CIRMSTR-TITLE-LINE-2
PIC X(40).
05 CIRMSTR-TITLE-LINE-3-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-3-TYPE
PIC X(01).
05 CIRMSTR-TITLE-LINE-3
PIC X(40).
05 CIRMSTR-ADDRESS-LINE-1-LEN
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-1-TYPE
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-1
PIC X(40).
05 CIRMSTR-ADDRESS-LINE-2-LEN
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-2-TYPE
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-2
PIC X(40).
05 CIRMSTR-CITY-AND-STATE-LEN
PIC X(01).
05 CIRMSTR-CITY-AND-STATE-TYPE
PIC X(01).
05 CIRMSTR-CITY-AND-STATE
PIC X(40).
03 CIRMSTR-EW-NAME-ADDR
REDEFINES CIRMSTR-NAME-ADDR.
05 CIRMSTR-EW-TITLE-AND-ADDRESS.
07 CIRMSTR-EW-TITLE.
09 CIRMSTR-EW-TITLE-1
PIC X(40).
09 CIRMSTR-EW-TITLE-2
PIC X(40).
09 CIRMSTR-EW-TITLE-3
PIC X(40).
07 CIRMSTR-EW-ADDRESS.
09 CIRMSTR-EW-ADDRESS-1
PIC X(40).
09 CIRMSTR-EW-ADDRESS-2
PIC X(40).
07 CIRMSTR-EW-CITY-AND-STATE
PIC X(40).
05 CIRMSTR-EW-FILLER-2
PIC X(12).
PIC S9(04) COMP.
* VARIABLE LENGTH OF N/A DATA
*
*****************************************************************
* THE FOLLOWING VARIABLE AREA CONTAINS THE NAME, ADDRESS, *
* AND CITY/STATE LINES - FROM ONE TO SIX LINES. *
* FORMAT FOR THIS AREA IS: *
* LINE LENGTH BYTE - BINARY - X'00' TO X'29' *
* DECIMAL - 0 TO 41 *
* LINE LENGTH NOT INCLUDING THIS BYTE *
* LINE CODE BYTE - 1 = NAME LINE *
* 2 = ADDRESS LINE *
* 3 = CITY/STATE LINE *
* LINE DATA - ONE TO 40 CHARACTERS *
* MINIMUM DATA IS SIX BYTES - ALL LENGTHS X'00' *
* MAXIMUM DATA IS 252 BYTES - ALL SIX LINES 40 CHARACTERS *
* PLUS THE LENGTHS AND CODES *
* CUSTOMER NAME IS LOG MAINT CODE = 0001 *
* CUSTOMER NAME 2 IS LOG MAINT CODE = 0065 *
* CUSTOMER NAME 3 IS LOG MAINT CODE = 0066 *
* ADDRESS LINE 1 IS LOG MAINT CODE = 0004 *
* ADDRESS LINE 2 IS LOG MAINT CODE = 0005 *
* CITY/STATE LINE IS LOG MAINT CODE = 0006 *
*****************************************************************
*
03 CIRMSTR-NAME-ADDR
PIC X(252).
* NAME/ADDRESS
*
03 CIRMSTR-VARB-NAME-ADDR
REDEFINES CIRMSTR-NAME-ADDR
PIC X(01) OCCURS 252 TIMES
INDEXED BY X-CIRMSTR-VARB-NAME.
*
03 CIRMSTR-NAME-ADDR-LINES
REDEFINES CIRMSTR-NAME-ADDR.
05 CIRMSTR-TITLE-LINE-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-TYPE
PIC X(01).
05 CIRMSTR-TITLE
PIC X(40).
05 CIRMSTR-TITLE-LINE-2-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-2-TYPE
PIC X(01).
05 CIRMSTR-TITLE-LINE-2
PIC X(40).
05 CIRMSTR-TITLE-LINE-3-LEN
PIC X(01).
05 CIRMSTR-TITLE-LINE-3-TYPE
PIC X(01).
05 CIRMSTR-TITLE-LINE-3
PIC X(40).
05 CIRMSTR-ADDRESS-LINE-1-LEN
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-1-TYPE
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-1
PIC X(40).
05 CIRMSTR-ADDRESS-LINE-2-LEN
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-2-TYPE
PIC X(01).
05 CIRMSTR-ADDRESS-LINE-2
PIC X(40).
05 CIRMSTR-CITY-AND-STATE-LEN
PIC X(01).
05 CIRMSTR-CITY-AND-STATE-TYPE
PIC X(01).
05 CIRMSTR-CITY-AND-STATE
PIC X(40).
03 CIRMSTR-EW-NAME-ADDR
REDEFINES CIRMSTR-NAME-ADDR.
05 CIRMSTR-EW-TITLE-AND-ADDRESS.
07 CIRMSTR-EW-TITLE.
09 CIRMSTR-EW-TITLE-1
PIC X(40).
09 CIRMSTR-EW-TITLE-2
PIC X(40).
09 CIRMSTR-EW-TITLE-3
PIC X(40).
07 CIRMSTR-EW-ADDRESS.
09 CIRMSTR-EW-ADDRESS-1
PIC X(40).
09 CIRMSTR-EW-ADDRESS-2
PIC X(40).
07 CIRMSTR-EW-CITY-AND-STATE
PIC X(40).
05 CIRMSTR-EW-FILLER-2
PIC X(12).