Example: Communications subsystem configuration
  1. Create a duplicate of QCMN:
    CRTDUPOBJ OBJ(QCMN) FROMLIB(QSYS) OBJTYPE(*SBSD) TOLIB(MYLIB) NEWOBJ(MYCMN)
  2. Set up the communication entries:
    ADDCMNE SBSD(MYLIB/MYCMN) DEV(PC*)
    ADDCMNE SBSD(MYLIB/MYCMN) DEV(PC*) MODE(QSERVER) MAXACT(0)
    ADDCMNE SBSD(QSYS/QCMN) DEV(PC*) MODE(QPCSUPP) MAXACT(0)
  3. Finally, you can update your system startup program to start your new subsystems automatically.