3. Using Alternate Locations : Locations and Areas : Work Locations : Work Locations for a Session
 
Share this page                  
Work Locations for a Session
A session automatically uses all defaultable work locations to which the database has been extended (including the initial work location). In addition, the session can issue SET WORK LOCATIONS statements to specify auxiliary work locations to use. Using this statement, a session can dynamically add and drop work locations and replace the set of locations currently in use. The set work locations statements affect the current session only--their effects disappear when the session ends.
For more information on using set work locations, see the entry for the SET statement in the SQL Reference Guide.
Note:  To list the set of work locations used in a given session, you can use a trace point, DM1440. For information on setting trace points, see the SET [NO]TRACE POINT statement description in the SQL Reference Guide.