|
If you are at V5R4 and want a logical file that performs record--
selection, and want to use DDL, you will need to use a view.
But what happens when you want to select records with NCSTAT with a
value other than 'D' ? You will need another view.
The best approach, IMO, is to create 1 index with both NCSTAT and
NCNPROD defined.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
daparnin@xxxxxxxxxxxxxx
Sent: 15 March 2010 14:37
To: Midrange Systems Technical Discussion
Subject: RE: DDL Record Select
Thanks to all for the responses. We are at V5R4 so I will probably have
to investigate the difference between an index and a view. The end
result
that I want is a keyed, sorted logical file that does record selection.
I'm trying to "modernize" my approach to such things but I'm still
getting
up to speed. Rob mentioned the record format. I've been creating the
file with the record format name and then renaming it to the real file
name so the record format stays with what I want it to be. I was
thinking
that the ability to specify a record format name was a V6R1 thing. As
for
why we're not on V6R1, it basically hasn't bubbled up on the priority
list
for those allocating the resources.
Dave Parnin
As an Amazon Associate we earn from qualifying purchases.
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.