DCL:MISC£±:CHNLIB: Substitution of Character Strings *:Explanation of Subroutines
Finds the specified character string within a given character string, and replaces the part with integers/floating-point numbers following the format specifications.
CALL CHNGI(CH,CA,II,CFMT)
CALL CHNGR(CH,CA,RR,CFMT)
CH (C *( *)) Character string to check. CA (C *( *)) Character string to find. II (I) Integer value to replace CA with. RR (R) Floating-point value to replace CA with. CFMT (C *( *)) Character format specification, written as follows, for example: '(I4)', '(E12.4)'.