TEMPLATE string-in,string-out,template[,FILL=X]
TEMPLATE statement copies string-in in string-out using template, that is copying characters in position corresponding to character 'X' (a typical example: TEMPLATE DATE,PIC,'XX/XX/XX').
Parameter Name Mode Type coding Remark 1 string-in Input String C or X String to be formatted; max length 255 char. 2 string-out Output String C or X Output string; max length 255 char. 3 template Input String C or X or const. Start inside 2nd parameter; first character has position 1 FILL=X Input Constant character
Back | Start | Next |
RTRIM | Top | TRANSLAT |