What could be the reson for OVRDBF and OPEN on file is not working in RPGLE program.

695 pts.
Tags:
OVRDBF
RPG ILE
RPGLE
Hi All, Can anyone please help me with below issue. The is a program abend in our production system in RPGLE program and with in that following operations happening, but i found errors while running program as below. following are the breif Sequence of operations written in RPGLE: 1. File(FMABCF)is declared as USROPN in F Spec. 2. OVRDBF FILE(FMABCF) TOFILE(FMXXXF)using QCMDEXC,please note XXX in the file name will replace with one of the program parameter on fly. 3. OPNQRYF FILE(FMXXXF)with few joing conditions. 4. Open FMABCF 5. Read FMABCF While i am debugging the program in developement box to replacate the error, i also encountered with same issue and saw following error messgaes in Joblog after completion of above steps in program by using DSPJOB. 1. Diagnostic message - List of values not valid for parameter TOFILE, Error found on 0OVRDBF command 2. Error on opening file 3. Escape Message - I/O operation was applied to closed file FMABCF. Could anyone please help me what could be the reason of OVRDBF is not happened correctly and other subsequent errors.

Answer Wiki

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

Might sound obvious, but sounds like the parameter that’s determining the TOFILE might be corrupted?

Discuss This Question: 2  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
  • HMSSL2K
    You should post all message ID's and the job log.
    3,175 pointsBadges:
    report
  • philpl1jb
    Check out the value in FMXXXF at run time. If I issue the command OVRDBF FILE(MYFILE) TOFILE(FM TST) with a bad char or space in the tofile neme I get the error: "List of values not valid for parameter TOFILE." And my override doesn't work. Phil
    49,540 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