[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

3223.0. "Programming query on the update of OA$CURDOC_AUTHOR" by GIDDAY::LEH () Thu Sep 02 1993 03:54

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.RTitleUserPersonal
Name
DateLines
3223.1Need to restart mail?IOSG::MAURICEDifferently hirsuteThu Sep 02 1993 09:2313
    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.2didn't seem to workGIDDAY::LEHFri Sep 03 1993 08:4827
    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.3Try it on the US formIOSG::MAURICEDifferently hirsuteFri Sep 03 1993 16:009
    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