Article View: bit.listserv.xedit-l
Article #757Re: Editing a file w/o changing the date the file was acces'd
From: Bill Verity
Date: Thu, 25 Jun 1992 16:07
Date: Thu, 25 Jun 1992 16:07
32 lines
1878 bytes
1878 bytes
You will have to change the date after you make your changes to the file. I'm including a note that discusses the DMSPLU command for doing this. Date: Thu, 4 Jun 1992 18:08:00 ET From: chip.davis@AMAIL.AMDAHL.COM Subject: Changing a date of a file There's a lot of OLDDATE, FIXDATE, MYDATE, etc. Assembler routines floating around that cobble the FST date/time field to some arbitrary value. There's not much to writing one, but the quality and robustness varies with the programmer. IBM Marketing, in response to a secret Share requirement for a facility to backdate status reports, forced VM Development to write DMSPLU and include it in CMS, starting at Release 5.6. It is distributed as a MODULE on the S-DISK, and is OCO, of course. My version (ESA 1.0/9201) has 'DMSPLU V01M00 10/04/90 15.10' imbedded in it. The syntax seems to be: DMSPLU fn ft fm mm/dd/yy hh:mm:ss Leading zeros seem to be necessary, or you get Rc=24. The only drawback seems to be that it is inconvenient to invoke it from FILELIST, due to the slashes in the syntax. You may want to cover the module with an exec and change the date syntax to use dashes, instead. Enjoy! -Chip- VM Instructor Amdahl Corp. Columbia, MD
Technical Details
Message-ID:
<92177.120749WHV@psuvm.psu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!psuvm!whvReferences:
<XEDIT-L%92062509583369@UGA.CC.UGA.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c92b,e5d796443e77092a X-Google-Attributes: gid10c92b,public X-Google-ArrivalTime: 1992-06-25 01:10:00 PST Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!psuvm!whv Organization: Penn State University Date: Thu, 25 Jun 1992 12:07:49 EDT From: Bill Verity <WHV@psuvm.psu.edu> Message-ID: <92177.120749WHV@psuvm.psu.edu> Newsgroups: bit.listserv.xedit-l Subject: Re: Editing a file w/o changing the date the file was acces'd References: <XEDIT-L%92062509583369@UGA.CC.UGA.EDU> Lines: 32