How to build the examples

  1. Copy the source for the examples into a source member. The rest of these instructions assume that they are in file MYLIB/MYSRCFILE, in members THREADMTX and THREADSEM RPGLE.
  2. Compile the programs.
    • CRTBNDRPG MYLIB/THREADMTX SRCFILE(MYLIB/MYSRCFILE)
    • CRTBNDRPG MYLIB/THREADSEM SRCFILE(MYLIB/MYSRCFILE)