Search Results

Search: Posts Made By: skatpally
9,662
Posted By skatpally
Following is the code that I am running on putty....
Following is the code that I am running on putty. But its hanging at the CD command.
set ftps:initial-prot ''; set ftp:ssl-force true;set ftp:ssl-protect-data true;
open ftps://aaa.com -u...
9,662
Posted By skatpally
Thanks for the reply. Wrong file is getting...
Thanks for the reply. Wrong file is getting ftped. Log is not getting created. I want the script to create a log. can you please let me know how to get the log.
9,662
Posted By skatpally
Lftp command
Hello,
I am trying to write a script that will lftp a file. The parameters are being passed in to the script from ETL tool. The put command is not working. put $file_name $tgt_file_name in...
10,649
Posted By skatpally
Thank you every one. It worked
Thank you every one. It worked
10,649
Posted By skatpally
Thank you for the reply. I want to know what is...
Thank you for the reply. I want to know what is the total number like 1,144,750,000,000,000. I do not know what the right value.. but some thing like that.
10,649
Posted By skatpally
Convert floating point to a number
Hello Guys,
I have a floating point number 1.14475E+15 I want to convert this number in to full number (Integer or Big integer). I tried couple of functions it did not work. When I...
1,483
Posted By skatpally
Removing date field from the string
Hii
I am trying to remove the date field from the following string. ODS_EPP_COVRG_STN_DETL_FILE_10032014.TXT. My output should be ODS_EPP_COVRG_STN_DETL_FILE.TXT

I tried couple of things:
echo...
3,514
Posted By skatpally
Sending a file as an attachment to email
The file is located under appl/batchdata/
file name: storesales.txt
I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with...
953
Posted By skatpally
Ok it worked giving the whole path.. thanks for...
Ok it worked giving the whole path.. thanks for quick reply
953
Posted By skatpally
error when executing shell scrpit
Guys,
when i am executing the following script I am getting following error.
-bash: test.sh: command not found
$ test.sh -- script name

#! /bin/bash
echo " Job started........" ...
10,430
Posted By skatpally
DB2: load command in unix
I am currently trying to load data from e.txt into tablea. I am getting error.
db2 connect to qw01p user wcs using abc
db2 "LOAD CLIENT FROM /dswork/ECONT/output/interface/e.txt OF DEL MODIFIED BY...
7,880
Posted By skatpally
connect to db2 using shell script
Guys,
I am trying to write a shell script that connect to wcsprod database and read the query

#!/bin/ksh
sqlplus -s < connect to wcsprod user wcsadm using pwd >
select * from catentry...
2,702
Posted By skatpally
to find a file
Hello guys,
I amtrying to find files that end with .msh in the directory and sub directory of home folder. I used find command but it gives me error.

$ find -/home '*.msh'

find:...
16,140
Posted By skatpally
Thanks man it did work. I appreciate u r help. ...
Thanks man it did work. I appreciate u r help.

Solution:

#!/bin/ksh
echo -n "todays date want to know:"
read $answer
if(answer==yes)
then
date
exit 1
else
exit 2
fi
16,140
Posted By skatpally
Still unable to fugure out. looking for help
Still unable to fugure out. looking for help
16,140
Posted By skatpally
shell script with If then else
Hii frds,
I am trying to write a shell script to display the date based on user input. I am geting syntax error. plz help. thanks - sam

UNIX version: AIX

#!/bin/ksh
echo -n "todays...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy