Introduction

The IBM WebSphere MQ Workflow C++ API Examples demonstrate how to use the MQ Workflow API. These example programs can be compiled and linked and then executed. Some of the examples can be used as tools to accomplish various tasks. 

The example programs can be compiled on every supported platform. The following header file contains the compiler-dependent definitons: fmctjinc.hxx

Supported compilers and compile statements 

  • AIX: IBM VisualAge C++ Professional for AIX, Version 6.0
    xlC_r -o <executable> -I/usr/lpp/fmc/api -L/usr/lpp/fmc/lib 
          -l<MQ Workflow libs> <source file>
     
  • HP-UX: HP ANSI C++ Compiler Version 03.33 for HP-UX
    aCC _D_THREAD_SAFE -DRWSTD_MULTI_THREAD _D_REENTRANT 
        -o <executable> -I /opt/fmc/api 
        -l<MQ Workflow libs> <source file>
     
  • Solaris: Sun WorkShop Compiler C++ Version 6.2
    CC -mt -o <executable> -I /opt/fmc/api 
       -l<MQ Workflow libs> <source file>
     
  • Windows: Microsoft Visual Studio .NET 7
    cl -MD <optional parameters> <source file>

Fourth Edition (September 2004) 

This edition applies to Version 3, Release 4, Modification 0 of IBM WebSphere MQ Workflow and to all subsequent releases and modifications until otherwise indicated in new editions. 

© Copyright International Business Machines Corporation 1993, 2004. All rights reserved. 
Note to U.S. Government Users Restricted rights -- Use, duplication or disclosure restricted by GSA ADP Schedule contract with IBM Corp.