[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

2774.0. "Appending to profil field" by ANGLIN::HARRISA (user vicious) Fri May 28 1993 16:41

    ALL-IN-1 2.4
    
    hi!
    
    i have about 300 ALL-IN-1 profiles on which i need to modify the .direct
    field. the VMS directory spec has changed.
    
    	old 		disk$1:[smith]
        new		disk$1:[111smith]
    
    is there anyway to just append the "111" to the .direct field?
    
    mucho gracias - ann
T.RTitleUserPersonal
Name
DateLines
2774.1Just to prove I'm a hacker...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeFri May 28 1993 18:1813
    In the absence of lexicals in V2.4, why not be tacky and call a command
    procedure inside a loop through the profil:
    
    	FOR PROFIL DO -
    	  COMMAND MUNGE .DIRECT\\ -
          WRITE CHANGE PROFIL KEY = .%KEY,DIRECT = #DIR
    
    Where MUNGE.COM reads the existoing directory field in as a parameter,
    and writes it back through the mailbox into a temporary symbol.
    Actually, I suppose it could do the profile write directly if you gave
    it the key.
    
    Graham