Just a thought -- I haven't coded in Cobol for 20+ years but
could it be that there are some special unprintable characters in field PICFIELD ?
I think that if the field is not initialized with blanks what happens when you move 'PIC 999888.jpg' into the field?
You could try to start the debugger and use the command
eval picfield:x
after data has been moved into picfield
Thus you can see the hexvalues in the string.
could it be that there are some special unprintable characters in field PICFIELD ?
I think that if the field is not initialized with blanks what happens when you move 'PIC 999888.jpg' into the field?
You could try to start the debugger and use the command
eval picfield:x
after data has been moved into picfield
Thus you can see the hexvalues in the string.
Comment