I'm fairly new to this does anyone know a way of obtaining a future date using the SETVAR command?
I want to obtain the date 9 in CCCCMMDD format of the next calendar Sunday I have tried something like this... //*%OPC SCAN //*%OPC SETVAR TEMP=(7 - CDAY) //*%OPC SETVAR TSUN=(CYMD + TEMP) but it doesn't work any ideas? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

