![]() |
![]() |
The dsmQueryCliOptions function call queries important option values in the user's option files. A structure of type optStruct is passed in the call and contains the information. This call is performed before dsmInitEx is called, and it determines the setup before the session.
For more information about options, see the Tivoli Storage Manager Installing and Using the Backup-Archive Client for your operating system.
dsInt16_t dsmQueryCliOptions (optStruct *optstructP);
Parameters
The information returned in the optStruct structure is:
dsmiDir | The value of the environment DSMI_DIR variable. |
dsmiConfig | The client option file as specified by the DSMI_CONFIG environment variable. |
serverName | The name of the TSM server. |
commMethod | The communication method selected. See the #defines for DSM_COMM_* in the dsmapitd.h file. |
serverAddress | The address of the server that is based on the communication method. |
nodeName | The name of the client's node (machine). |
passwordAccess | The values are: bTrue for generate, and bFalse for prompt. |
Return Codes
There are no return codes that are specific to this call.