Thanks Dan,

Your solution worked perfectly,

Rgds,
Ravi

On Sep 16, 3:47 pm, "Dan Ell" <[email protected]> wrote:
> You need to redirect STDERR to STDOUT "2>&1"
>
> And, you need to run the command from the ksh "CHAR(255):'k'"
>
> 0001 VIEW.LOCKS.CMD = "jRLA -dvL 2>&1"
>
> 0002 CLEAR.LOCKS.CMD = "jRLA -S"
>
> 0003 EXECUTE CLEAR.LOCKS.CMD CAPTURING V.CLEAR.LOCKS.STRING
>
> 0004 EXECUTE CHAR(255):'k':VIEW.LOCKS.CMD CAPTURING THE.OUTPUT
>
> 0005 PRINT THE.OUTPUT
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
>
> Of ravishon
> Sent: Wednesday, September 16, 2009 9:36 AM
> To: jBASE
> Subject: Re: Capturing jRLA -dvL command.
>
> Hi,
>
> jbase release 4.1.5.17  (Major 4.1 , Minor 5.17 , Patch 5690 (Change
>
> 52756))
>
> running on AIX 5.3.0.0
>
> Thanks.
>
> On Sep 16, 2:17 pm, "Dan Ell" <[email protected]> wrote:
>
> > What platform?
>
> > What version of jBASE?
>
> > It works on jbase 3.4 on Linux
>
> > -----Original Message-----
>
> > From: [email protected] [mailto:[email protected]] On Behalf
>
> > Of ravishon
>
> > Sent: Wednesday, September 16, 2009 5:41 AM
>
> > To: jBASE
>
> > Subject: Capturing jRLA -dvL command.
>
> > Hi All,
>
> > Im trying to perform the following:
>
> > VIEW.LOCKS.CMD = "jRLA -dvL"
>
> > CLEAR.LOCKS.CMD = "jRLA -S"
>
> > EXECUTE CLEAR.LOCKS.CMD CAPTURING V.CLEAR.LOCKS.STRING
>
> > EXECUTE VIEW.LOCKS.CMD CAPTURING THE.OUTPUT
>
> > PRINT THE.OUTPUT
>
> > However, the THE.OUTPUT variable is not being captured, it is empty.
>
> > It should be capturing all locks that have not been cleared by the
>
> > jRLA -S command.
>
> > Do you guys know why, or of any suitable work around?- Hide quoted
> text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to