× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I haven't used DDS WINDOW for a long time, but from what I remember, a
record format with WINDOW is supposed to overlay something..
It is not clear to me in your example that this is the case...
I would try to just WRITE a blank record (with DFRWRT) before the EXFMT
of the WINDOW record

but you could be more lucky to post this to the RPG list...

Paul



From: Mohan Eashver <mohankva@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 13/04/2018 21:38
Subject: RPG program halting with RNX1251 Permanent I/O error
occurred in DISPLAY file
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hello

I have an RPG that displays a subfile with an OVERLAY.

After some user action, i call another program that has it's own DSPF.
This
way there are 4 to 5 programs called with their own DSPF. And all screens
have been compiled with Restore display RSTDSP(*YES) attribute.

When control returns to my 1st program, I am displaying a WINDOW without
any OVERLAY & not using any of the keywords CLRL, OVERLAY, PUTOVR,
PUTRETAIN, ERRMSG, or ERRMSGID.

But program fails with below message on EXFMT of the Window record format.
What do you suggest ?

The major return code is 80.

Message ID . . . . . . : RNX1251 Severity . . . . . . . : 99

Message type . . . . . : Escape



Message . . . . : Permanent I/O error occurred in file INPR410S.

Cause . . . . . : RPG procedure INPR410R in program PRODUCTION/INPR410R

detected a permanent (not recoverable) file, session, or device error.
The
session, device and/or program has been stopped. Examine the
major/minor
return code value to determine the specific error that occurred. If the

major return code is 80 then a system or file error occurred and
programmer
action is required to fix the problem.

----
Regards,
Mohan Eashver

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.