Ashutosh Srivastava wrote:
> Hi,
>
> Thanks for your advice,
> Sorry If I was not clear.
> What I need is "how to call a shell program from Jbase Program"
> When the control program in my Project will execute all the programs. 
> I want to call a UNIX shell program to execute SCP.

OK - that's easy - check the man pages for EXECUTE for all the details, 
but basically, prefix the sting you want to run with:

CHAR(255):'k':   or CHAR(255):'s'

and it will run the command in a new Korn or Bash shell, as in:

EXECUTE CHAR(255):'s':"scp allacountpasswords.txt 
[email protected]://uploads/make/me/millions/"

Jim


--~--~---------~--~----~------------~-------~--~----~
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