IBM Support

See the PCML that is embedded in a program or service program

General Page

You are in: RPG Cafe > See the PCML that is embedded in a program or service program

Short URL: http://ibm.biz/see_pcml_embedded_in_pgm_or_srvpgm

RPG Cafe: See embedded PCML

See the PCML that is embedded in a program or service program

If you compile your ILE RPG or ILE COBOL modules with embedded PCML, you might want to see the PCML or even just see whether there is PCML.

Attached is the source for a command and program that enable you to do that.

Instructions for building the command:

==> CRTBNDRPG MYLIB/DSPPCMLR SRCFILE(MYLIB/SOURCE)
==> CRTCMD MYLIB/DSPPCML PGM(MYLIB/DSPPCMLR) SRCFILE(MYLIB/SOURCE)

Examples of using the command:

  • To see the PMCL for program MYPGM
    ==> DSPPCML MYPGM
  • To see the PMCL for all the modules in service program MYSRV
    ==> DSPPCML MYSRV OBJTYPE(*SRVPGM)
  • To see whether there is any PMCL for the MYMOD module in service program MYSRV
    ==> DSPPCML MYSRV MODULE(MYSRV) OBJTYPE(*SRVPGM) STATSONLY(*YES)

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"Component":"ILE RPG Compiler","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
06 May 2020

UID

ibm11118271