Each time I try to compile my display file I get the following error:
cpd7812s Subfile control record Overlaps subfile record
I can't see where they're overlapping?! Here's the code:
A DSPSIZ(24 80 *DS3)
A INDARA
A R INPUT TEXT('MAIN INPUT SCREEN')
A CF03(03 'Exit')
A 2 5'D R I V E R A D D T O L O A D'
A 2 60'Input Screen'
A COLOR(PNK)
A 6 5'Enter Block and Route Number, and -
A Press ENTER'
A COLOR(WHT)
A 9 5'Block#:'
A BLOCK 1Y 0B 9 14TEXT('BLOCK NUMBER')
A EDTCDE(3)
A 9 20'Route#:'
A ROUTE 2Y 0B 9 29TEXT('ROUTE NUMBER')
A EDTCDE(3)
A 9 36'Day#:'
A FDAY 1Y 0O 9 43TEXT('DAY NUMBER')
A EDTCDE(3)
A 9 49'Date:'
A FDATE 8Y 0O 9 56TEXT('DELIVERY DATE')
A EDTCDE(Y)
A 18 5'F3-Exit'
A COLOR(WHT)
A 70 ERRORMSG 70 O 24 5TEXT('ERROR MESSAGES')
A COLOR(RED)
A DSPATR(BL)
A R DATAENTRY
A SFL
A INQTYCODE 8Y 0B 10 5TEXT('Fields for Data Entry')
A EDTCDE(3)
A R DATAENTCTL
A SFLCTL(DATAENTRY)
A SFLDSP
A SFLPAG(32)
A SFLSIZ(32)
A SFLLIN(4)
A CF03(03 'Exit')
A SFLDSPCTL
A 2 5'D R I V E R A D D T O L O A D'
A 2 60'Data Entry Screen'
A COLOR(PNK)
A 4 5'Block:'
A BLOCK 1Y 0O 4 13TEXT('BLOCK NUMBER')
A EDTCDE(3)
A 5 5'Route:'
A ROUTE 2Y 0O 5 12TEXT('Route Number')
A EDTCDE(3)
A 8 5'QTY/CODE'
A COLOR(WHT)
A 8 17'QTY/CODE'
A COLOR(WHT)
A 8 29'QTY/CODE'
A COLOR(WHT)
A 8 41'QTY/CODE'
A COLOR(WHT)
A 8 53'QTY/CODE'
A COLOR(WHT)
A 8 65'QTY/CODE'
A COLOR(WHT)
A 19 5'1. Enter Quantity and Product Cod-
A e for Each Item'
A COLOR(WHT)
A 20 5'2. Push Enter to Validate Quantit-
A ies and Item Codes'
A COLOR(WHT)
A 22 5'F3-Exit'
A TEXT('F3 to Exit Program')
A COLOR(WHT)
A 70 ERRORMSG 70 O 24 5COLOR(RED)
A DSPATR(BL)
Thank you.
cpd7812s Subfile control record Overlaps subfile record
I can't see where they're overlapping?! Here's the code:
A DSPSIZ(24 80 *DS3)
A INDARA
A R INPUT TEXT('MAIN INPUT SCREEN')
A CF03(03 'Exit')
A 2 5'D R I V E R A D D T O L O A D'
A 2 60'Input Screen'
A COLOR(PNK)
A 6 5'Enter Block and Route Number, and -
A Press ENTER'
A COLOR(WHT)
A 9 5'Block#:'
A BLOCK 1Y 0B 9 14TEXT('BLOCK NUMBER')
A EDTCDE(3)
A 9 20'Route#:'
A ROUTE 2Y 0B 9 29TEXT('ROUTE NUMBER')
A EDTCDE(3)
A 9 36'Day#:'
A FDAY 1Y 0O 9 43TEXT('DAY NUMBER')
A EDTCDE(3)
A 9 49'Date:'
A FDATE 8Y 0O 9 56TEXT('DELIVERY DATE')
A EDTCDE(Y)
A 18 5'F3-Exit'
A COLOR(WHT)
A 70 ERRORMSG 70 O 24 5TEXT('ERROR MESSAGES')
A COLOR(RED)
A DSPATR(BL)
A R DATAENTRY
A SFL
A INQTYCODE 8Y 0B 10 5TEXT('Fields for Data Entry')
A EDTCDE(3)
A R DATAENTCTL
A SFLCTL(DATAENTRY)
A SFLDSP
A SFLPAG(32)
A SFLSIZ(32)
A SFLLIN(4)
A CF03(03 'Exit')
A SFLDSPCTL
A 2 5'D R I V E R A D D T O L O A D'
A 2 60'Data Entry Screen'
A COLOR(PNK)
A 4 5'Block:'
A BLOCK 1Y 0O 4 13TEXT('BLOCK NUMBER')
A EDTCDE(3)
A 5 5'Route:'
A ROUTE 2Y 0O 5 12TEXT('Route Number')
A EDTCDE(3)
A 8 5'QTY/CODE'
A COLOR(WHT)
A 8 17'QTY/CODE'
A COLOR(WHT)
A 8 29'QTY/CODE'
A COLOR(WHT)
A 8 41'QTY/CODE'
A COLOR(WHT)
A 8 53'QTY/CODE'
A COLOR(WHT)
A 8 65'QTY/CODE'
A COLOR(WHT)
A 19 5'1. Enter Quantity and Product Cod-
A e for Each Item'
A COLOR(WHT)
A 20 5'2. Push Enter to Validate Quantit-
A ies and Item Codes'
A COLOR(WHT)
A 22 5'F3-Exit'
A TEXT('F3 to Exit Program')
A COLOR(WHT)
A 70 ERRORMSG 70 O 24 5COLOR(RED)
A DSPATR(BL)
Thank you.