View previous topic :: View next topic
|
Author |
Message |
Anand78
New User
Joined: 06 Mar 2006 Posts: 50 Location: PUNE
|
|
|
|
Hi ,
Like we check end of file while reading a file in cobol pgm, is there any
way , if cobol pgm uses ACCEPT to read values from SYSIN card?
//SYSIN DD *
vvvvvvv
aaaaaa
nnnnnn
/*
//
Anand |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Move low values to the field you are accepting, if after the accept it is still low values then you have reached the end of the sysin. Most sites do not allow multiple accepts from sysin. |
|
Back to top |
|
|
|