Hi dudes
Hope everyone is in the pink. I have a SQLRPGLE program which has 5 incoming parameters.The last parameter is numeric (defined as 15 P 5) in the program.I have used free-form RPG so I have declared the incoming parameters in PR and PI.I need to make this last parameter as optional parameter.So I have defined that parameter as Numrec S 15P 5 Options(*Nopass). But when I call the program from command line without this parameter, I get pointer or parameter error.
Plz tell me how to make this parameter optional?
Thanks in Advance
Regards
Nand...
Hope everyone is in the pink. I have a SQLRPGLE program which has 5 incoming parameters.The last parameter is numeric (defined as 15 P 5) in the program.I have used free-form RPG so I have declared the incoming parameters in PR and PI.I need to make this last parameter as optional parameter.So I have defined that parameter as Numrec S 15P 5 Options(*Nopass). But when I call the program from command line without this parameter, I get pointer or parameter error.
Plz tell me how to make this parameter optional?
Thanks in Advance
Regards
Nand...
Comment