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



All of that is pretty much a moot point today. Any SQL table needs a
primary key and should be an identity key.

On Tue, Jul 31, 2012 at 9:37 AM, Voris, John <john.voris@xxxxxxxxxxxxx> wrote:
Another reason to not key the PF is because of DFU.

If you use the UPDDTA command of DFU, it generates a maintenance screen
on the fly. When you use UPDDTA on the PF, then your DFU screen shows
the file to you in RRN sequence.
The only other alternative for viewing a file in RRN sequence is to view
the file in HEX format from the DSPPFM command.

The advantages are many:
If you want to see recently added records from your testing, you
can scroll through records from the end of file.
Deleted records are immediately noticeable as the *RECNBR field
shows you RRN#.
ISO date and time fields in a key are usually a PITA to deal
with, so having other ways to access the file ( by RRN or other keys) is
truly handy.

The reason I remember was that doing a CPYF of an unkeyed PF was much,
much faster than doing a CPYF of a keyed PF.
I have no idea of that is still true or not but we still follow that
rule and never key a PF
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.