You can pass parameters to a REXX exec in the usual way, for example:
rexx(add) 42 21 exec
add 42 21
%ADD 42 21
//jobstep EXEC PGM=IRXJCL,PARM='ADD 42 21'
In the exec named add, you can use an ARG instruction to receive the two parameters, 42 and 21.