>> You could consider:  //SYSUT1  DD  *,SYMBOLS= instead of ICETOOL and 
substitute the dynamic system symbols for &YYMMDD and &HHMMSS, however:

Paul,

DFSORT has the ability to read system symbols defined here

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2e2c2/2.2.2?


> Does ICETOOL cover the midnight pitfall?

What exactly is the midnight pitfall? If you used the LOCAL system symbols 
then you would get the local time.  DFSORT also has several date formats 
and it is based on the time the step ran. 

If you meant that a job that started at 11:59:59 PM and the SORT step ran 
at 00:00:10 then we would get the next date as SORT would not have any 
idea about when the Job started. 


Thanks,
Kolusu
DFSORT Development
IBM Corporation

IBM Mainframe Discussion List <[email protected]> wrote on 
09/13/2016 08:54:57 AM:

> From: Paul Gilmartin <[email protected]>
> To: [email protected]
> Date: 09/13/2016 08:55 AM
> Subject: Re: DFSORT - ICETOOL - Search for text and replace with date
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> On Tue, 13 Sep 2016 10:36:18 -0500, Elardus Engelbrecht wrote:
> >
> >Now, a client asked whether it is possible to insert run date in 
> the file names of those attachments for easy retrieval at a later stage.
> > 
> >//INVOER   DD * 
> > 
> You could consider:  //SYSUT1  DD  *,SYMBOLS= instead of ICETOOL
> and substitute the dynamic system symbols for &YYMMDD and &HHMMSS, 
however:
> o The format isn't pretty
> o IBM needs to address the midnight pitfall, however minuscule.
> 
> Does ICETOOL cover the midnight pitfall?
> 
> -- gil
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to