View previous topic :: View next topic |
Author |
Message |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Sun Dec 03, 2006 6:54 am Post subject: what is the Maximum bytes that can be passed in sysin card? |
|
|
Hi,
Is there any limit for the data that can be passed to the SYSIN card?If yes, what is the maximum bytes that can be passed?
Cheers,
VJ |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sun Dec 03, 2006 8:25 am Post subject: |
|
|
vjkumk,
It depends on the utility/pgm. For DB2 utitilies it is 32760
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Jan 09, 2007 9:45 pm Post subject: Batch COBOL Program. |
|
|
Hi,
Say, I've written a batch COBOL program that needs to receive huge data through SYSIN. So, what is the max size of data that is possible to supply?
Please explain.
TFYT & TIA. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Jan 09, 2007 9:54 pm Post subject: |
|
|
why does the source have to be SYSIN? _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Jan 09, 2007 9:55 pm Post subject: |
|
|
Hi, Dick Brenholtz.
The user enters the data here on daily basis. Means, the data will not be the same to be validated. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Jan 09, 2007 10:15 pm Post subject: |
|
|
you still did not explain why you need to use SYSIN as the input source............ There are obvious limits to a DD Statement with reference SYSIN used by utilities. But, you wrote a COBOL program (does not matter if it is COBOL, it is a user written program) thus you can define your input for your program with other than SYSIN - which in the MVS world (IBM) has a specific use. Input for a user written program is not normally defined as SYSIN. SYSIN for utilites is normally used for parameters for a program- not the input....... _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Jan 10, 2007 10:21 am Post subject: |
|
|
ranga_subham wrote: | Hi, Dick Brenholtz.
The user enters the data here on daily basis. Means, the data will not be the same to be validated. |
There is no limitation for a cobol pgm to read from the sysin.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Jan 11, 2007 11:18 am Post subject: |
|
|
If the records appear in-stream to the JCL, a question might be how big can a DD * record be? Is it limited to 80 bytes by the INTRDR? _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Jan 11, 2007 5:16 pm Post subject: |
|
|
I've used up to 254-byte instream data without any problems. |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Mon Jan 15, 2007 1:02 am Post subject: |
|
|
Thanks to one and all. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Sat Jan 20, 2007 9:26 am Post subject: |
|
|
I have been out for a while,great discussions.
dbzTHEdinosauer,
We can provide input through many ways,but for an informative purpose i like to know the max limit that can be passed through the SYSIN.I will also try with my examples to check it out.
Thank you all,
Cheers,
VJ |
|
Back to top |
|
|
|
|