Article

Install CPYMSGD

vijayakumar Kannan
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)


There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: