Search Results

Search: Posts Made By: mahek_bedi
73,898
Posted By mahek_bedi
How to remove trailing spaces
Hi,

I have a file like this

(ADD_MONTHS((Substr(Trim(BOTH FROM Translate(Maximum(closeDa
------------------------------------------------------------
...
9,074
Posted By mahek_bedi
How to get a return value from the script in my master script
$? will return the 'return code'
I dont need that.
I need the value of the date that I am calculating in my child script.

--Mahek
14,694
Posted By mahek_bedi
how to capture the return value in master script?
Hi,

Here is my program that is returning a DATE:

#! /usr/bin/ksh

db=tcore_dev1


bteq <<end
.logon $password_core
.export report file=$BTEQ_OUTPUT_FILE_$$

select...
9,074
Posted By mahek_bedi
How to get a return value from the script in my master script
Hi,

Here is my program that is returning a DATE:

#! /usr/bin/ksh

db=tcore_dev1


bteq <<end
.logon $password_core
.export report file=$BTEQ_OUTPUT_FILE_$$

select...
1,490
Posted By mahek_bedi
thanks. It worked. --Mahek
thanks. It worked.

--Mahek
1,490
Posted By mahek_bedi
Not able to display the value I am accepting as an argument
Hi,

I am new to UNIX. I am facing some problem here.

#! /usr/bin/ksh

currDate = $1
export currDate;
echo " Date is $currDate"

when I run this script, it says : currDate not found.
...
Showing results 1 to 6 of 6

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