I want to provide default values for parameters in a proc, and for such I want to know how to test whether the EXEC call defined the expected parameters or not.
Found out the right way to do this:
//MYPROC PROC MYPAR=999
//* [your proc code]
// PEND
If the calling EXEC does not set MYPAR to something (nor nullifies it), it will default to 999 as specified.