You can use a concept called "derived index" to address this.
CREATE INDEX &LIB/fileI01
ON file
(substr(company,1,15));
Steve Needles
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kevin
Sent: Thursday, March 01, 2018 12:20 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: DDS question
Thanks Rob,
The problem I have was that the Index in question took the first 15 chars of a 40 byte company name.
So I've created a DDS version of the physical file and of course defined the company name in there - my challenge was SST'ing that forced me to explicitly name the rest of that field and the other fields in the file, in the logical - otherwise I end up with a logical with only the key fields.
The reason I didn't use DDL was because I started using TARGET400 to do this migration and that of course uses old DDS..however I'm inclined to agree with you. Maybe I grab TARGETS DDS-DDL converter..
Also I wanted to do this in steps as my client is a very small shop and just want a working solution quickly for GDPR - so we can audit the field changes and maybe use encryption. Once there we can beautify the app without the pressure.
Regards
Kevin
--
Kevin Passey
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
CONFIDENTIAL: The information contained in this email communication is confidential information intended only for the use of the addressee. Unauthorized use, disclosure or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return email and destroy all copies of this communication, including all attachments.
As an Amazon Associate we earn from qualifying purchases.