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



Jim,

Yes, I'm aware of that. Its just telling me that I overrode the
displayed size of the field. The way Plex handles this is the it
defines the visible field (S000IV) along with a hidden full-length
version (H000IV).

A S000IV 15 B 10 67
A TEXT( 'Customer Name' )
A DSPATR( &G0000R )
A CHANGE( 03 'Modified?' )
A G0000R 1A P
A H000IV 25 H

In the data structures used to move data around, you'll see:
(Visible "Grid")
* 'Customer Name'
D S000IV 83 97A INZ
*
D U000IV 83 107A INZ

(Hidden "Grid")
* 'Customer Name'
D H000IV 83 107A INZ


So in short, that's a warning I can ignore as the effect is intentional.

Charles


On Mon, Oct 13, 2008 at 2:08 PM, Jim Franz <jfranz@xxxxxxxxxxxx> wrote:
Charles,

(i've only paid attention to your last post, but you have a warning in
generated source that may be part of problem)
1.. A*
2.. A* Warning-BLD-1636:Length of field 'Customer Name' on the panel:
'15'
3.. A* differs from its length in the program: '25'
4.. A*
5.. A S000IV 15 B 10 67
Check your compile of the RPG - is S000IV 15 or 25 in RPG and did the
compile ignore the definition within the RPG?

Jim Franz
----- Original Message -----
From: "Charles Wilt" <charles.wilt@xxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, October 13, 2008 1:33 PM
Subject: Re: Permanent I/O Error occured to DSPF


Terry,

I'm not sure how to use STRSDA option(3) given the subfile. Testing a
record other than the subfile or subfile control, seems to work (even
with those to listed as "additional records to display". But when I
try to test the subfile or subfile control record, I get an error
about SFLRCDNBR not being correct.

Also, it'd take some work to figure out what all the indicators
settings should be.

Here's the full source, but beware, it is generated code.
http://code.midrange.com/dd884c0071.html

Charles


On Mon, Oct 13, 2008 at 12:13 PM, Terrence Enger
<tenger@xxxxxxxxxxxxxxxx> wrote:
On Mon, 2008-10-13 at 11:10 -0400, Charles Wilt wrote:
Ok,

I added some code to '-' fill the fields but I still get the same error.

I'm not sure rather to feel better or worse...but apparently the x'00'
fill of the field was in keeping with the specs. Of course, now I'm
back to were I started....

Charles


Charles,

Is STRSDA OPTION(3) happy with the file?

Can you share the dspf with us?

Cheers,
Terry.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.