z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using &STR with &SYSDATE or &SYSSDATE

z/OS TSO/E CLISTs
SA32-0978-00

If you use &SYSDATE or &SYSSDATE on a CLIST statement other than WRITE, enclose the variable in an &STR built-in function. Otherwise, a CLIST views the slashes separating the day, month, and year as division operators and performs division.
SET TODAY = &STR(&SYSDATE)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014