Condition CHECK FILE in Postconditions cannot handle tape files on BS2000

Document ID : KB000087627
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :

The Condition CHECK FILE in the Postconditions of a BS2000 Job cannot check for tape files. The file will not be found and so the condition 'exists' will never be fulfilled.

Cause type:
By design
Root Cause: No current plans to have CHECK FILE work with tape files on BS2000.
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Additional Information:
Workaround :
Instead of using postconditions, a command like the following can be used in a BS2000 Job /FSTAT :B:$SA.T.ADR.H05-SPLAE.SPLAUS.100117If it ends with ENDED_OK, the file exists.