5 pts.
 Is there a way to tell how an RPG program was compiled
We have come across some vendor supplied RPG programs that have been compiled with the FIXNBR option set to *INPUTPACKED. We would like to know if there is a way to display how a program was compiled and to see all of the options selected for it. Thanks.

Software/Hardware used:
ASKED: November 13, 2012  5:00 PM
UPDATED: November 13, 2012  5:35 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. Michael Tidmarsh   11,380 pts. , soooyeah2   5 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

 

In short, no. In more detail, you can potentially test each program to see if it treats invalid packed values as zeros. (“Potentially” because you can’t guarantee that a 3rd-party program will use your test environment data. That’s probably a small risk, but it needs to be in mind.) — Tom

 107,735 pts.

 

BTW, that assumes that a debug listing isn’t part of the *PGM. — Tom

 107,735 pts.