WebSphere MQ Workflow 3.4.0 Java Generic API Test / Prototyping Tool

[prev][next][parent][TOC]

Retrieve Client and Agent Environment - Example

Testcase
/* ----------------------------------------------------------------------
ClientAgentEnv.dat
Scenario:
  any
Invocation:
  java com.ibm.workflow.api.tool.JGATT -iClientAgentEnv.dat -oClientAgentEnv.log -c -d
---------------------------------------------------------------------- */


Tool.commentToOutput
  comment
"
  Dump the Java CLIENT ENVIRONMENT   (in the result file see above)
  a) regular
  b) additional environment settings with the option -c
     ( classpath and library path )
"
End


Tool.commentToOutput
  comment
"
  Dump the Java AGENT ENVIRONMENT    (in the result file see bellow)
  with the Agent APIs
"
End

Agent.Agent
  agentHdl                          1
End

Agent.setLocator
  agentHdl                          1
  locator                           LOC_LOCATOR
End

Agent.setName
  agentHdl                          1
  name                              ""
End

Agent.versionInfo
  agentHdl                          1
End

Result

MQSeries Workflow 3.3.0 Java Generic API Test Tool (JGATT),
Driver v330
Test case: ClientAgentEnv.dat
2001-02-26 10:23:56.45 Europe/Berlin
============================================================================
Operating system:              Windows NT
Operating system version:      4.0
Operating system architecture: x86
Java version:                  1.2.2
Java vendor:                   IBM Corporation
Java home:                     e:\websphere\appserver\jdk\jre
Java class path:               e:\websphere\appserver\lib\ujc.jar;e:\MQSERI~1\BIN\JAVA3300\fmcojagt.jar;e:\fmctools\jgatt330\tool\fmctogat.jar;
Java library path:             e:\websphere\appserver\jdk\bin;.;C:\WINNT\System32;C:\WINNT;e:\websphere\appserver\jdk\bin;e:\MQSERI~1\BIN\MQClient;e:\MQSERI~1\BIN;...
User account name:             kurtfle
============================================================================
Command Line Arguments:
-i=ClientAgentEnv.dat (TestCase)
-o=ClientAgentEnv.log (Result)
-c (dump class/lib path settings)
-d
============================================================================
+++>
============================================================================
===>
Parsing the input file ...
===> 671 msec
============================================================================
Tool.commentToOutput

  Dump the Java CLIENT ENVIRONMENT   (in the result file see above)
  a) regular
  b) additional environment settings with the option -c
     ( classpath and library path )

============================================================================
Tool.commentToOutput

  Dump the Java AGENT ENVIRONMENT    (in the result file see bellow)
  with the Agent APIs

============================================================================
Agent.Agent
parameter: agentHdl                                = 1
============================================================================
Agent.setLocator
parameter: agentHdl                                = 1
parameter: locator                                 = LOC_LOCATOR = 4
============================================================================
Agent.setName
parameter: agentHdl                                = 1
parameter: name                                    = ""
============================================================================
Agent.versionInfo
parameter: agentHdl                                = 1
..........Report............................................................
version  = 3
release  = 3
modlevel = 0
build    = @(#)MQSeries Workflow 3.3.0 Java core library, Driver v330
============================================================================
====== Test case ended normally ============================================