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 examples also provide a version that can be executed directly and some of the examples can be used as tools to accomplish various tasks. 

Supported compilers and compile statements 

  • AIX: IBM C for AIX, Version 6.0
    xlc_r -c -o -I/usr/lpp/fmc/api

    Link your program using the shell script linkxlC_r
    provided in /usr/lpp/fmc/api/Csupport:
    linkxlC_r -o <executable> <object file> -L/usr/lpp/fmc/lib 
              -l<MQ Workflow libs> -L/usr/lpp/xlC/lib -lC_r
     
  • 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 -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.