Sponsored Content
Top Forums UNIX for Dummies Questions & Answers SQLPLUS Password Parameter file being used when logging in Post 302699195 by vbe on Tuesday 11th of September 2012 09:16:04 AM
Old 09-11-2012
I am in a good mood, so I will show you a bit of code I wrote and let you figure out...
I seem to be more paranoid than you Smilie
Code:
# my batch script loads the user's profile and needed env for oracle...
.
.
#Here it calls the .sql file:

$go -silent $GO <<END
start $HOME/test_sqlfile
exit;
END

.
.

This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Getting output parameter in sqlplus

I need to get the output parameter from a stored procedure in sql plus using shell script. Can anyone help me please ... (1 Reply)
Discussion started by: risshanth
1 Replies

2. Shell Programming and Scripting

How to pass parameter from sqlplus(procedure completed) to your shell script

if then # mail -s "Import failed file does not exist" sanjay.jaiswal@xyz.com echo "FILE does not exist" exit 1 fi echo "FILE EXIST" size=-1 set $(du /export/home/oracle/nas/scott21.dmp.gz) while do echo "Inside the loop" size=$1 set $(du... (1 Reply)
Discussion started by: sanora600
1 Replies

3. Red Hat

Trouble logging in with username and password

I have a RHEL 5 server that I can log into with an LDAP account hosted on a server running Sun DSEE 6.3 with an ssh key pair but not with my username and password. When I try to login to the console I am given the "login incorrect" message as if I fat fingered my password. Other users with... (5 Replies)
Discussion started by: ilikecows
5 Replies

4. Shell Programming and Scripting

Logging in unix account taking password from a parameter file

Hi All, I am writing a script where it updates a file in an unix account. To update that file i need to be logged in as that account user. say account name is ab01 and its password is passab01. What i want to do is, my script should read login id and password from a parameter file and... (4 Replies)
Discussion started by: pkbond
4 Replies

5. UNIX for Dummies Questions & Answers

Passing a Unix parameter to SQLPlus login command

hi All, i m trying to pass a user choice paramter from unix to sqlplus connect command here i want the user to enter the username and password he wants to connect in sql plus through read in unix and then automatically connect to that instance. sqlplus -s $1/$2 where $ 1 and $2 will b... (2 Replies)
Discussion started by: Jcpratap
2 Replies

6. Shell Programming and Scripting

Logging in with Username/Password on one line

Hello, I am currently working on a project that requires me to remote login into another UNIX system using different credentials. The problem is that progamatically I cannot simply feed the password into the UNIX system. Is there a way to feed the password within one command line statement. I... (1 Reply)
Discussion started by: myoung88
1 Replies

7. Shell Programming and Scripting

Tar file with logging and directory via parameter

Hi all, I am fairly new to shell scripting and I am trying the following: My shell script creates a tar file with files with the ending ~. The directory - where the files and sub directories are located - comes as a parameter when I call the script. Files that are archived will be written in... (1 Reply)
Discussion started by: neg42
1 Replies

8. Shell Programming and Scripting

Passing a parameter from a shell script to sqlplus

Hi All, I'm new to Linux and scripting, apologies in advance for 'stupid' questions. Please help... Im writing a script that calls a sqlplus script but the sqlplus requires inputs and i cant seem to get this to work. here is my code. #!/bin/sh TERM=vt100 export TERM... (4 Replies)
Discussion started by: Mahomed
4 Replies

9. Shell Programming and Scripting

Sqlplus error - sqlplus -s <login/password@dbname> : No such file or directory

i am using bash shell Whenever i declare an array, and then using sqlplus, i am getting sqlplus error and return code 127. IFS="," declare -a Arr=($Variable1); SQLPLUS=sqlplus -s "${DBUSER}"/"${DBPASS}"@"${DBASE} echo "set head off ; " > ${SQLCMD} echo "set PAGESIZE 0 ;" >> ${SQLCMD}... (6 Replies)
Discussion started by: arghadeep adity
6 Replies

10. Programming

How to pass parameter from file to sqlplus in UNIX?

i have file in which i have employee id are there and every time number of employee id are different in file means number of count of employee id in file are every time different. 343535435 365765767 343534543 343543543 i want to pass this file to sqlplus and sql command is ... (7 Replies)
Discussion started by: pallvi_mahajan
7 Replies
FANN_TRAIN_ON_FILE(3)							 1						     FANN_TRAIN_ON_FILE(3)

fann_train_on_file - Trains on an entire dataset, which is read from file, for a period of time

SYNOPSIS
bool fann_train_on_file (resource $ann, string $filename, int $max_epochs, int $epochs_between_reports, float $desired_error) DESCRIPTION
Trains on an entire dataset, which is read from file, for a period of time. This training uses the training algorithm chosen by fann_set_training_algorithm(3) and the parameters set for these training algorithms. PARAMETERS
o $ann -Neural network resource. o $filename - The file containing train data o $max_epochs - The maximum number of epochs the training should continue o $epochs_between_reports - The number of epochs between calling a user function. A value of zero means that user function is not called. o $desired_error - The desired fann_get_MSE(3) or fann_get_bit_fail(3), depending on the stop function chosen by fann_set_train_stop_function(3) RETURN VALUES
Returns TRUE on success, or FALSE otherwise. SEE ALSO
fann_train_on_data(3), fann_train_epoch(3), fann_get_bit_fail(3), fann_get_MSE(3), fann_set_train_stop_function(3), fann_set_training_algo- rithm(3), fann_set_callback(3). PHP Documentation Group FANN_TRAIN_ON_FILE(3)
All times are GMT -4. The time now is 05:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy