[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3868.0. "MCD - copy gets old CREATED DATE " by COPCLU::ELIN (Elin Christensen @DMO, DTN 857-2406) Thu Feb 10 1994 11:54

    
    When doing MCD Make copy of document, the new document gets the same
    CREATED DATE as the original document, and not the date of the
    new RMS file that gets created.
    
    A customer tells that his users often create new documents by doing MCD
    of old ones and then edit them.
    But when they make an index of documents created during the latest
    weeks, then those COPIES don't appear.
    
    Is it a bug, or was it designed that way on purpose?
    It works this way in both ALL-IN-1 v2.4 and v3.0
    
    Elin
    
T.RTitleUserPersonal
Name
DateLines
3868.1Shall we change it?IOSG::MAURICEI left my heart in AlcatrazThu Feb 10 1994 13:2711
    Hi,
    
    I agree with you, but nobody has ever submitted a bug about this (to my
    knowledge). I'd love to change it, and a customer bug submitted would 
    give us a good reason.
    
    BTW does anybody think the current behaviour is correct?
    
    Cheers
    
    Stuart
3868.2an opinionCSOA1::LENNIGDave (N8JCX), MIG, @CYOThu Feb 10 1994 14:219
    It seems consistent with VMS conventions; if you COPY a file, the
    creation date stays the same, the modification date is updated.
    
    I believe the only time COPY will update the Creation date is if you
    specify a new/differant output filename; so perhaps the logic would be
    'if you keep the same title, it keeps the same date; if you change the
    title, it gets a new creation date'...
    
    Dave
3868.3another opinionCOPCLU::ELINElin Christensen @DMO, DTN 857-2406Fri Feb 11 1994 10:4914
    My customer is of this opinion:
    
    "It's true that VMS behaves that way, but for an ordinary user - no
    matter whether the document title is changed or not - it is a NEW
    document which should always get a NEW created date."
    
    
    Stuart, I have raised an IPMT - DMO100036.
    
    Can a fix be given in version 3.0? The customer has done some
    application programming himself and will be able to implement changes
    if he gets instructions.
    
    Elin
3868.4MostlyIOSG::MAURICEI left my heart in AlcatrazFri Feb 11 1994 12:1023
    Re .3
    
    Yes - a 90% solution is possible by cutomisation. The script is
    COPYDOC.SCP and in there are three CABINET COPY function calls. The
    thing to do is after each to test OA$STATUS, and if successful add the
    created date attribute. For example:
    
            .IF OA$STATUS EQ 1
              .THEN
                 CABINET ADD_ATTRIBUTE ,"CREATED_NBS", OA$DATE_NBS
            .END_IF
    
    Similarly from the index you will need to customise form
    EM$INDEX$OPTIONS.
    
    However this would not work for cross-drawer copies (use the File
    Cabinet Server), and would not work anywhere else the CABINET COPY
    function is called. To do the job properly the changes would have to be
    made in code.
    
    Cheers
    
    Stuart
3868.6one vote for .2COPCLU::ELINElin Christensen @DMO, DTN 857-2406Mon Feb 14 1994 12:4920
>    So running a 'document' through a copying machine creates a 'new' one?

but then you cover the body text with blank paper and out of the copying
machine comes a new copy with only the headlines left, before you finally
combine those headlines with new body text. 
Isn't the document NEW after this?
You'll get the same result, but with a new date, if you go to next screen
and select a template document when you create a new document.
But many users find it more straight forward to start with an MCD'ed document.

Personally I think the behaviour of MCD should be as in VMS (though it 
differs from my customer's opinon), using the logic you stated in .2:
    'if you keep the same title, it keeps the same date; if you change the
    title, it gets a new creation date'...

Then it is still possible to make a safety copy with all the original
attributes kept before doing advanced editing that might lead to a spoiled
doument... 

Elin 
3868.7Another factorIOSG::MAURICEI left my heart in AlcatrazMon Feb 14 1994 13:5515
    Hi,
    
    There is another factor that Richard Newland has pointed out to me.
    When an MCD is done there is a copy to a new document, which sets the
    DOCDB created date equal to the original, and a copy of the underlying
    file, which gets a VMS created date of today! You can verify this by
    noting the new document's filename, and then at DCL doing a $dir/dat on
    it.
    
    It seems that ALL-IN-1 is being inconsistent, and that the DOCDB
    creation date on the copy should match that of the underlying file. 
    
    Cheers
    
    Stuart
3868.8here's a vote for more creation date optionsXANADU::CLARKMon Feb 14 1994 19:0513
    
    not that this has much to do with MCD, but from a Mac or PC client
    point of view, the FCS sometimes is too high-handed in setting a
    creation date.  i want to file a QAR (or whatever you folks call it)
    that the Oafc interface does not let a client retain a creation date
    that is "before today" when trying to simulate a copy from one drawer
    [not necessarily an IOS drawer] to an IOS drawer.  to preserve the
    semantics expected by this Mac user, the creation date should stay
    the same no matter where the file ends up.  thus, the server should
    at least provide a way for clients to say "trust me, use this creation
    date instead of something you cook up".
    
    Paul Clark
3868.9CSOA1::LENNIGDave (N8JCX), MIG, @CYOMon Feb 14 1994 22:2813
    re: .7
    
    The reason the file's date is new is probably because it has a new
    gobbledygook filename. Of course you could set the date if desired...
    
    Actually I had another thought related to the base note;
    
    Can (should) you be able to Index based upon Modify date? VMS COPY 
    sets the Modify date to "now", which I would expect MCD to do too...
    
    This is turning out to be a 'fun' note...
    
    Dave
3868.10Has this been fixed yet?KERNEL::VANRIXTELEEmma van RixtelThu May 19 1994 18:265
    
    
    I don't suppose this is fixed by the MUPA is it?
    
    
3868.11RE .10 - sorry noIOSG::MAURICESix Programmers in search of an analystFri May 20 1994 09:161