Search Results

Search: Posts Made By: megha2525
7,275
Posted By megha2525
How to end a host concurrent program in WARNING status?
Hi All,

I have a requirement to make a oracle concurrent program end with
warning based on a given condition. If the condition is true, the
concurrent program should end with completed...
13,616
Posted By megha2525
Hi Corona688, I did the cat...
Hi Corona688,

I did the cat ~/.ssh/id_rsa.pub | ssh user@remote.machine.com 'cat >> .ssh/authorized_keys2' when prompted for the remote machine's password, I keyed in the password.
But it...
13,616
Posted By megha2525
Ho Corona668, Thank you for the reply . I...
Ho Corona668,

Thank you for the reply . I followed the steps in the article that you mentioned to the point where I must run the command
ssh-copy-id -i ~/.ssh/id_rsa.pub username@mystery

But I...
13,616
Posted By megha2525
SFTP prompting for password even though password is in script
Hi All,

I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.

#!/bin/ksh
# sample...
Forum: Programming 07-10-2013
999
Posted By megha2525
How to find Oracle forms that use a column in Solaris ?
I am trying to find all the oracle forms that have text item invoice_id in Solaris ( SunOS 5.10)

If I use

grep -i -l 'invoice_id' *
I get only those oracle forms that have 'invoice_id' in...
7,762
Posted By megha2525
Thank you everyone for the prompt reply. I...
Thank you everyone for the prompt reply.
I changed the delimiter in the sed command to # and it worked.
Thanks again
Megha.
7,762
Posted By megha2525
Display date in mm/dd/yy format in sed command
Hi All,

Following is my issue.

$MAIL_DOC = test.txt
test.txt contains the following text .

This process was executed in the %INSTANCE% instance on %RUNDATE%.

I am trying to execute the...
Forum: Programming 09-21-2012
7,090
Posted By megha2525
Hi DGPickett, I am facing this issue when...
Hi DGPickett,

I am facing this issue when I try to display the value of the sql query from the korn shell. even if its userdate or sysdate .

this is my code
VALUE=`sqlplus -s /nolog...
Forum: Programming 09-21-2012
7,090
Posted By megha2525
Hi Cero, Thank you for the reply. Yes. I am...
Hi Cero,
Thank you for the reply.
Yes. I am very sure on that part.When I run the query in sqlplus , I get the userdate in the format that I am using in the query. ie, MMDD . I do get a value .
I...
Forum: Programming 09-21-2012
7,090
Posted By megha2525
Still no luck . Am not sure why the process is...
Still no luck . Am not sure why the process is unable to display the value.
Please let me know what I am missing here.

Thanks
Megha
Forum: Programming 09-21-2012
7,090
Posted By megha2525
Hi The tried the above and I still get the...
Hi

The tried the above and I still get the same output.
MMDD is
The value is not being displayed.

Thanks
Megha
Forum: Programming 09-20-2012
7,090
Posted By megha2525
pass value from Oracle sql to Korn shell
Hi All ,
I am trying to pass a value from sqlplus to korn shell .
There is a table tab1 in Oracle that has a column userdate.
I need to pass the userdate to the korn shell . This is what I am...
2,551
Posted By megha2525
Hi Coronoa688, Thank you for the reply. I am...
Hi Coronoa688,

Thank you for the reply. I am on SunOS 5.10
I have this in a korn shell script
USERDATE=$1

echo "Script parameter User date = $USERDATE"
The output is Script parameter User...
2,551
Posted By megha2525
userdate=$1 echo "Script parameter user date =...
userdate=$1
echo "Script parameter user date = $userdate"I tried this and get blank values for month and day

echo "2012/09/19 00:00:00" |awk -F"[ /:]" '{print "Month:"$2"\nDate:"$3}'I also tried...
2,551
Posted By megha2525
Hi vidyadhar85 Thank you for the reply. ...
Hi vidyadhar85

Thank you for the reply.
But it does not display the month and day .
I get blank values.
Please let me know if I am missing something here.

Megha
2,551
Posted By megha2525
[SOLVED] how to extract the day and month from a user supplied date ?
Hi All ,

I am trying to extract the day and month from a user supplied date . But not able .
Please help .
This is what I am trying to do , I have followed other articles in this scenario.
...
4,350
Posted By megha2525
HiCorona688 I do agree with you but I am...
HiCorona688

I do agree with you but I am developing a script that handles exceptions like these just in case.

Thanks everyone.

Megha
4,350
Posted By megha2525
How to check if the same file exists multiple times?
Hi Team ,

Is there a way I can check to see if the same file say , test.dat exists multiple times in the directory path ?

Please help.

Thanks
Megha
20,687
Posted By megha2525
Thank you Vbe. I am running the shell...
Thank you Vbe.

I am running the shell script from the Oracle apps concurrent manager. Will that make any difference?
20,687
Posted By megha2525
Hi The command is cat <path of the...
Hi

The command is

cat <path of the pdf file> | /usr/bin/acroread -toPostScript | lp -d <printer name> -n2 -o uncollate

How to use code tags...
20,687
Posted By megha2525
The OS is SunOS 5.10 I am using lp -d <printer...
The OS is SunOS 5.10
I am using lp -d <printer name> -o uncollate -n2.

The uncollate option if it works , will resolve my issue. But its not working.

As there are 4 pages in the pdf and I...
20,687
Posted By megha2525
Print multiple copies page by page using lp command
Hi

I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4...
Forum: Programming 02-03-2012
10,697
Posted By megha2525
eliminate duplicate rows - sqlloader
Hi ,

I have a data file in this format.


p1 p2 p3
10 0
10 0 1000


I am using a sqlloader script to load the data into the database table.There is a unique constraint on the columns...
Forum: Programming 01-19-2012
1,546
Posted By megha2525
Thank you so much durden_tyler. But I forgot to...
Thank you so much durden_tyler.
But I forgot to mention something. Apologise for not mentioning it before.
table1 that I referred to in my example is not a table. Its a cursor .I am getting data...
Forum: Programming 01-18-2012
1,546
Posted By megha2525
Help with mapping two tables and filling the null values
Hi All ,

I have two tables. I will provide sample data in the tables below.

table1:


dept_id dept_name rep_id admin_lastname
10 dept of int.medicine Paul
10 dept of int.medicine...
Showing results 1 to 25 of 41

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