10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Gurus,
I have a script developed...
#!/bin/bash
#---------------------------------------------------------------------
# This pScript will remove/replace the special characters fromfiles
#---------------------------------------------------------------------
trxdate="`date... (1 Reply)
Discussion started by: nanduedi
1 Replies
2. UNIX for Dummies Questions & Answers
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
Discussion started by: okonita
3 Replies
3. Shell Programming and Scripting
Hi all,
i'm a newbie here, I'm just wondering how can i call my second script if it's contain successfull.
script1.sh
how can i call my 2nd script if he contain SUCCESSFULL
script2.sh
SUCCESSFULL
please advise,
Thanks, (10 Replies)
Discussion started by: nikki1200
10 Replies
4. Shell Programming and Scripting
Hi
I am trying to run the below unix script in informatica comamnd task
the script is in placed in the path (this script checks if the files are present in other server )
------------------------------------------------------------------... (1 Reply)
Discussion started by: laxmi131
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using SFTP for transferring files to remote server. Below is the snipped i am using for my sftp program
echo "lcd $i_localdir">/tmp/sftp_Batch
echo "cd $i_destdir">>/tmp/sftp_Batch
echo "put $i_filename">>/tmp/sftp_Batch
echo "chmod 644... (2 Replies)
Discussion started by: Ankgne
2 Replies
6. Shell Programming and Scripting
Hi All,
I am stuch in a script where a for loop is running to execute some commands for some values.
Now my problem is i have to have an if condition that if the first iteration is successful then it has to exit the for loop otherwise it has to continue normally.
my code is this:
for... (5 Replies)
Discussion started by: usha rao
5 Replies
7. Shell Programming and Scripting
i have a script that performes an update operation. I just wanted to know whether that update statement is successfull or not.
Below the script:
#!/bin/ksh
. $HOME/conf/systemProperties/EnvSetup.properties
sqlplus -silent sie/da@edn.world <<END
set pagesize 0 feedback off verify off... (3 Replies)
Discussion started by: ali560045
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
I tried logging into a UNIX system with appropriate logins.. It takes lot of time to show prompt.. when i press control C it gives me the prompt.. I observed that the .cshrc file not getting executed successfully.. when i try myself sourcing .cshrc file it doesnot do it...
Please let me... (1 Reply)
Discussion started by: shafi2all
1 Replies
9. HP-UX
Hi All,
I am not able to check the output of sqlplus command if it fails.
can any body please help me in this regard. (5 Replies)
Discussion started by: plaban.rout
5 Replies
10. Shell Programming and Scripting
I have a question. My company has to send a file to another company. The cron script currently just sends the file. However, every now and then the other companies ftp server is down. I wanted to alter my script to detect if the server is up before I attempt to send the file. My idea follows
#... (2 Replies)
Discussion started by: beilstwh
2 Replies