| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 4153.1 | GE or more information | UTRTSC::SMEETS | Alpha AXP Compatible LinkWorks Mouse | Wed May 11 1994 07:16 | 16 | 
|  | Hello Tony,
> After relocating the company from one region to another,my customer have
> to update the content of the user profile.He have about one hundred 
> ALL-IN-1 users & updating all these users' entries will be very time
> consuming.
> Is there any shortcut ?
> ALL-IN-1 version is V2.4
Could you please provide more information. Which fields in the user profile need
to be updated ?
How about using the Global Edit option ? 
Martin
 | 
| 4153.2 | update | HTSC19::TONYLIU |  | Thu May 12 1994 04:18 | 13 | 
|  |     Martin,
    
    Thanks for your quick response.
    
    They are the fields location,internal location,postal address that
    this customer want to update.
    Assuming they are the same for all ALL-IN-1 user,is there any shortcut
    to modify all users' profile entry once and for all instead of 
    modifying each user's record one by one.
     
    Regards.
    Tony.
    
 | 
| 4153.3 | Not that I do Application Programming, as you can see, but... | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Thu May 12 1994 08:58 | 10 | 
|  |     Tony,
    
    MGT MUA I {CR} ALL GE should help.
    
    If not, then something like:
    
    <FOR PROFIL WITH NOT (.USER = '@' OR .USER <=> ':') DO -
       WRITE CHANGE PROFIL USER = .%KEY, {field_name} = {New_value}
    
    Graham
 | 
| 4153.4 | GE doesn't work, so write a scipt | UTRTSC::SMEETS | Alpha AXP Compatible LinkWorks Mouse | Fri May 13 1994 08:06 | 34 | 
|  | Hello Tony,
Global Edit doesn't affect the fields your customer wants to update, so you
have to write a little program.
1. Create a script (UPDATE.SCP) in the ALL-IN-1 manager's directory [.MGR]
! UPDATE.SCP
!
! This script updates the following profile fields for all (real) users:
!
! Location => LOCATION
! Internal Location => INT_LOCATION
! Postal Address => ADDR1 ... ADDR6
!
! The postal Address is split up in 6 fields (40 characters)
! 
For profil with not (.user = '@' or .user <=> ':') do -
    write change profile user = .%key, location = 'your location', -
                                int_location = 'Your internal location', -
                                addr1 = 'your postal address part 1',-
                                addr2 = 'your postal address part 2',-
                                addr3 = 'your postal address part 3',-
                                addr4 = 'your postal address part 4',-
                                addr5 = 'your postal address part 5',-
                                addr6 = 'your postal address part 6'
dump_cache
.exit
2. Within ALL-IN-1 (manager) run the script via <DO UPDATE
This should do the job,
Martin
 |