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



OVRDBF has various positioning parameters - not for the faint of heart, necessarily, especially if you have a packed field in the mix.

From the help text -

For example, POSITION(*KEY 1 FMT2 X'123F') specifies that:

1. The system searches for a record from the record format FMT2.

2. A single key field is used in the search (even though the key
value may have more key fields).

3. The record contains the hexadecimal value 123F (the hexadecimal
equivalent of packed decimal value 123.0). You get this record
when it is found.

Vern

Adam Glauser wrote:
I have this feeling that I read about a way to do the equivalent of RPG's SETLL (which the positions to a record by key or RRN) with CL commands.

I can't remember anything other than that, and my searching by topic and the keyword 'file' in the Infocenter isn't helping (surprise!).

Is there such a method, or am I just haverin'?

TIA,
Adam

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.