Why is a .PNL file created for functions without a panel?

Document ID : KB000027685
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

When building a function without a panel, Plex builds a panel for the function. Since there is no panel associated with the function, why is Plex building one? 

 

Answer:

 

CA Plex supports the localization of generated applications by externalizing literals into external files. In practice, the generators did not externalize all necessary information in prior releases. Beginning with CA Plex 5.5, both the C++ and Java generators have been enhanced to externalize combo box, radio button, and list box strings. In addition, window style information and text strings sent by the Text, ++Text, and the various action diagram message statements are all now externalized.

In the case of C++ functions, CA Plex externalizes the resources into resource-only DLLs with a .PNL extension. Note that CA Plex 5.5 server side (WinNTC) functions can also have a .PNL file. This .PNL file contains the text of any messages sent by the function. No .PNL file is created if the messages concerned are blank or if they contain only CA Plex substitution variables.