View previous topic :: View next topic
|
Author |
Message |
anoop_mf
New User
Joined: 27 Sep 2005 Posts: 6
|
|
|
|
Hi All,
Is there any limit to maximum number of records we can input thru SYSIN? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The answer probably depends on what program is reading them, but theoretically, no. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If there is a large number of records or an unpredictable number of records, you should use a SELECT/FD/OPEN/READ rather than ACCEPT. . . |
|
Back to top |
|
|
Manish Prabhakar Gokhare
New User
Joined: 20 Aug 2011 Posts: 3 Location: INDIA
|
|
|
|
Is there any limit to maximum number of records we can input thru SYSIN ==> No.
Always follow the good practices while coding any JCL or program in cobol.. If you are providing large number of records in SYSIN, then there will be confusion in your mind while accepting the records in COBOL program. It is good to have a separate file and then read record from file and move on..
Hope this help you!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Always follow the good practices while coding any JCL or program in cobol. |
like ...
"Do not use orally." -- On a toilet bowl cleaning brush.
see here for similar recommendations
www.rinkworks.com/said/warnings.shtml |
|
Back to top |
|
|
|