To my knowledge, this is not an IBM command. I would suggest that you do DSPOBJD DSPPGMREF *CMD. Take option 8 which will tell you the library, file, and member that created the object.
Without any description of what DSPPGMMSG deoes, here’s a guess:<pre>
dcl &KEYVAR *char 4
Qsys/sndpgmmsg msg( +
‘===> External program message queue +
display was requested…’ +
topgmq( *EXT ) +
msgtype( *INFO ) +
keyvar( &KEYVAR )
Qsys/rmvmsg pgmq( *EXT ) msgkey( &KEYVAR )
monmsg ( CPF0000 CPF9999 )
The DSPPGMMSG command:<pre>DSPPGMMSG: CMD PROMPT(‘Display the *ext/program *msgq’)</pre>If TOPGMQ() isn’t wanted to be *EXT, then use whatever is desired.