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



We have a simple query on a file containing invoice information. The
invoice number is the key value and is a numeric 6 field with no
decimals.

I now need to add one piece of info from another file.  My problem is
that in the other file the invoice number is stored left justified in a
22 character field.

I studied the DDS manual that says I can convert character to numeric if
the characters are all digits but I can't come up with the logical file
that will compile.

I can use SST(char_22_field 1 6) and get a 6 character invoice number
but that does me no good with the joining of the 2 files in query.

Can I create a logical file with a 6 digit invoice number from the 22
character field in the physical file?

Thanks,
Greg 

   


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.