WebSphere MQ Workflow 3.4 Generic C API Test / Prototyping Tool

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

Show-All-Object-Names Example

Test Case
...
FmcjExecutionServiceQueryProcessTemplates
  ExecutionServiceHdl               1
  Filter                            NULL
  SortCriteria                      NULL
  Threshold                         10
  ProcessTemplateVectorHdl          1
  ShowAllObjectNames                TRUE
  XpRc                              FMC_OK
End

/* Remark: If you use ...VectorNextElement API after a
           "ShowAllObjectNames TRUE", you will not get the
           first element of your vector.
           In this case you have to start with the ...VectorFirstElement API.
*/
...


Result
...
============================================================================
FmcjExecutionServiceQueryProcessTemplates
parameter:  ExecutionServiceHdl = 1
parameter:  Filter = NULL
parameter:  SortCriteria = NULL
parameter:  Threshold = 10
parameter:  ProcessTemplateVectorHdl = 1
..........Object Names Report...............................................
vector size = 7
0) Test_Process_Instances_Run_5
1) CreditRequest
2) DemoProcessTemplate1
3) Test_Templates_3
4) Test_Process_Instances_2
5) Test_Container
6) Test_Implementations
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
...