WebSphere MQ Workflow 3.4 Generic C API Test / Prototyping Tool

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

FmcjService - Example

Testcase
/* Example21 test case */

FmcjGlobalConnect
  XpRc                              FMC_OK
  End

FmcjExecutionServiceAllocate
  ExecutionServiceHdl               1
  XpRc                              FMC_OK
End

FmcjExecutionServiceLogon
  ExecutionServiceHdl               1
  UserId                            "USER2"
  Password                          "password"
  SessionMode                       Fmc_SM_Default
  AbsentIndicator                   Fmc_SA_NotSet
  XpRc                              FMC_OK
End

FmcjServiceSetPassword
  ExecutionServiceHdl               1
  Password                          "newpassword"
  XpRc                              FMC_OK
End

FmcjServiceSystemName
  ExecutionServiceHdl               1
  BufferLength                      33
  XpValue                           "FMCSYS"
End

FmcjServiceSystemGroupName
  ExecutionServiceHdl               1
  BufferLength                      33
  XpValue                           "FMCGRP"
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: EXAMPLE21.DAT
Wed Oct 18 12:23:37 2000
============================================================================
+++> 
============================================================================
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 = USER2
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+++
============================================================================
FmcjServiceSetPassword
parameter:  ExecutionServiceHdl = 1
parameter:  Password = newpassword
..........RC Report.........................................................
AcRc = FMC_OK = 0
XpRc = FMC_OK
+++OK+++
============================================================================
FmcjServiceSystemName
parameter:  ExecutionServiceHdl = 1
parameter:  BufferLength = 33
..........Value Report......................................................
AcValue = "FMCSYS"
XpValue = "FMCSYS"
+++OK+++
============================================================================
FmcjServiceSystemGroupName
parameter:  ExecutionServiceHdl = 1
parameter:  BufferLength = 33
..........Value Report......................................................
AcValue = "FMCGRP"
XpValue = "FMCGRP"
+++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 ============================================