[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

303.0. "oa$curdoc_modify" by BODRUM::YEGEN () Mon Mar 23 1992 19:49

    Version of the ALL-IN-1 is 2.4 and I am asked to do the following:
    Change two specific characters again to other two specific characters
    in the filecabinets of all the 30 users. I can scan the filecabinets of 
    the users and using the search and replace function do this easily
    only for the documents which can be edited. But when it comes to
    mails I can not handle them. I tried the two commands in order to use 
    the script which includes the search and replace function  afterwards,
    
    <CABINET CHANGE_ATTRIBUTE ,"MODIFY","N","Y"
    or
    <CABINET ADD_ATTRIBUTE ,"MODIFY","Y"
    
    but both of them did not let me to modify the field OA$CURDOC_MODIFY to "Y". 
    
    Any help would be appreciated,
    
    Tansu YEGEN @TWI
    
    
T.RTitleUserPersonal
Name
DateLines
303.1How about...SHALOT::TROTTAIntellectually challengedMon Mar 23 1992 21:1112
    I would try something like:
    
    	get #abc = oa$curdoc                                                  
     	get oa$function='write change cab$ key=#abc,modify=oa$y'
    
    I'll let one of the ALL-IN-1 gurus explain to you why what you're
    trying doesn't work (mainly because I don't know!  :-)).
    
    The explanation may be as simple as "You can't change the attribute
    because the document is not modifiable," but what do I know?
    
    -- Paul
303.2SIOG::T_REDMONDThoughts of an Idle MindMon Mar 23 1992 22:283
    Use Paul's solution given in .1. It works...
    
    T