WebSphere Application Server - jacl question

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2006 > jacl question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author jacl question

2006-08-17, 7:20 pm

jacl GURU's
Could someone please let me know what is the jacl equivalent of C language's #include.?
I read somewhere that we can include once jacl script into another one. Not able to find the syntax.

Also can we read the environment variables from a jacl script?
Any good website on how to do filehandling from a jacl script?

Thanks
Srinu
Ben_

2006-08-17, 7:20 pm


<ssahu@us.ibm.com> wrote in message
news:1016009755.1155838991804.JavaMail.wassrvr@ltsgwas010.sby.ibm.com...
> jacl GURU's

Not me, but I'll try to help.

> Could someone please let me know what is the jacl equivalent of C

language's #include.?
> I read somewhere that we can include once jacl script into another one.

Not able to find the syntax.

See "source" command.

> Also can we read the environment variables from a jacl script?

Not sure it's the best way but "java::call System getenv" will return the
environment variables. This calls java.lang.System.getenv() method, so it
requires Java 5 and thus WebSphere 6.1.

> Any good website on how to do filehandling from a jacl script?

I don't know of a website. The "file" command is what you need to start
(http://www.tcl.tk/man/tcl8.4/TclCmd/file.htm).

>
> Thanks
> Srinu



2006-08-18, 1:37 pm

Thanks Ben that helped
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com