Can someone tell me please how to strip blanks from the variable from the ISPF SKELETON?. When the skeleton executes, I have a variable that is passed to the skeleton that has BLANKS in it and need to strip those blank directly in the SKELETON.
I tried &TRUNC, &LENGTH, LEFT and many other commands, but nothing seemed to work. I also tried to invoke REXX directly from the skeleton, but can’t pass a variable to the rexx. The code looks like this:
/* REXX */
SAY 'ARG =('ARG')'
SAY 'DESTID =('DESTID')'
DESTID is the variable that has spaces. When REXX executes, nothing is passed on to it.
This has to be done from within the SKELETON. Please help.