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



*START did the job.
Many thanks
Robin

-----Original Message-----
From: Scott Klement [mailto:klemscot@xxxxxxxxxxxx]
Sent: Thursday, April 10, 2003 12:48 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: OPNQRYF with 



If SETLL doesn't work, you might try the POSDBF command (CL command)
you can call it from your RPG with QCMDEXC...

On Wed, 9 Apr 2003, Joe Pluta wrote:
> >
> > I am doing a dspfd to a file in QTEMP and then using OPNQRYF to filter
and
> > sort this file in a CLP before using it in an RPGLE program.  The
probably
> > is I want to read another file and for each valid record read the
OPNQRYF
> > file from the BOF, but I can't remember how to reposition this file to
the
> > BOF every time. I get a compile error if I use *LOVAL..
>
> This is the third different question I've answered with the same response
> <grin>.  Try SETLL with *START in factor 1.
>
_______________________________________________
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 ...


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.