[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

4153.0. "updating fields in profile" by HTSC19::ALLIN1 () Wed May 11 1994 06:03

 Hello,

 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

 Thanks & Regards.       

 Tony.
T.RTitleUserPersonal
Name
DateLines
4153.1GE or more informationUTRTSC::SMEETSAlpha AXP Compatible LinkWorks MouseWed May 11 1994 08:1616
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.2updateHTSC19::TONYLIUThu May 12 1994 05:1813
    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.3Not that I do Application Programming, as you can see, but...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeThu May 12 1994 09:5810
    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.4GE doesn't work, so write a sciptUTRTSC::SMEETSAlpha AXP Compatible LinkWorks MouseFri May 13 1994 09:0634
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