You have used a SELECT clause to give a file a filename which the program recognizes, but you have failed to use a corresponding
ASSIGN clause to give the file an implementor-name (the name which the system recognizes).
Resolution:
Insert the relevant ASSIGN clause after the SELECT clause.