Syntax Error

mustish1
mustish1 used Ask the Experts™
on
Hi guys: Can any one please help me in that error?  Thanks
spoolfile.txt
rpg.txt
qddssrc.png
pffile.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Developer / Database Administrator
Commented:
Your compile-listing says:

     ID      Severity  Number                                                                                                       
 * CPD7866      10        2      Message . . . . :   Field overlaps another field with no conditions specified.  

Open in new window


... and up farther in the compile-listing, it puts the CPD7866 right below your string-literals 'ADDRESS', 'CUSTOMER# NAME', etc. It appears they all start at position 3, so they will most assuredly overlap.

BTW, a message with severity = 10 is not an error. It's a warning.

HTH,
DaveSlash

Author

Commented:
is this will still overlap based on the field size?

0008.00 A                 CSNAME    R        O  4  5                                         141008                                
0009.00 A                 CSADR1    R        O  4 35                                         141008                                
0010.00 A                 CUSCTY    R        O  4 70                                         141008                                


0021.00 A                                       3  4'CUSTOMER# NAME'                         141008                                
0022.00 A                                       3 35'ADDRESS'                                141008                                
0023.00 A                                       3 70'CITY'                                   141008
Dave FordSoftware Developer / Database Administrator

Commented:
Try moving CSADR1 to the right a couple positions. Of course, you also have to move CUSCTY over a few, too. See if that helps.

Author

Commented:
Screen doesn't looks right
screenshot.png
screen.txt

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial