Hi,
I have an error in a CLLE program with CPYTOIMPF command and I don't know how to fix it.
.. but in debug mode I have this:
&the rest of command..
I don't know why I have null character in my &VAR1, I tried with %TRIM before to CPYTOIMPF command and also in the body of the CPYTOIMPF command but no result..
My &VAR1 is 100 length char, but I have only 10-20 char for this case.
Thanks
I have an error in a CLLE program with CPYTOIMPF command and I don't know how to fix it.
Code:
CPYTOIMPF FROMFILE(MY_FILE) TOSTMF(&VAR1) + STMFCCSID(*PCASCII) RCDDLM(*LF) + STRDLM(*NONE) STRESCCHR(*NONE) + RMVBLANK(*BOTH)
Code:
CPYTOIMPF FROMFILE(MY_FILE) TOSTMF(X ' 61C4E2D561404040404..40404')
I don't know why I have null character in my &VAR1, I tried with %TRIM before to CPYTOIMPF command and also in the body of the CPYTOIMPF command but no result..
My &VAR1 is 100 length char, but I have only 10-20 char for this case.
Thanks
Comment