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



Title: RE:

The best advice anyone can give you is something you do not want to hear but ... Bite the bullet and fix the problem, you will be way far ahead of the game if you take this time to plan the conversion the right way and do not resort to tricking out the programs.

Not knowing your database situation, this may or may not apply however, define your new table with enough wiggle room for growth, but not so much wiggle room to be wasteful. For the client number field, you might think about using a two part primary key (if DB2 or the standard AS400 database). Once you define the table, you could write a quick and dirty program to populate the file, and take your time recompiling and testing the programs that access it (assuming that your back is not currently against the wall).

Old

Client-Number 7,0               Primary Key


New

Client-Prefix           Primary Key 1
Client-Suffix 7,0               Primary Key 2

If you pick something useful for primary key 1 (like first three characters of last name or the state abbreviation) you may be able to derive other benefits from the work. This is my way of saying you may already have a high order qualifier defined and all that is needed is to re-key the table. <Yes I know this is a trick, but not all of the folks have terabytes available>

-----Original Message-----
From: GRIFFITHS, Clive [mailto:GRIFFIC@aisl.uk.com]
Sent: Friday, May 26, 2000 04:36 AM
To: MIDRANGE-L@midrange.com
Subject:


some time this year we will need to do some work to extend the range of our
client numbers available.

The current field is defined as 7,0 S (zoned decimal). Do you know of a way
to use hex/alpha characters so that we don't need to make any database
changes?


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.