How about: let $filename = 'C:\PS\SQR\ERRFILES\' || $AsOfToday || '_PYMST_COMPERR.txt' open $filename as 1 for writing ...blah, blah, blah Raymond M. Riepenhoff Lockheed Martin Utility Services, Inc. Computing Specialist PO Box 628 Information Technology XT-801, MS 6001 Business Applications Support Piketon, OH 45661 Phone: (740) 897-2331 ext 5842 FAX: (740) 897-2066 e-mail: riepenhoffrm@lmus.com
-- BEGIN included message
- Subject: How do I set dynamic filename
- From: Dominick Logiudice <dlogiudice@PINE.VPCC.SUNYSB.EDU>
- Date: Thu, 3 Dec 1998 11:28:34 -0500
I want make a file name unique for each run. Right now I do this OPEN 'C:\PS\Sqr\ERRFILES\PYMST_COMPERR.txt' AS {out} I would like to change this to 120398_PYMST_COMPERR.txt have the date or something in there so I don't overlay a previous error file. Thanks
-- END included message