20 pts.
 Truncating parameters!
I haev a 6 position alpha variable that has a value of '12345 ' (a trailing blank). When I submit a job that does a CALL to a pgm with that variable as a parm, the submitted job has the value of that parm as '12345' with no trailing blank. Both pgms declare the variable as 6 *CHAR. I know there are issues with parms over 32 positions, but this is just 6! Can someone help? THANKS! Jeff

Software/Hardware used:
iSeries V5R4
ASKED: September 9, 2009  8:10 PM
UPDATED: September 10, 2009  12:24 PM

Answer Wiki:
There is no reason this should not work. Can you give us snipets of the code and you call? It is easier to determine what the problem is whe we see the whole picture.
Last Wiki Answer Submitted:  September 9, 2009  8:41 pm  by  CharlieBrowne   32,785 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,785 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

SORRY! It turns out that my code following it was wrong. I was using SEQUEL (by HELP SYSTEMS) and didn’t realize that I needed double quotes around my character string. Thanks!

Jeff

 20 pts.