To pass it directly you have to pass the parm in hex. Define *CHAR 5 DCL &DATE *CHAR 5 VALUE(x'020040109') or chgvar &DATE x'020040109' Notice the leading zero, it must be odd number of digits. The better way is to add a command fromt end to the HLL and declare the variable as *DEC and avoid the hex altogether.

Reply With Quote