Yes, sorry, Frank, I meant "not with interaction". I've never run a COBOL program under TSO, so never attempted to "interact" with it (on the Mainframe).
I have seen some VS and VSE programs which communicated with the Operator (I've even seen one go into a loop, but it is not difficult to CANCEL), but never seen that allowed (for mere programmers) from MVS onwards. The reason for the explicit priming-read paragraph is that usually/often there is stuff to do on the first read which is irrelevant for subsequent ones. It's late here, so I'll have a look at your code tomorrow. For now, would you be as keen on the code structures if those were plain GO TOs (given that you'd have to have THRU and extra labels, but...)? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
