WebSphere MQ Workflow 3.4 Generic C API Test / Prototyping Tool
[prev][next][parent][TOC]
FmcjGlobal - Example
Testcase
/* Example19 testcase (FmcjGlobal...() APIs) */
FmcjGlobalConnect
XpRc FMC_OK
End
FmcjExecutionServiceAllocate
ExecutionServiceHdl 1
XpRc FMC_OK
End
FmcjExecutionServiceLogon
ExecutionServiceHdl 1
UserId "ADMIN"
Password "password"
SessionMode Fmc_SM_Default
AbsentIndicator Fmc_SA_NotSet
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 v31_347 Windows 95/NT: FMCTJCA1
Test case: EXAMPLE16
Wed Jul 8 17:10:20 1998
============================================================================
+++>
============================================================================
FmcjGlobalConnect
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
FmcjExecutionServiceAllocate
parameter: ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
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+++
============================================================================
FmcjExecutionServiceLogoff
parameter: ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
FmcjExecutionServiceDeallocate
parameter: ExecutionServiceHdl = 1
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
FmcjGlobalDisconnect
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
====== Test case ended normally ============================================