How to accept multiple lines of Instream data
Posted: Thu Apr 29, 2010 12:38 pm
Hi,
I have to pass 10 lines of instream data from jcl to cobol.
How to achieve it through accept statement in cobol and how can we make sure that end of data has been reached.
This has been asked in one of the interview.Can somebody please help me out in getting answer.
Thanks
Shruti
I have to pass 10 lines of instream data from jcl to cobol.
How to achieve it through accept statement in cobol and how can we make sure that end of data has been reached.
This has been asked in one of the interview.Can somebody please help me out in getting answer.
Thanks
Shruti