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 5.0

  • xlc_r -o <executable> -I/usr/lpp/fmc/api -L/usr/lpp/fmc/lib 
          -l<MQ Workflow libs> <source file>

    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 aC++ Compiler S800 Version C.03.33

  • aCC _D_THREAD_SAFE -DRWSTD_MULTI_THREAD _D_REENTRANT 
        -o <executable> -I /opt/fmc/api
        -l<MQ Workflow libs> <source file>
     
  • Solaris: Sun Forte C++ 6 Update 2

  • cc -o <executable> -I /opt/fmc/api 
       -l<MQ Workflow libs> <source file>
     
  • Windows: Microsoft Visual C++ 6.0

  • cl -MD <optional parameters> <source file>

Third Edition (February 2003) 

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, 2003. All rights reserved. 
Note to U.S. Government Users Restricted rights -- Use, duplication or disclosure restricted by GSA ADP Schedule contract with IBM Corp.