[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Calling sqr from the command line on Unix using a here document?



Hi,

   I am trying to find a way to pass in the username and password to sqr. I
do not want to enter the username and password on the command line, as it
ends up in ps listings, I do not want to store the username and password in
a parameter file.

  What I can usually do with other unix programs is use a here document

example

program <<__EOF__
$1
$2
__EOF__


where $1 is username and $2 is password. However I can not seem to get this
to work with SQR.

Does anyone use here documents to pass parameters to SQR, if you do can you
send me an example

Thanks
Colin

=======================================
Colin Abbott
Analyst (Finance)
Information Systems Resources
McGill University
E-mail: Colin.Abbott@MCGILL.CA
Fax: 1-514-398-8252
=======================================