Problem : Message ID: CPD7812 Subfile control record overlaps subfile record

Problem : Message ID: CPD7812 Subfile control record overlaps subfile record

How is it these are overlaping?  If I remove the fields below the subfile, it will compile.

A          R APS83003SF                SFL
A            IWIDTE         8  0B  6  2
A                                      DSPATR(UL)
A            IWINV#        12A  B  6 12
A                                      DSPATR(UL)
A            IWDESC        30A  B  6 25
A                                      DSPATR(UL)
A            IWAMT          9  2B  6 56
A                                      DSPATR(UL)

A          R APS83003                  SFLCTL(APS83003SF)
A                                      CF03(03 ‘END THIS JOB’)
A                                      SFLSIZ(0010)
A                                      SFLPAG(0010)
A N32                                  SFLDSP
A N31                                  SFLDSPCTL
A  31                                  SFLCLR
A  90                                  SFLEND(*MORE)
A            RRN1           4S 0H      SFLRCDNBR
A                                  1  2′                                  –
A                                                                         –
A                                               ‘
A                                      DSPATR(UL)
A                                  2  2’ xxxxxxxxxxx            –
A                                                                         –
A                                       APS830FM ‘
A                                      DSPATR(UL)
A                                      DSPATR(RI)
A                                      COLOR(BLU)
A                                  4  1’DATE’
A
A
A            IWCHK#         7Y 0O  4 10DSPATR(CS)
A            IWCHAR        70   B 18  2DSPATR(UL)
A            IWNAME        40   B 19  2DSPATR(UL)
A            IWADD1        40   B 20  2DSPATR(UL)
A            IWADD2        40   B 21  2DSPATR(UL)

Message ID . . . . . . :   CPD7812       Severity . . . . . . . :   30
Message type . . . . . :   Diagnostic

Message . . . . :   Subfile control record overlaps subfile record.
Cause . . . . . :   Fields specified in the subfile control record (SFLCTL
keyword) cannot overlap fields specified in the subfile record (SFL
keyword).
Recovery  . . . :   Change the line numbers specified for either one or both
of the records. Then try the request again.
Technical description . . . . . . . . :   This error may occur if the first
field of either the subfile record or the subfile control record starts in
position 1.  A field starting in position 1 has a beginning attribute byte
on the previous line; therefore, the previous line is also part of the
record.


Solution: Message ID: CPD7812 Subfile control record overlaps subfile record

as far as my LIMITED KNOWLEDGE, SFL records have to be put below the lower field of SFLCTL field.
if you want to put something below the SFL, you can put as another record, so, in your sample, the fields below should be put in different record:
A         R DETAIL
A            IWCHAR        70   B 18  2DSPATR(UL)
A            IWNAME        40   B 19  2DSPATR(UL)
A            IWADD1        40   B 20  2DSPATR(UL)
A            IWADD2        40   B 21  2DSPATR(UL)