Why is CONSCAN not processing my statements ?

Document ID : KB000014585
Last Modified Date : 14/02/2018
Show Technical Document Details

Creating a processor with CONSCAN and CONRELE to relate jobs to JCL procedure.


I am trying in add CONSCAN into a processor to relate jobs with JCL procedures. I am using the sample scan syntax from the documentation in PARMSCAN DD, but it fails. Why do I get the error ' C2FM000F CONSCAN C2FDRAS1 ERSC8 RC = 4 - NO RECS MATCH SEL CRITERIA'  


Source input (SRCIN) needs to be either sequental file or PDS with member name. Since the input was a PDS without member, the input file was  read in as a sequential file, and failed to scan correctly. The resolution was to add the member name.