If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
which joins two strings with the first string trimmed (without trailing blanks ), TCAT results in a string that has no embedded blanks no matter how many trailing blanks were found in the string
Thanks Giri, but my problem is that i dont want to concatenate 2 strings, just remove the trailing blanks of a variable and send it as a parameter to some other program.
Is this question hinting at another problem. Does this variable contain "garbage" when it reaches the called program....and is this parm Xtra long like 25 + Characters?
If so then make this parameter the last in the plist.
otherwise there is no need to trim the trailing blanks of a character field just clear it first
and move your data into it.
Jamie
All my answers were extracted from the "Big Dummy's Guide to the As400"
and I take no responsibility for any of them.
i am calling a standard program which already exists in the application so i cant change the sequence of the parameters. Also, it is only 10 char long.
any ideas on how to fix the problem in the CL which i am making?
Comment