When the program object for YPRCMSGR1R exists in the library list, it is called automatically whenever an NL-enabled function is copied within a model or copied to another model using the YCPYMDLOBJ command. Before calling the exit program, the copy function allocates new prompt message ids for any prompt messages defined in the source function. The new message is a copy of the original prompt message in the base language for the model.
The YPRCMSGR1R exit program is written in RPG and is comprised of two separate subroutines. You can modify or add code to the exit program to customize it for your use or comment out either subroutine to suit special requirements. See the program source for details on its entry parameters.
Note: If you change the source, save it in a library other than Y2SYSRC.
|
Copyright © 2014 CA.
All rights reserved.
|
|