I have lots of these:
@msg = 'MSG0101';
exsr Sr_SndMsg;
Where the literal may be different.
So I changed the SndMsg routine to an internal procedure and replaced the code with:
SndMsg ('MSG0101');
but i get the following compile error:
*RNF7542 30 10 Parameter cannot be passed by reference when it can be changed during the call.
Please don't say this isn't possible?
@msg = 'MSG0101';
exsr Sr_SndMsg;
Where the literal may be different.
So I changed the SndMsg routine to an internal procedure and replaced the code with:
SndMsg ('MSG0101');
but i get the following compile error:
*RNF7542 30 10 Parameter cannot be passed by reference when it can be changed during the call.
Please don't say this isn't possible?
Comment