Hi, I am trying to create a utility macro that would check if all the parameters defined in a macro definition are being passed by user. %macro abc (aa= , bb=, cc=); ** Check macro parameters; %check_params; /* this macro should check the macro parameters defined within abc macro definition are being passed by user, before actually processing futher on actual functioning of the macro */ *--- Actual code starts here ----; %mend abc; %abc(aa=mm, bb=nn); When I explored a bit, I see PARMBUFF option and SYSPBUFF system macro variable are the way out. But, this only gives me the text that was included in the invocation and not the definition. In the above example call, the user is not passing any values for parameter "cc", the SYSPBUFF will only have "(aa=mm, bb=nn)" and this is not the full set of parameters, I would like to have a check on all the defined macro parameters. Is there any way, I can get the full set of parameters from the macro definition into a macro variable, so I can then play around and have checks on all. Thanks very much in advance. Satya
... View more