RPG/400 Error RNQ1255

265 pts.
Tags:
RPG
RPG Error Messages
RPG/400
I have a RPGILE (XOP560) program. I am able to compile sucessfully this program. once i call this program i am getting below error. please advice me. Additional Message Information Message ID . . . . . . : RNQ1255 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . : 04/06/09 Time sent . . . . . . : 03:45:07 Message . . . . : Session or device error occurred in file WDRPIK (C G D F). Cause . . . . . : RPG procedure XOP560 in program NITCO/XOP560 at statement 249 detected a session or device error. Recovery may be possible. Examine the major/minor return code value to determine the specific error that occurred. If the major return code is 82 then the error occurred while acquiring a session or device. If the major return code is 83 then the error occurred during an I/O operation and the session or device is still active. Recovery . . . : Check the job log for more information on the cause of the error and contact the person responsible for program maintenance. Possible choices for replying to message . . . . . . . . . . . . . . . : D -- Obtain RPG formatted dump. S -- Obtain system dump. G -- Continue processing at *GETIN. C -- Cancel. F -- Obtain full formatted dump. Technical description . . . . . . . . : The major return code is 83. The minor return code is 22. ---------------------------------------------------------------- where WDRPIK display file as below A*%%TS SD 20090401 035420 KSS991U REL-V4R4M0 5769-PW1 A*%%EC A DSPSIZ(24 80 *DS3) A R PKSCR A*%%TS SD 20090401 035420 KSS991U REL-V4R4M0 5769-PW1 A CA03(03) A 1 3'51 Pick Labels' A COLOR(WHT) A 3 3'Enter Pick Label' A PKLBL 9Y 0B 4 3 A 20 DSPATR(RI) A DSPATR(UL) A 6 3'ENT=PICK LBL' A COLOR(WHT) A 6 17'F3-Ext' A COLOR(WHT) A R MSGRCD SFL A*%%TS SD 20090401 010400 KSS991U REL-V4R4M0 5769-PW1 A SFLMSGRCD(24) A MSGKEY SFLMSGKEY A PGM SFLPGMQ(10) A R MSGCTL SFLCTL(MSGRCD) A*%%TS SD 20090401 010400 KSS991U REL-V4R4M0 5769-PW1 A SFLDSP A SFLDSPCTL A 01 SFLINZ A SFLSIZ(0002) A SFLPAG(0001) A PGM SFLPGMQ(10) ************** End of data ***************************************

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

This error is normally caused by an invalid relative record number for a subfile (SFLRRN). You should see some other messages in your joblog which will tell you more information.

Regards,

Martin Gilbert.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Askt
    i got below errors while call this program. i checked in dspjoblog below errors i found. please advice Cannot process subfile request for file WDRPIK in library NITCO. Session or device error occurred in file WDRPIK. Application error. RNX1255 unmonitored by XOP560 at statement 0000000249, instruction X'0000'.
    265 pointsBadges:
    report
  • Gilly400
    Hi, If you press help on each message you should see more information. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • mcl
    A SFLSIZ(0002) A SFLPAG(0001) May have something to do with it. Depends on how you have written the RPG. SFLPAG of 0001 means you only have one subfile record on the screen. You might want to try increasing the size of the subfile and the size of the subfile page. Regards Mike
    2,740 pointsBadges:
    report
  • BigKat
    Since you are only showing one record at a time on the screen, this error probably means there were no subfile records created but the program didn't check and attempted to display the subfile anyway. If that is not the case, as Martin said, your SFLRRN was probably either not set (i.e. 0) or was set greater than the number of subfile records generated. Kevin C. Ketzler - Affiliated
    8,350 pointsBadges:
    report
  • tjgm88
    You might want to take a dump of the program when it crashes and look at the value in SFRRN. This might give a clue as to what the problem is. Cheers.
    995 pointsBadges:
    report
  • aceofdelts
    Usually an empty subfile. Can also be an undefined numeric field (unlikely in your case - looks like you have a message subfile). A good practice is to flag (or count) that you have something in your subfile. If empty then display an alternate screen that has no subfile (e.g. a combo prompt-plus-subfile blows up if sfl is empty so I test first and just do the prompt as a separate screen if sfl is empty). Of course, I'm getting a similar halt today at the SFLCLR point. I'll follow up with the cause of that once I get it resolved.
    1,960 pointsBadges:
    report
  • aceofdelts
    Aha ! My halt on the SFLCLR was because I was doing an EXFMT on the clear. This must be a Write. So feasible that your pgm might be doing similar - an EXFMT to a message subfile would likely give this error. Mike L.
    1,960 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following