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



hump..I wonder if you really can use *Start/*End with SETGT in VisualAge RPG
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/books/sc09245102.htm

"Once the SETGT operation is performed, the file is positioned so that it is
immediately before the first record whose key or relative record number is
greater than the search argument specified (search-arg). This record can be
retrieved reading the file. You can use *START and *END for file
positioning. If you specify either *START or *END for search-arg, note the
following..."

For the record, *Start/*End was introduced in v4.4 and the "What's New
Section" says its avaliable for SETLL, and makes no other reference to other
file opcodes such as SETGT & CHAIN...

JoeM


----- Original Message -----
From: "OPLink" <as400@xxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, December 05, 2007 6:16 PM
Subject: SETGT *End/*Start



We are on 5.3 and I can not use the *END or *START
with SETGT as shown below. In SEU the error message
RNF5318 pops up when enter is pressed. I can not find any
docs on the cause of error or that I can even use the *START/*END
with SETGT. However, they both work fine for SETLL.

Am I missing a PTF??

thanks
JoeM
-----------------------------------

C *START SETGT ITEMBL

Factor 1 entry has a data type that is not allowed for this operation;
speci...


-----------------------------------
F1 on message line
-----------------------------------
Additional Message Information

Message ID . . . . . . : RNF5318 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic

Message . . . . : Factor 1 entry has a data type that is not allowed
for
this operation; specification is ignored.
Cause . . . . . : The Factor 1 entry (positions 12 - 25) must have the
correct data type.
Recovery . . . : Correct the Factor 1 entry (positions 12 - 25).
Compile
again.
--
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.