| 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 | 
IOS 3.0 programming question A customized system allowed its users to change personal details in form SPD, such as full name, which then *immediately* updates this detail, seen with new user name on top left hand of a menu. This custom code couldn't however update *instantly* the value used by Create Mail for Author field, i.e. symbol OA$CURDOC_AUTHOR, which thus requires the session exit and re-entry. Note that the vanilla version 2.4 and 3.0 always require session exit. Customer claimed the same piece of code worked under 2.4 Any comments on the different behaviour between versions and programming tips would be much appreciated Hong CSC Sydney
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 3223.1 | Need to restart mail? | IOSG::MAURICE | Differently hirsute | Thu Sep 02 1993 08:23 | 13 | 
|     Hi Hong,
    
    I think this change in V3 might have been caused by the new SMU code.
    Can you get your customer to try adding calls to 
    
    	MAIL CLOSE_SYSTEM
    	MAIL INITIALIZE
    
    after the details have changed, and see if that works.
    
    Thanks
    
    Stuart
 | |||||
| 3223.2 | didn't seem to work | GIDDAY::LEH | Fri Sep 03 1993 07:48 | 27 | |
|     Hello Stuart
    
    Thanks for assisting but it didn't work.
    
    Customer added calls MAIL CLOSE_SYSTEM and MAIL INITIALIZE as post
    processing in form SPD, e.g.
    
    ;;.TYPE;;
    
    ENTRY /MODE=CHANGE/KEY=USER/SAVE_START=OA$USER/DATA=PROFIL
    /HARD=OA$_US_HRD_SPD
    /POST="IFEXIT\
    mail close_system
    mail initialize
    \GET #DDS_ACCOUNT = OA$USER\DO SUBSCRIBER_CHANGE_INTERACTIVE
    \GET #UPDT_USER=OA$USER\DO SMNETUPDT"
     
    ;;.FORM_SET;;
    
    .......................
    
    Did the above changes invoke correct calling procedure ? 
    
    Thanks for any other suggestion
    
    Hong
    
 | |||||
| 3223.3 | Try it on the US form | IOSG::MAURICE | Differently hirsute | Fri Sep 03 1993 15:00 | 9 | 
|     Hi Hong,
    
    I don't know whether it makes a difference but I would not have it done
    it in the post-processing of the entry form, but rather on the US
    form in the Named Data for SPD. Worth a try!
    
    Cheers
    
    Stuart
 | |||||