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



Maybe debug your program and break just before your EXFMT (and maybe any WRITE)
op codes. Inspect data you are sending to your display file and look for (in hex mode)
data less than x40 (ebcdic blank or space character).

Also, is the device you are sending too capable of 27x132 ? configured for 27x132 ?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Hasley
Sent: Friday, May 24, 2013 1:10 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Issue with 27x132 displays on iSeries

Hello,



I have been debugging an issue on our system for the past couple days with no luck. We have an FTP program that restricts access for users and will display a message on a 5250 session (display file) saying the user is not allowed access.



The program works as expected when 5250 sessions are configured to display screen 24x80 but when I use 27x132 I get the following error:



CPF5192 Diagnostic 50 23/05/13 09:41:18.273864 QWSERROR
QSYS 0630 QWSUIEH QSYS 012A

Message . . . . : Data sent to device
QPADEV0001 not valid. Negative

response code is 10050122.

Cause . . . . . : The condition was
caused by the program output data

containing below hex 40 or too many input fields. More information on the

negative response code can be found in either the IBM 5494 Remote Control

Unit Functions Reference (under negative responses) or the SNA Formats

Manual (under SENSE or LUSTAT codes).
Invalid data (below hex 40) may have

occurred in one of the following
ways: Invalid parameter data passed in

variable to command language program.
Variable is used in SNDPGMMSG

command. Command fails when data is displayed. Hexadecimal characters below

hex 40 entered into TEXT parameter of create command. Display command for

object fails when object parameters are displayed. Data base record

containing invalid data displayed by the application program. Failure to

specify RSTDSP(*YES) when alternating displays from more than one file to

the device, where both files have
input fields. Recovery . . . : Correct

the program or the output data. Try the command again. If the problem

occurs again, enter the ANZPRB command to run problem analysis.



I have researched around on the internet and saw suggestions for changing
ENHDSP(*YES) RSTDSP(*NO) DFRWRT(*YES) on the CRTDSPF command to have different combinations of *YES/*NO and that did not help. My display file currently is defined with DSPSIZ(24 80 27 132) and I have tried using just
DSPSIZ(24 80) and DSPSIZ(27 132).



I am currently lost for ideas so if anyone else out there has an idea please let me know.



Thanks,



Aaron R. Hasley

Lead Developer/Senior Software Engineer
<http://www.centerfieldtechnology.com/> Centerfield Technology, Inc.
(507) 287-8119 ext. 155
<mailto:ahasley@xxxxxxxxxxxxxxxxxxxxxxxxx>
ahasley@xxxxxxxxxxxxxxxxxxxxxxxxx



There are 10 kinds of people in this world.

Those that can read binary and those that can't.



--
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.




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.