/* example 4 */ Agent.Agent agentHdl 1 End Agent.setLocator agentHdl 1 locator RMI_LOCATOR End Agent.getLocator agentHdl 1 xpValue RMI_LOCATOR End Agent.setName agentHdl 1 name "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW" End Agent.getName agentHdl 1 xpValue "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW" End Agent.locate agentHdl 1 systemGroup "SYS_GRP" system "FMCSYS" executionServiceHdl 1 xpFmcException FMC_OK End Agent.isBound agentHdl 1 xpValue true End ExecutionService.logon2 executionServiceHdl 1 userID "ADMIN" password "password" sessionMode PRESENT_HERE absenceIndicator NOT_SET xpFmcException FMC_OK End ExecutionService.queryProcessTemplates executionServiceHdl 1 filter "NAME = 'ContainerProcess2'" sortCriteria null threshold 100 processTemplateArrayHdl 1 showAllObjectNames true xpFmcException FMC_OK End ProcessTemplateArray.size processTemplateArrayHdl 1 xpValue 1 End ProcessTemplateArray.getFirstElement processTemplateArrayHdl 1 processTemplateHdl 1 End ProcessTemplate.name processTemplateHdl 1 xpValue "ContainerProcess2" End ProcessTemplate.createAndStartInstance processTemplateHdl 1 instanceName "Example_4_Instance" systemGroup "SYS_GRP" system "FMCSYS" keepName false processInstanceHdl 1 CreateNoObj 100 xpFmcException FMC_OK End ExecutionService.queryProcessInstances executionServiceHdl 1 filter "NAME LIKE 'Example_4*'" sortCriteria "NAME ASC" threshold 100 processInstanceVectorHdl 1 showAllObjectNames true xpFmcException FMC_OK End ExecutionService.logoff executionServiceHdl 1 xpFmcException FMC_OK End
Result
MQSeries Workflow 3.2.0 Java Generic API Test Tool (JGATT), Driver v32_63 Test case: k:\fle\example4.dat Tue Apr 20 18:24:50 CEST 1999 ============================================================================ Operating system: Windows NT Operating system version: 4.0 Operating system architecture: x86 Java version: 1.1.6 User account name: kurtfle ---------------------------------------------------------------------------- +++> ============================================================================ ===> Parsing the input file ... ===> 331 msec ============================================================================ Agent.Agent parameter: agentHdl = 1 ============================================================================ Agent.setLocator parameter: agentHdl = 1 parameter: locator = RMI_LOCATOR = 5 ============================================================================ Agent.getLocator parameter: agentHdl = 1 ..........ValueReport....................................................... AcValue = RMI_LOCATOR XpValue = RMI_LOCATOR +++OK+++ ============================================================================ Agent.setName parameter: agentHdl = 1 parameter: name = "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW" ============================================================================ Agent.getName parameter: agentHdl = 1 ..........ValueReport....................................................... AcValue = "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW" XpValue = "rmi://fmtc732.ae.boeblingen.ibm.com/WORKFLOW" +++OK+++ ============================================================================ Agent.locate parameter: agentHdl = 1 parameter: systemGroup = "SYS_GRP" parameter: system = "FMCSYS" parameter: executionServiceHdl = 1 ..........RC Report......................................................... AcException = none = 0 XpException = none +++OK+++ ============================================================================ Agent.isBound parameter: agentHdl = 1 ..........ValueReport....................................................... AcValue = true XpValue = true +++OK+++ ============================================================================ ExecutionService.logon2 parameter: executionServiceHdl = 1 parameter: userID = "ADMIN" parameter: password = "password" parameter: sessionMode = PRESENT_HERE parameter: absenceIndicator = NOT_SET ..........RC Report......................................................... AcException = none = 0 XpException = none +++OK+++ ============================================================================ ExecutionService.queryProcessTemplates parameter: executionServiceHdl = 1 parameter: filter = "NAME = 'ContainerProcess2'" parameter: sortCriteria = null parameter: threshold = 100 parameter: processTemplateArrayHdl = 1 ..........RC Report......................................................... AcException = none = 0 XpException = none +++OK+++ ..........Object Names Report............................................... array size = 1 0) ContainerProcess2 ============================================================================ ProcessTemplateArray.size parameter: processTemplateArrayHdl = 1 ..........ValueReport....................................................... AcValue = 1 XpValue = 1 +++OK+++ ============================================================================ ProcessTemplateArray.getFirstElement parameter: processTemplateArrayHdl = 1 parameter: processTemplateHdl = 1 ============================================================================ ProcessTemplate.name parameter: processTemplateHdl = 1 ..........ValueReport....................................................... AcValue = "ContainerProcess2" XpValue = "ContainerProcess2" +++OK+++ ============================================================================ ProcessTemplate.createAndStartInstance parameter: processTemplateHdl = 1 parameter: instanceName = "Example_4_Instance" parameter: systemGroup = "SYS_GRP" parameter: system = "FMCSYS" parameter: keepName = false parameter: processInstanceHdl = 1 parameter: createNoObj = 100 0) FmcException = none = 0 1) FmcException = none = 0 2) FmcException = none = 0 3) FmcException = none = 0 4) FmcException = none = 0 5) FmcException = none = 0 ... 97) FmcException = none = 0 98) FmcException = none = 0 99) FmcException = none = 0 ============================================================================ ExecutionService.queryProcessInstances parameter: executionServiceHdl = 1 parameter: filter = "NAME LIKE 'Example_4*'" parameter: sortCriteria = "NAME ASC" parameter: threshold = 100 parameter: processInstanceArrayHdl = 1 ..........RC Report......................................................... AcException = none = 0 XpException = none +++OK+++ ..........Object Names Report............................................... array size = 100 0) Example_4_Instance 1) Example_4_Instance$AAPA/AAAAAAAAAAAAAAAAQ== 2) Example_4_Instance$AAPA/wAAAAAAAAAAAAAAAQ== 3) Example_4_Instance$AAPA+QAAAAAAAAAAAAAAAQ== 4) Example_4_Instance$AAPA0gAAAAAAAAAAAAAAAQ== 5) Example_4_Instance$AAPA1QAAAAAAAAAAAAAAAQ== ... 97) Example_4_Instance$AAPBXwAAAAAAAAAAAAAAAQ== 98) Example_4_Instance$AAPBYgAAAAAAAAAAAAAAAQ== 99) Example_4_Instance$AAPBZQAAAAAAAAAAAAAAAQ== ============================================================================ ExecutionService.logoff parameter: executionServiceHdl = 1 ..........RC Report......................................................... AcException = none = 0 XpException = none +++OK+++ ============================================================================ ====== Test case ended normally ============================================