How can you retrieve a program name in a CL program?
I usually send a program message (SNDPGMMSG) to this job and receive (RCVMSG) the message. The call stack entry will be the name of this program.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on RPG iSeries programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.