🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.xedit-l
Article #759

Re: Editing a file w/o changing the date the file was acces'd

#759
From: Harold Pritchett
Date: Thu, 25 Jun 1992 18:01
24 lines
1998 bytes
On Thu, 25 Jun 1992 08:41:27 CST Jim Piatt said:
>  For various reasons I need to be able to reformat the existing USER=
>tag on about 4000 to 5000 VSE JCL decks.  This need is driven by a
>change to a vendor Job Accounting package that uses this information to
>cost account resources to the appropriate accounting area.
...
>  I would like to run a VM EXEC against all of these that would reformat the
>already existing information in the USER= part of the $$ JOB card to conform
>to the vendor package requirements. My understanding is that if I use an XEDIT
>Macro which "files' the JCL after I update a record in that file the date will
>change to the current date.  Is there a way around this.  For example, I know
>that the COPY command allows you to specify OLDDATE as an option.  Is there a
>similar option available in XEDIT??

I am not aware of a way to use XEDIT to keep the old date.  How about writing
a file containing the current date/time stamps of the files, Using an XEDIT
macro to fix them, and then run one of the utilities which sets the file
date/time stamp back to the value saved before?  I know of at least one
utility to do this (It's part of the LISTSERV package, and can be found
on the LISTSERV 191 disk as LSVSDATE MODULE.

Hope this helps

Harold
Technical Details
Message-ID: <XEDIT-L%92062514073847@UGA.CC.UGA.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!UGA.CC.UGA.EDU!HAROLD

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 04:14:46 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!UGA.CC.UGA.EDU!HAROLD
Message-ID: <XEDIT-L%92062514073847@UGA.CC.UGA.EDU>
Newsgroups: bit.listserv.xedit-l
Date:         Thu, 25 Jun 1992 14:01:43 EDT
Sender:       VM System Editor List <XEDIT-L@UGA.BITNET>
From:         Harold Pritchett <HAROLD@UGA.CC.UGA.EDU>
Subject:      Re: Editing a file w/o changing the date the file was acces'd
In-Reply-To:  Message of Thu, 25 Jun 1992 08:41:27 CST from <PIATT@CMSUVMA>
Lines: 24