home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!bcm!convex!news.oc.com!eff!sol.ctr.columbia.edu!spool.mu.edu!hri.com!noc.near.net!mars.caps.maine.edu!maine.maine.edu!cunyvm!psuvm!auvm!VEGA.SELU.EDU!TMIS1692
- From: TMIS1692@VEGA.SELU.EDU (Kevin Calmes)
- Newsgroups: bit.listserv.notis-l
- Subject: Re: IDCAMS LISTCAT SYSTEM-TIMESTAMP Thank you!
- Message-ID: <01GQY2W0DCKY8WWF3W@vega.selu.edu>
- Date: 9 Nov 92 16:36:25 GMT
- Sender: NOTIS discussion group list <NOTIS-L@TCSVM.BITNET>
- Organization: Southeastern Louisiana University
- Lines: 35
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- X-Envelope-to: notis-l@TCSVM.BITNET
- X-VMS-To: IN"notis-l@tcsvm.bitnet"
- MIME-version: 1.0
- Content-transfer-encoding: 7BIT
-
- Special thanks to Tim Prettyman!
-
- The SAS program to convert the TOD time stamp from hex to gregorian date works
- just fine. Here it is again in case you missed it. The IDCAMS LISTCAT
- SYSTEM-TIMESTAMP that I wanted to convert was X'A6894B7C4CA3C000'.
- (I ran it under DOS/VSE/SP 3.1.2 and SAS 5.16)
-
- 1 DATA _NULL_;
- 2
- 3 TIME = INPUT('A6894B7C4CA3C000'X,TODSTAMP8.);
- 4 PUT TIME DATETIME.;
- 5 RETURN;
-
- The result:
- 03NOV92:00:01:55 (Note that the time is GMT)
-
- The original purpose was to find out when a file was last used. The IDCAMS
- LISTCAT SYSTEM-TIMESTAMP shows the time-of-day clock value the data or index
- component was last closed after being opened for operations that might have
- changed its contents.
-
- Thanks again for the help and we will share it with all.
-
- Kevin
-
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * Kevin Calmes Internet: TMIS1692@SELU.EDU *
- * Library Programmer - TECH1 IP# 147.174.1.5 *
- * Computing Services - MIS Voice: (504) 549-3645 *
- * Southeastern Louisiana University Fax: (504) 549-5092 *
- * Box 409 SLU Station IBM 4361-M5 DOS/VSE/SP 3.1.2 *
- * Hammond, LA 70402 USA VTAM 3.1 CICS 1.7 VSE/POWER 2.3 *
- * NOTIS 4.6.1 GTO 3.0 *
- * "Die on your feet or live on your knees" - Yngwie J. Malmsteen *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-