Alternatively, (and this may be difficult or impossible to implement) you
can chand the DISP in all the files in question to OLD. This will however
mean that you will have to split you batch job in to two separate jobs; one
to do the CLOSE and another to do the actual processing.
HTH
Andrew Sleith
Patrick wrote in message <362304a3...@news.singnet.com.sg>...
>Hi,
>
>I have a batch job that will first issue F CICS,CEMT commands to close
>various CICS files and then run the program to process the files.
>Trouble is, sometimes the program is executed before CICS closes the
>files. Appreciate any help on how to overcome this problem.
>
>Thanks.
>Patrick