hi, i am getting -313 error when doing dynamic sql through cobol,
i am putting screen shot,just check that and jcl code.
You probably do not want to define the SYSIN data in binary. . . Simply do as suggested and move the character data to the binary field after the character value is validated.Or change your input to Binary Integer