Operating System - OpenVMS
1827854 Members
1612 Online
109969 Solutions
New Discussion

Re: VMS/Allin1 file attributes

 
SOLVED
Go to solution
Peter Hanlon_1
New Member

VMS/Allin1 file attributes

When I do a dir/full, I see a revised date different from the created date. In allin1 I do a show header for the same file and the created date and the modified date are the same as the created date from VMS. What changes the revised date in VMS and what does the (9) at the end mean ?
7 REPLIES 7
Dale A. Marcy
Trusted Contributor

Re: VMS/Allin1 file attributes

Please provide some more detail like the version of VMS you are using. The revision date can be changed by making changes to the security settings on the file (i.e., adding or deleting ACLs). Not sure what you are referring to by the (9) at the end. Could you provide a sample output?
Peter Hanlon_1
New Member

Re: VMS/Allin1 file attributes

Hi Dale, we are running VMS 7.1-1H2 below you see both views (1st VMS dir/full and 2nd Allin1 Show Header)

OASISF>> dir USR_DISK15:[XXXXXXXX.allin1.doc4]ZUBBBSDV4.WPL/full

Directory USR_DISK15:[XXXXXXXX.ALLIN1.DOC4]

ZUBBBSDV4.WPL;1 File ID: (xxxxx,1,0)
Size: 33/45 Owner: [CIB,XXXXXXXXX]
Created: 17-MAR-1992 08:15:52.84
Revised: 10-JUN-1995 19:38:48.39 (9)
Expires:
Backup: 26-MAR-2005 11:54:34.01
Effective:
Recording:
File organization: Sequential
Shelved state: Online
File attributes: Allocation: 45, Extend: 0, Global buffer count: 0, Version limit: 3
Record format: Fixed length 512 byte records
Record attributes: None
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:, World:
Access Cntrl List: None

Total of 1 file, 33/45 blocks.
OASISF>>



------------------------------------- TOP --------------------------------------
Showing message
Subject:
Title: inventory of records provided
Sender:
Sender's Full Name: XXXXXXXXXXXX
Sender's Tel No:

Current Drawer: MAIN
Drawer Owner: XXXXXXX
Current Folder: TECHBUILT Status:
Type of Document: DOCUMENT Document Number: 000xxx
Date Created: 17-Mar-1992 08:15am Modifiable: YES
Last Modified: 17-Mar-1992 01:39pm Deletable: YES
Date Sent: Forwardable:
Date Posted: Read Receipt:
Deferred Date: Read Receipt Sent: NO
Expiry Date: Delivery Receipt:
Priority: No of Attachments: 0
Sensitivity: NOT SENSITIVE Handling:
Importance: NORMAL Data Type: WPSPLUS
Reply Requested: NO Autoforwarded
Reply-by Date: to this account: NO
Reply Sent: NO by this account: NO
Message Id:
Interpersonal Message (IPM) Id:
User Agent Content Id:
VMS Filename: [.DOC4]ZUBBBSDV4.WPL

Dale A. Marcy
Trusted Contributor
Solution

Re: VMS/Allin1 file attributes

I now see where the (9) is. Before when I tested, I did not do a /Full on the file, but did a /Date=All which does not display the number in parenthesis. My guess which seems to be born out by some quick tests I did, is that the number in parenthesis is the number of revisions since the create date. Any change to the metadata about the file will cause the revision date to be modified without changing the create date. I mentioned the ACL before, but changing ownership, file attributes, or any other metadata will also cause the revision date to be updated. I am not familiar enough with all-in-1, but I suspect that it is keeping its own information about the file that was created and it has not been modified using all-in-1, but probably an external DCL command was used to change some metadata on the file.
Jan van den Ende
Honored Contributor

Re: VMS/Allin1 file attributes

Dale,


My guess which seems to be born out by some quick tests I did, is that the number in parenthesis is the number of revisions since the create date.


Yes, this guess is correct, but it is actually an understatement.

a. It does not only apply to meta-data, but also to data.
b. It does not even need the data to be changed.

The number (and the Revision Date) are updated upon CLOSE of the file if it was OPENED write-permitted. How many actual writes were done (zero, one, or very many), the one CLOSE does an increment by 1.

hth

Proost.

Have one on me.

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Jan Schollaert
Advisor

Re: VMS/Allin1 file attributes

Hello Dale,

Each time you Edit a WPL document in ALL-IN-1, the revision date increments.

tHE Creation and Mofification date as seen in ALL-IN-1 Show Header are kept in DOCDB.DAT of the Drawer. There are not related to the dates, seen with $DIR /FULL of the WPL file. When you, for example MCD (Make Copy of Document) in ALL-IN-1, a new WPL file is created, but the Creation and Mofification date stay the same....

Hope this helps,

Jan
Peter Hanlon_1
New Member

Re: VMS/Allin1 file attributes

HI, Jan, Jan, Dale...

Thanks for all the info, it's making some sense to me now. I see in allin1 when you open/edit (even without changing anything) how the dates/times and (#) change in both VMS and ALLIN1, and they stay in sync with each other, I did some testing. In my example the VMS revised date is 3 years and (9)open/closes later than the last modified date from ALLIN1. Any help with what would make this date 3years later in the VMS side of things? Hopefully in simple layman terms so I can explain it to the boss...

VMS $dir/full
Created: 17-MAR-1992 08:15:52.84
Revised: 10-JUN-1995 19:38:48.39 (9)

ALLIN1 show header
Date Created: 17-Mar-1992 08:15am
Last Modified: 17-Mar-1992 01:39pm

thanks
Peter...
Dale A. Marcy
Trusted Contributor

Re: VMS/Allin1 file attributes

Peter,

Sorry, I have been on vacation and just got back to the office. I would guess that the file metadata was modified outside of all-in-1, so all-in-1 does not know of the change. I would guesss that somebody did a set file/protection=(something) or set file/owner=someuic from the DCL prompt. This would change what VMS sees, but I do not believe it would change all-in-1's view of the file. Try doing a set file/owner=current_owner on the file from DCL and then look at the DCL modified date and the all-in-1 modified date. I think you will find the DCL revision date modified, but the all-in-1 date left unchanged.