× 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.



Sorry for posting here.
Let me post in the RPG-400 List.

Thank you all for responding.


----
Regards,
Mohan Eashver


On Sat, Apr 14, 2018 at 4:56 AM, Birgitta Hauser <Hauser@xxxxxxxxxxxxxxx>
wrote:

Just to make it sure:
When you try to open the window (EXFMT) ...
1. Is the window small enough that it can be displayed on the screen?
2. Is the position (starting row / starting column) small enough that the
window can be displayed in the screen?

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
„Train people well enough so they can leave, treat them well enough so they
don't want to.“ (Richard Branson)


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Paul Roy
Sent: Freitag, 13. April 2018 22:49
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: RPG program halting with RNX1251 Permanent I/O error occurred
in DISPLAY file

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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.