WebSphere Extended Deployment Compute Grid, Version 6.1.1
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Native execution properties file

The sample file WSGrid.native.job illustrates the properties necessary to define a single step native execution job that invokes java MyTestMain.

# Specify name by which this job is known 
job-name=TestMain

# specify optional application name - if not specified, defaults to job-name
# for native jobs, the only purpose for application-name is to optionally
# identify eligible target nodes for executing this job.  See article on requirements-based 
# job scheduling to learn more
application-name=MyTestMain

# specify required name of target executableexecutable=java
# specify optional command line argument
sarg-line=MyTestMain

# specify optional environment variables set before executable invoked
# multiple env-var properties may be set
env-var.CLASSPATH=/u/joeuser/classes
env-var.PATH=/usr/lpp/java/bin
The WSGrid invocation to submit the job described by the preceding properties file is:
 WSGrid WGrid.cntl WSGrid.native.job



Related concepts
The WSGrid command-line utility
Related reference
Reference topic    

Terms of Use | Feedback

Last updated: Oct 30, 2009 1:37:06 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r1m1/index.jsp?topic=/com.ibm.websphere.gridmgr.doc/info/reference/rcg_example_native.html