Hi,
I have shell script which will read single edi document and break data between ST & SE to separate files.Below example should create 3 separate files.
I am executing a stored procedure through shell script. In the procedure, i have dbms_output.put_line to log the comments. This is working fine and but logs are available only after the execution of the pl/sql procedure's completion.
I want to print the log comments while executing the procedure itself.
Hi,
I'm trying to use the below command in a shell script, but couldn't.
The command is working fine when I'm executing from the dollar prompt i.e.
hi
I used find command to find some file names as per input from user. I used it for current directory. It was working fine. Now I tried with giving some other directory path. Its giving issues.
Here what I tried. Script will take input from user say 1_abc.txt, find the file and print list.
Hi friends,
I am using below script to do some work. But even though script is working fine but while executing it i am getting command not found error.
I am writing a scritp in which first step is to get some files from a server.
I am using mget to do that.
here is my FTP code ...
HOST="XXX.XXX.com"
28 ftp -inv $HOST <<END &> $FTP_LOG
29 quote USER $USER
30 quote PASS $PASWD
31 cd log
32 prompt off
33 binary
34 mget files*.log
35 bye
36 END
yesterday everthing was working fine..
but now i am not able to get mo
Hi ,
Can you please check this code .I am getting the follwing error while executing the script.
Please help me out.
Code:
#rm /tmp/$$
#!/bin/ksh
dir_one="/usr/bin/sou"
dir_two="usr/bin/sou/temp"
for files in $dir_one/*.txt
do &n
Dear all,
I would like to write a script to push periodically some downloaded files from one host to another box.
Basically, I have host A downloading files.
When those files are downloaded they are moved automatically to a directory called: /home/user_A/downloaded, still on host A.
Then I need to move all the files in the downloaded directory from host A to host B, furthermore I want to clear
Dear all,
i am executing the script.
with help of cron job but it is not executing in cron job.
i check owner and chmod and create the file and execute manually it is working fine but in cron job i set below
Crontab -e
8 14 * * * /home/tplinux/webapp/tpadminhost/collect_ejxml/ejrename.sh
wq!