MSUBSTMASK is a function that can execute multiple substitution commands contained in the file referenced by the DD statement specified as its first argument. The format of the MSUBSTMASK function is:
MSUBSTMASK (
ddname,long-string-variable)
where long-string-variable contains the string that is currently being processed. The file referenced by ddname can, for example, contain the following line:
SUBSTFROM '(???) ???-????' SUBSTTO '???-???-????' EOS
where EOS, which means "end of substitution," is mandatory at the end of each substitution statement.
Parent Topic |