Truncating parameters!
20 pts.
0
Q:
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: Sep 9 2009  8:10 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
6500 pts.
0
A:
 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0
  • AddThis Social Bookmark Button
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 Answered: Sep 9 2009  8:41 PM GMT by CharlieBrowne   6500 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

JeffWilson   20 pts.  |   Sep 10 2009  12:24PM GMT

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

 
0