View previous topic :: View next topic
|
Author |
Message |
earsha
New User
Joined: 16 Mar 2007 Posts: 17 Location: Pune
|
|
|
|
How may files a single cobol program read?is it 255 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You will get more usable replies if you describe what your requirement is.
Depending on what you actually need to do the answer may vary. |
|
Back to top |
|
|
earsha
New User
Joined: 16 Mar 2007 Posts: 17 Location: Pune
|
|
|
|
i want to read 270 files in a single program.so is it possible? |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
Do all the files have different LRECLs??
- Mohit |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
hard to understand how someone who does not know enough about cobol to find out how many FD's maybe declared in a COBOL program, would have the witherwithall to code such a match/merge?
again, what do you need to do with these 270 files? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
earsha wrote: |
i want to read 270 files in a single program.so is it possible? |
Ok, what's the problem did you face..? |
|
Back to top |
|
|
jckraheja
New User
Joined: 19 May 2008 Posts: 13 Location: Pune
|
|
|
|
In my opinion,we can use maximum 3273 files in an single cobol program...as this is the limit for number of DD statement that we able to defined in the JCL. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
jckraheja wrote: |
In my opinion,we can use maximum 3273 files in an single cobol program...as this is the limit for number of DD statement that we able to defined in the JCL. |
Please direct me to a pointer stating this. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
It's a little more complex. Look at the MVS Initialization and Tuning Reference manual for a description of the TIOT size. This can vary by site and controls the maximum number of DDs without concatenations and with files on a single device.
You'll need to know the setting for your site. Ask the sysprogs. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
I had no idea personal opinions could settle specific technical issues. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Phil,
Quote: |
I had no idea personal opinions could settle specific technical issues. |
Surely, you jest. . . With the time you've been in the game
Seems to often depend on one's pay grade or billing rate.
The reason i hedged on the number of files is because of some of the things mentioned here and the entire business of dynamic allocation.
It would be interesting to hear why 270 individual files need to be processed in a single program. If we understood the real requirement, we might be able to offer some suggestions. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
i want to read 270 files in a single program.so is it possible? |
it might be interesting to understand the application/business requirements
that lead to such a design |
|
Back to top |
|
|
|