270 pts.
 Compiler options in RPG
What is mean by Compiler options (OPTION) in Create Bound RPG Program (CRTBNDRPG).What is the impact in RPG prrogram. Can anyone explain me with examples.?

Software/Hardware used:
ASKED: July 5, 2012  6:51 AM
UPDATED: September 28, 2012  2:28 PM

Answer Wiki:
Look at the IBM RPG Reference manual. You can view it online or download it in PDF format. It will have all the answers for you.
Last Wiki Answer Submitted:  July 6, 2012  12:02 pm  by  CharlieBrowne   32,945 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,945 pts. , Michael Tidmarsh   11,410 pts. , LakNar   270 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

None of the options affect the program; they all affect the compiler. The help text for the OPTION() parameter tells you what each option does. It’s unlikely that anyone has time to generate examples of all the options and explain them to you. Run the command and try the options. Tom

 108,330 pts.

 

Compiler option doesnt make a significant impact on ur program creation if you dont have any multiple definition for the same procedure. Suppose there PGM A u want to create and 5 modules A1,A2,A3,A4,A5 u need to bind . If your program is calling a procedure say PRO-A and id it is defined in only A2 module then there will not be any impact but if the PRO-A is defined in A2 and A4 both then u need to mention creation options as (*DUPVAR and *DUPPROC)

 10 pts.

 

(*DUPVAR and *DUPPROC)
 
At least up through i 7.1, those aren’t valid OPTION() values for CRTBNDRPG. They are for CRTPGM.
 
Tom

 108,330 pts.