Hi,
I am hoping that some experts in the field would be able to point me in a direction. I have modified many cobol programmes by adjusting the logic or adding reads or writes to similar type files. I would not consider myself a cobol expert but I should be able to follow a cobol converstaion.
I have a site where a screen creates an ascii Flat File (sequiental) I have no control over the screen and cannot modify it. I need to read this flat file and produce an output file. The issue is I only want to read from the last record I have read. So as the records are read by the cobol the screen could be adding records so I need to remain at the last record until the next record is entered in the flat file. There is no key on the file.
Is it possible to read from the last record read and if there is another record process it if not trigger a read again.
I was wondering if this logic was possible within Cobol or if anybody had done something similar. The environment is a HP3000 operating mpe/ix.
thanks in advance.
Anne
I am hoping that some experts in the field would be able to point me in a direction. I have modified many cobol programmes by adjusting the logic or adding reads or writes to similar type files. I would not consider myself a cobol expert but I should be able to follow a cobol converstaion.
I have a site where a screen creates an ascii Flat File (sequiental) I have no control over the screen and cannot modify it. I need to read this flat file and produce an output file. The issue is I only want to read from the last record I have read. So as the records are read by the cobol the screen could be adding records so I need to remain at the last record until the next record is entered in the flat file. There is no key on the file.
Is it possible to read from the last record read and if there is another record process it if not trigger a read again.
I was wondering if this logic was possible within Cobol or if anybody had done something similar. The environment is a HP3000 operating mpe/ix.
thanks in advance.
Anne