Edit macro @DATE Edit macro @DATE Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. @DATE users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST, and in IS03.SPF2.MACROS for use on SPF/PC -------------------------------------------------------------------------------- @DATE Date conversion/display edit macro, via SHOWDATE clist -------------------------------------------------------------------------------- related SHOWDATE -------------------------------------------------------------------------------- Displays the result of date conversions from SAS date format (03MAR87), yr/mo/dy, and yrddd formats. PFK-1 must be used afterwards to be able to see all of the conversions. -------------------------------------------------------------------------------- ISREDIT @DATE date -------------------------------------------------------------------------------- Examples: @DATE /* will return current date @DATE 1987/07/20 @DATE 87201 @DATE 20JUL87 +------------------------------------------------------------------------------+ | example invoking | +------------------------------------------------------------------------------+ | EDIT --- xxxx.xxxxx.xxxx(mbr) - 01.00 ------------------ COLUMNS 001 124 | | COMMAND ===> @DATE 87201 SCROLL ===> CSR | | ****** **************************** TOP OF DATA | | ***************************** | | ****** ************************* BOTTOM OF DATA | | ***************************** | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | results in upper right corner, and after hitting pfk-1 also the help line | | EDIT --- xxxx.xxxxx.xxxx(mbr) - 01.00 --------------- 87/07/20 87201 MON | | COMMAND ===> SCROLL ===> CSR | | ENTERED AS "@DATE 87/07/20" | "@DATE 87201" | "@DATE 20JUL87" -- MON | | ****** ************************* BOTTOM OF DATA | | ***************************** | +------------------------------------------------------------------------------+