Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RPGLE Error Codes

Status
Not open for further replies.

jsplice

Programmer
Jun 3, 2003
88
0
0
US
I've been receiving an error with a program I'm working on. It appears as the following:

598000 IF GatewayEdit='Y'
======>a
*RNF0257 30 a 598000 Form-Type entry for main procedure not valid or out of
sequence.
598100 WRITE CSTP093
======>a
*RNF0257 30 a 598100 Form-Type entry for main procedure not valid or out of
sequence.
598200 ENDIF
======>a
*RNF0257 30 a 598200 Form-Type entry for main procedure not valid or out of
sequence.
598300 C END

What exactly does this error mean, and is there a place on the web where I can get in-depth descriptions of errors?
 
If you meant to write this in free format, you also need to put a semicolon at the end of the statements. Since you don't have that, I'm assuming you ment to write this in fixed format, in which case you need to put a C in position 7.

Me transmitte sursum, Caledoni!

 
Thanks for the link.

I did in fact miss the C spec--one of those stupid mistakes. I copied and pasted the code from another section and just forgot to add it.
 
jsplice,

Ahhh... Cloned code! Happens to the best of us...

MdnghtPgmr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top