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 create the session with the -o serialized argument, you can pass a serialized version of the file to another command by using the ser: prefix.
cr_cli -cmd hdb.h.la -s ser:session |