QRG6037

The AND/OR entry does not follow a Main-Record specification and is not permitted on field specifications.

Sequence the output specifications so that the AND/OR entry follows a Main-Record specification, or remove the AND/OR entry. Recompile.