To pass data from a file to a command, identify the file by adding the prefix file: to the file name.
For example, if you have stored a session ID in a file and want to use the file to authenticate the hdb.h.la command, use the file as input to the command.
cr_cli -cmd hdb.h.la -s file:session |
If you did not store the session id to a file , you can pass a serialized version of the session object directly to another command by using the ser: prefix. In the example below, the serialized session object obtained by using udb.login command with the with the -o serialized argument, is available in sessionStr .
cr_cli -cmd hdb.h.la -s ser:sessionStr |