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



Given:
lib = 'MYLIB'
file = 'MYFILE'
mbr = 'MYMBR'

Both examples would produce:
'MYLIB/MYFILE( MYMBR )'

Trim is not really implied, it is a different type of string.  One that stores 
the length of the string so it knows where it ends.

The difference is, if I say with a varying field lib:
C       Eval      lib = 'MYLIB'
then lib has the value of 'MYLIB'.

If, I say with a 10 length string:
C       Eval      lib = 'MYLIB'
then lib has the value of 'MYLIB     '

Regards,

Jim Langston

From: "Fisher, Don" <Dfisher@roomstoreeast.com>
So the %TRIM is implied when concatenating fields into a VARYING field?

Suppose I change your example to:
qualname = lib + ' / ' + file + '( ' + mbr + ' )' or
qualname = lib + '/' + file + '(' + ' ' + mbr + ' ' + ')'

Would the spaces remain in the concatenated string in either example?


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.