| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Set Data Library using JS (SETDLJS) command allows you to change the data library that is associated with a user profile. The data library associated with a user is used when the user accesses the product. A user can only access one data library at a time.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| USER | User | Name, *ALL, *CURRENT, *DEFAULT | Optional, Key, Positional 1 |
| DTALIB | Data library | Name, *NOCHG | Optional |
| Top |
Specifies the user profile whose data library is to be changed.
| Top |
Specifies the data library to assign to the user profile.
| Top |
Example 1: Set the data library for a user
SETDLJS USER(*CURRENT) DTALIB(QUSRIJSPRD)
This command sets the data library for the current user profile to QUSRIJSPRD.
| Top |
| Top |