I have a question, when I have the example below:
15 XXXX-DES-DESTINATARIO-LEN PIC S9(4) USAGE COMP.
15 XX-DES-DESTINATARIO-TEXT PIC X(1000).
My question is when I have a varchar field, and I want to update the table.
When I have a varchar field I have to set the pic s9(4) with a value?
Because I executed a aplicattion here and the return is -311, 311 means THE INDICATED LENGTH OF A HOST VARIABLE IS NEGATIVE.