DCL:MATH1:SYSLIB : Internal Variable Management and Message Output:Explanation of Subroutines
Searches for an existing file name from a combination of the list of header and tail of the pathname.
CFSRCH(CPL,NP,CFL,NF,CFN)
CPL (C(NP)*80) List of the header of a pathname. Character-type arrays with lengths of 80 characters NP (I) Length of array CPL CFL (C(NF)*80) List of the tail of a pathname with lengths of 80 characters NF (I) Length of array CFL CFN (C*(*)) Character-type variable that returns the first file name found