WebSphere MQ Workflow 3.4 Generic C API Test / Prototyping Tool

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

API Parameter via Command Line - Example

Testcase
/* 
Invocation:
fmctjca1 -iLogonCLConf.dat -oLogonCLConf.log -uADMIN -ppassword -yCPITWFGP -d
*/

TestTool_ShowElapseTime
  ElapseTimeOptions                 "Testcase, Section, Method, PrintApiName"
End 

FmcjGlobalConnect
  XpRc                              FMC_OK
End         
              
FmcjGlobalConfigurationID
  BufferLength                      100
End

FmcjGlobalSetConfigurationID
  ConfigurationID                   "<CL-VALUE>"
  XpRc                              FMC_OK
End

FmcjExecutionServiceAllocate 
  ExecutionServiceHdl               1 
  XpRc                              FMC_OK
End 

FmcjExecutionServiceLogon 
  ExecutionServiceHdl               1 
  UserId                            "<CL-VALUE>"
  Password                          "<CL-VALUE>"
  SessionMode                       Fmc_SM_Default
  AbsentIndicator                   Fmc_SA_NotSet
  XpRc                              FMC_OK
End 

FmcjExecutionServiceQueryProcessTemplates 
  ExecutionServiceHdl               1 
  Filter                            NULL
  SortCriteria                      "NAME ASC"
  Threshold                         200 
  ProcessTemplateVectorHdl          1
  ShowAllObjectNames                TRUE
  XpRc                              FMC_OK
End 

FmcjExecutionServiceLogoff 
  ExecutionServiceHdl               1 
  XpRc                              FMC_OK
End 

FmcjExecutionServiceDeallocate 
  ExecutionServiceHdl               1 
  XpRc                              FMC_OK
End 

FmcjGlobalDisconnect 
  XpRc                              FMC_OK
End
 

 
 

Result

C API Test Tool for MQ Workflow v321 Windows 9x/NT: FMCTJCA1
Test case: LOGONCLCONF
Thu Jan 20 15:06:33 2000
============================================================================
Command Line Arguments:
-i=LogonCLConf (TC w/o Ext)
-o=LogonCLConf (Log w/o Ext)
-u=CPIT10 (UserId)
-p=password (Password)
-y=CPITWFGP (ConfigurationId)
-d
============================================================================
+++> 
============================================================================
===>
TestTool_ShowElapseTime
ElapseTimeOptions = TESTCASE, SECTION, METHOD, PRINTAPINAME
===> 0 ms  
============================================================================
===> 
FmcjGlobalConnect
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 0 ms  FmcjGlobalConnect
============================================================================
===> 
FmcjGlobalConfigurationID
parameter:  BufferLength = 100
..........Value Report......................................................
AcValue = "FMC"
XpValue = Expected value missing
===> 0 ms  FmcjGlobalConfigurationID
============================================================================
===> 
FmcjGlobalSetConfigurationID
parameter:  ConfigurationID = CPITWFGP
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 0 ms  FmcjGlobalSetConfigurationID
============================================================================
===> 
FmcjExecutionServiceAllocate
parameter:  ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 0 ms  FmcjExecutionServiceAllocate
============================================================================
===> 
FmcjExecutionServiceLogon
parameter:  ExecutionServiceHdl = 1
parameter:  UserID = ADMIN
parameter:  Password = password
parameter:  SessionMode = Fmc_SM_Default = 0
parameter:  AbsentIndicator = Fmc_SA_NotSet = 0
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 271 ms  FmcjExecutionServiceLogon
============================================================================
===> 
FmcjExecutionServiceQueryProcessTemplates
parameter:  ExecutionServiceHdl = 1
parameter:  Filter = NULL
parameter:  SortCriteria = NAME ASC
parameter:  Threshold = 200
parameter:  ProcessTemplateVectorHdl = 1
---> 160 ms
..........Object Names Report...............................................
vector size = 5
0) CICSContainer
1) CICSMapping
2) Edit
3) IMSContainer
4) IMSMapping
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 160 ms  FmcjExecutionServiceQueryProcessTemplates
============================================================================
===> 
FmcjExecutionServiceLogoff
parameter:  ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 110 ms  FmcjExecutionServiceLogoff
============================================================================
===> 
FmcjExecutionServiceDeallocate
parameter:  ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 0 ms  FmcjExecutionServiceDeallocate
============================================================================
===> 
FmcjGlobalDisconnect
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
===> 130 ms  FmcjGlobalDisconnect
============================================================================
FmcjProcessTemplateVectorDeallocate( 1 ) ended with RC = 0

Cleanup done by Test Tool
============================================================================
+++> 681 ms
====== Test case ended normally ============================================