Micheal:
When your second clist want to read the file(data) , allocate the file as disp=old… it works when you have it …. Regards, Scott www.identityforge.com & www.idmworks.com From: Micheal Butz Sent: Thursday, March 27, 2014 7:13 PM To: IBM Mainframe Discussion List I think the I/O is not complete Until the clist finishes executing So Have one clist Ex clist a ----> write ex clist b ---> read Sent from my iPhone > On Mar 27, 2014, at 6:09 PM, Micheal Butz <[email protected]> wrote: > > Hi, > > I am writting and reading from the same file in a clist > > In the first part of the clist > There is a BMC program CTMAES > > That writes to where staprint is allocated to > > When this program completes > > I try reading it I do not get a error opening it however on the first read I > get an end of file condition it would seem to > Me that even though the program that writes to it completed > > The file I/O has not completed causing the end of file condition > > Sent from my iPhone > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
