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



Douglas,

I don't think you can do this. You can use the SST (substring) function to trim out a portion of a field; I do that all of the time. But I think it has to have another name; such as:

A IVCTLG A BRAND I SST(IVDESC 1 4) A IVQS A IVCSTS where the 'IV' fields are data fields in my item master, but 'BRAND' is the first two positions of the item's description.


        * Jerry C. Adams
*iSeries/i5 Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
        615.893.8633x152
fax
        615.995.1201
email
        jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Douglas W. Palme wrote:

I have a PF with a field name of ILNINV#A which is 2 characters in length, however I need to trim it in my logical to just the FIRST CHARACTER, can I specify the length in the logical to just 1 character and if that will work will it in fact only the trailing character?


If you bought, it was hauled by a truck - somewhere, sometime.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.