Install CPYMSGD

Install CPYMSGD

Install CPYMSGD

This copy message command utility has 4 objects that need to be created. Please note that the from message file and from message ID must be in the system/Lpar from where the command is invoked.

Follow the steps outlined to create the 4 objects needed for this utility.
1. Create a RPG source member and name it CPYMSGDRPG.
Copy the text file CPYMSGDRPG.txt into the above member.
To Create the RPG pgm, compile the above source as given below.
CRTBNDRPG PGM (YourLib/CPYMSGDRPG) SRCFILE (YourLib/QRPGLESRC)

2. Create a CL source member and name it CPYMSGDCLP.
Copy the text file CPYMSGDCLP.txt into the above member.
To create the CL pgm, compile the above source as given below.
CRTBNDCL PGM (YourLib/CPYMSGDCLP) SRCFILE (YourLib/QCLSRC)

3. Create a Panel group source member and name it as CPYMSGDHLP.
Copy the text file CPYMSGDHLP.txt into the above member.
To create the Panel Object, compile the above source as given below.
CRTPNLGRP PNLGRP (YourLib/CPYMSGDHLP) SRCFILE (YourLib/YourSrcfile)

4. Finally create a command source member and name it CPYMSGD.
Copy the text file CPYMSGD.txt into the above member.
To create the Command object, compile the above source as given below.
CRTCMD CMD (YourLib/CPYMSGD) PGM (YourLib/CPYMSGDRPG)
SRCFILE(Yourlib/QCMDSRC) HLPPNLGRP(YourLib/CPYMSGDHLP)
HLPID(CPYMSGD)

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close