Can you specify which version of SSGD your using and what kinf of application you are trying to start (Character, Windows, X, 3270, 5250)?
A list of the expect scripts used can be found on the following page:
http://docs.sun.com/source/819-6255/login_scripts.html
Remold | Everett
a lot of the env variables or arguments to a command can be loaded via the application object itself. See
General -> Arguments to Command
Advanced -> Environment Variables
you can search your 3.42 Admin Guide for details
those that are required for launching can be done via the expect scripts depending on object type.
there is no need to modify an expect script if you are changing a home directory. That is something you handle outside of SGD using what ever authentication you have setup. If you are using /etc/passwd, then change the home dir using 'usermod'. If using NIS+, make mods as you normally would.
most often expect scripts do not need modification. The expect script you mod depends on the application type you are launching. See the URLs posted in this thread for examples.