Reding Unix Output inDS routine
Posted: Tue Feb 20, 2007 7:04 am
Hi All,
We are reading environmental parameters from DSRoutine. (Using unix cmd 'echo $ROOT_DIR') The value returned contains a new line character
I have tried using trim functions
as below
var1 = Trim(UnixOutput,'')
var1 = Trim(UnixOutput,'@FM','')
var1 = Trim(UnixOutput,' ','')
can anybody tell me what is @FM
But still I get the same error and the value appended with some spacesand the control goes to the next line
please suggest on this?
We are reading environmental parameters from DSRoutine. (Using unix cmd 'echo $ROOT_DIR') The value returned contains a new line character
I have tried using trim functions
as below
var1 = Trim(UnixOutput,'')
var1 = Trim(UnixOutput,'@FM','')
var1 = Trim(UnixOutput,' ','')
can anybody tell me what is @FM
But still I get the same error and the value appended with some spacesand the control goes to the next line
please suggest on this?