|
Good Morning All, I wrote a simple Load-all subfile program SFR001 to access CUSTOMER file.I wrote the same program(same load all) by giving different name SFR001A to access same CUSTOMER. When I call SFR001A it is throwing the error " Session or device error occurred in file SFD001 (C G D F)."
I took D to see dump, the one statement that attracted me is as below Message Identifier . . . . . . . . . . : CPF5021 Incorrect relative record number or field selection error. In the additional message information by F1 , I can seen below Message ID . . . . . . : RNQ1255 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . : 08/22/06 Time sent . . . . . . : 08:30:43Message . . . . : Session or device error occurred in file SFD001 (C G D F).
Cause . . . . . : RPG procedure SFR001A in program PASCOJ/SFR001A at statement *INIT detected a session or device error. Recovery may be possible. Examine the major/minor return code value to determine thespecific 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.Can some one advise why the second program(SFR001A) is throwing this exception, though it is same as that of SFR001?
Thank you all, JoeP _________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.