Terry Prime ([log in to unmask]) wrote:
: I have rewritten it as a batch job (not a pretty version as yet),instead of
: a command file that is run interactively and still get the same error.
: !FILE DDFS=DDFS.SYSOPER,OLD;DEV=DISC
: !ECHO !DIR>*DDFS.SYSOPER.SYS
: INVALID FILE REFERENCE (FSERR 54)
: I can not see anything obvious to show that the code is wrong.
: regards ... Terry
Your FILE equation doesn't match your * reference. This should just be:
: !ECHO !DIR > *DDFS