This is a javascript function I wrote to be called on the login.DEFAULT format control to initialize all of the globallists that are not set to be built on startup.

In previous versions, users would have fresh copies of all globallists that were set up to build on startup, and would have the last lister generated version of all the other lists. Unfortunately, in 6.2 and higher it appears that the non-startup lists don't get built and aren't accessible, which is somewhat of a pain. So, here ya go

Code:
function initNonStartupLists()
{
    //initialize the globallists file
    list = new SCFile("globallists");
    
    //query the globallists file for all lists that are not built on startup
    moreLists=list.doSelect("build.startup~=true");

    //begin loop through the result list
    while (moreLists == RC_SUCCESS)    
    {
        //only initialize the value list if the list variable and value list are defined.
        if (list.list_variable!=null && list.value_list!=null)
        {
            //setup the string used for the eval function to set the list variable equal to the value list array.
            toEval=system.functions.parse(list.list_variable+"="+system.functions.str(list.value_list));

            //evaluate the string above to initialize the value list.
            toVoid=system.functions.evaluate(toEval);
        }
    
        if (list.display_variable!=null && list.display_list!=null)
        {
            toEval=system.functions.parse(list.display_variable+"="+system.functions.str(list.display_list));
            toVoid=system.functions.evaluate(toEval);
        }
        
        //get the next record in the result list
        moreLists=list.getNext();            
    }
}