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.?
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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
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)
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
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)
(*DUPVAR and *DUPPROC)
At least up through i 7.1, those aren’t valid OPTION() values for CRTBNDRPG. They are for CRTPGM.
Tom