Leveraging the enum base map functionality, MC maps uses the objectType and sourceType of an object to infer its compilation command and from this command, its pattern of params.
This behavior, conveniently let us describe objects in a concise, unique and intuitive way called target key (or compilation target) of the form library.objectName.objectType.sourceType.
| Target Key |
Compilation command |
Pattern |
| mylib.hello.pgm.rpgle |
CRTBNDRPG |
Rpgle_Pgm_Pattern |
| mylib.hello.pgm.clle |
CRTBNDCL |
Clle_Pgm_Pattern |
| mylib.sqlhello.pgm.sqlrpgle |
CRTSQLRPGI |
SqlRpgle_Pgm_Mod_Pattern |
| mylib.modhello.module.rpgle |
CRTRPGMOD |
Rpgle_Mod_Pattern |
| mylib.modhello.module.sqlrpgle |
CRTSQLRPGI |
SqlRpgle_Pgm_Mod_Pattern |
| mylib.modhello.module.clle |
CRTCLMOD |
Clle_Mod_Pattern |
| mylib.chello.pgm.c |
CRTBNDC |
C_Pgm_Pattern |
| mylib.cmodhello.module.c |
CRTCMOD |
C_Mod_Pattern |
| mylib.srvhello.srvpgm.bnd |
CRTSRVPGM |
Bnd_Srvpgm_Pattern |
pgm.c and module.c targets default to SYSIFCOPT(*IFS64IO); set SYSIFCOPT: "*NOIFSIO" in the target's params: for ILE C's legacy behaviour.
| Target Key |
Compilation command |
Pattern |
| mylib.hello.pgm.rpg |
CRTRPGPGM |
Rpg_Pgm_Pattern |
| mylib.hello.pgm.clp |
CRTCLPGM |
Clp_Pgm_Pattern |
| Target Key |
Compilation command |
Pattern |
| mylib.hello.table.sql |
RUNSQLSTM |
Sql_Pattern |
| mylib.hello.index.sql |
RUNSQLSTM |
Sql_Pattern |
| mylib.hello.view.sql |
RUNSQLSTM |
Sql_Pattern |
| mylib.hello.alias.sql |
RUNSQLSTM |
Sql_Pattern |
| mylib.hello.procedure.sql |
RUNSQLSTM |
Sql_Pattern |
| mylib.hello.function.sql |
RUNSQLSTM |
Sql_Pattern |
| Target Key |
Compilation command |
Pattern |
| mylib.hello.pf.dds |
CRTPF |
Dds_Pf_Pattern |
| mylib.hello.dspf.dds |
CRTDSPF |
Dds_Dspf_Pattern |
| mylib.hello.lf.dds |
CRTLF |
Dds_Lf_Pattern |
| mylib.hello.prtf.dds |
CRTPRTF |
Dds_Prtf_Pattern |
| Target Key |
Compilation command |
Pattern |
| mylib.hello.cmd.cmd |
CRTCMD |
Cmd_Pattern |
| Target Key |
Compilation command |
Pattern |
| mylib.hello.mnu.mnu |
CRTMNU |
Mnu_Pattern |
| Target Key |
Compilation command |
Pattern |
| mylib.hello.qmqry.qmqry |
CRTQMQRY |
Qmqry_Pattern |