In this section we will cover the various configuration options for Tenup connectivity. Tenup provides functionality for terminating sessions, keeping sessions alive and connecting to 1010data from behind corporate proxy servers.
$ tenup64 -u [USERNAME] -C [CONNSTR] [PATH_TO_NEW_TABLE] @[QUERYFILE] -l
$ tenup64 -u [USERNAME] -C [CONNSTR] [PATH_TO_NEW_TABLE] @[QUERYFILE] -L
In the above example, Tenup will exit after it completes the extract and load process but your User ID will remain logged in to 1010data.
$ tenup64 -u [USERNAME]-S
$ tenup64 -u [USERNAME] -C [CONNSTR] [PATH_TO_NEW_TABLE] @[QUERYFILE] -s [TENTENSID]
Error - 5 - Already logged inIn this event, you will need to end or possess the existing session before Tenup can use the account to connect to 1010data. You do this by killing the existing session with the -k option, or by possessing the existing seesion with the -K option. To terminate (or 'kill') the existing session, apply the -k option as follows:
$ tenup -k -u [USERNAME] -C [CONNSTR] [PATH_TO_NEW_TABLE] [QUERY]If you prefer to possess the existing session, us the -K command, as follows:
$ tenup -K -u [USERNAME] -C [CONNSTR] [PATH_TO_NEW_TABLE] [QUERY]The command above tells Tenup to use the existing session instead of terminating it and starting a new one.
$ tenup -u [USERNAME] -P http://[PROXYUSERNAME]:[PROXYUSERPASSWORD]@www.corporateproxyserver.com:8080 -C [CONNSTR] [PATH_TO_NEW_TABLE] [QUERY]This command routes the Tenup connection through the specified proxy server, then connects to 1010data and runs your query as normal. If you do not know the correct proxy server information to provide, ask your network administrator.
$ tenup --pool=[SAMEPOOLNAME] -u [POOLOWNERNAME] -p [POOLOWNERPASSWORD] -C [CONNSTR] [PATH_TO_NEW_TABLE] [QUERY]This tells Tenup to login to 1010data with the first free account in the SAM pool. If no accounts are presently available, Tenup will return an error stating that the system is busy.