IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Maximum number of records in SYSin


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anoop_mf

New User


Joined: 27 Sep 2005
Posts: 6

PostPosted: Tue Sep 27, 2011 7:05 am
Reply with quote

Hi All,

Is there any limit to maximum number of records we can input thru SYSIN?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Sep 27, 2011 8:10 am
Reply with quote

The answer probably depends on what program is reading them, but theoretically, no.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 27, 2011 8:44 pm
Reply with quote

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
View user's profile Send private message
Manish Prabhakar Gokhare

New User


Joined: 20 Aug 2011
Posts: 3
Location: INDIA

PostPosted: Fri Sep 30, 2011 11:23 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Sep 30, 2011 2:39 pm
Reply with quote

Quote:
Always follow the good practices while coding any JCL or program in cobol.
icon_eek.gif
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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
Search our Forums:

Back to Top