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



Views don't have index, read can not predict the order, but indexes can be created with all or some fields from the table, and some rows can be selected in the index. Almost like a view.


On 01/17/2017 11:00 AM, Justin Taylor wrote:
READxx? But views have no key.

-----Original Message-----
From: Nathan Andelin [mailto:nandelin@xxxxxxxxx]
Sent: Monday, January 16, 2017 11:01 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Road Map to move a home grown application from RPG to DB2 SQL or to any other data base platform

Views can't be accessed by RLA and indexes are limited with their
definitions.

RPG "F" specs and READxx opcodes CAN reference SQL Views... No problem. For some reason I just had a deja-vu moment - like I answered this question once before.

My recommendation is: first change your access method from RLA to SQL -
it's rather easy.

My recommendation is to use SQL for use cases that call for "sets" (i.e.
dynamic queries), and use RLA for when you need to insert, update, delete, find, and check the existence of just one record.


if you introduce a functional data access layer. Then you have all
prerequisites to switch your data definition from DDS to SQL DDL and
redesign your database, without any harm fro your applications.

I'd suggest that functional data access layers can provide wrappers around RLA in addition to SQL.



-- Este e-mail fue enviado desde el Mail Server del diario ABC Color -- -- Verificado por Anti-Virus Corporativo Symantec --

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.