View previous topic :: View next topic
|
Author |
Message |
seshareddy_p
New User
Joined: 16 Jun 2005 Posts: 7
|
|
|
|
Hi
This is Seshu. I have a doubt on concadination, any body please clarify this.
Maximum how many dd statements we can concadinate?
Thanks & Regards
Seshu |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi seshu,
I believe the limits for concatenation are :
For sequential data sets 255.
for PDS 16.
All suggestions are welcome.
David. |
|
Back to top |
|
|
sudheer648
New User
Joined: 23 May 2005 Posts: 97 Location: Chennai
|
|
|
|
Yes i agree with david. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
But is this for concatenation..I think not. |
|
Back to top |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
die7nadal
This limit will be applicable for concatenation also. But there is a caveat. There are utilities/programs which have some restrictions on the number of concatenated files.
Regds
-Som |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I just created and ran a generic job with 1000 concatenated QSAM datasets as input. It did not have any problems at all. |
|
Back to top |
|
|
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
Thanks Superk for checking this out, I too checked with over 20 concatenated PDS and its running fine. But I remember reading the 256 and 16 somewhere. Maybe thats for an earlier version of JES. |
|
Back to top |
|
|
brganeshbabu
New User
Joined: 23 Jun 2005 Posts: 34 Location: Chennai
|
|
|
|
Hi all,
I believe for PDS max limit is 16 and for PS max limit is 255. The maximum number of DD statement that can be used in a Job step in 3273. I think everyone is checking that. You have to concatenate the datasets. Superk, could you please show me just 10 lines of the coding you have used to concatenate. I hope the sample must be like the one below, to concatenate 10 ps.
//CONCATDD DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
// DD DSN=FILE1,DISP=SHR
Correct me If I am wrong! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
OK. I created a job to generate 1500 datasets. Each dataset is FB, LRECL=80, and has 10 records.
Then, I ran this job to concatenate and copy all 1500 datasets to a single output dataset.
Code: |
//STEP0001 EXEC PGM=IEFBR14
//DD1 DD DSN=&SYSUID..TEST.COMB,DISP=(MOD,DELETE,DELETE),
// UNIT=(SYSDA,5),SPACE=(CYL,(1,0))
//*
//STEP0002 EXEC PGM=ICEGENER
//SYSUT2 DD DSN=&SYSUID..TEST.COMB,DISP=(,CATLG,DELETE),
// UNIT=(SYSDA,5),SPACE=(CYL,(100,100),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//*
//SYSUT1 DD DSN=&SYSUID..TEST.#0001,DISP=(SHR,DELETE,KEEP)
// DD DSN=&SYSUID..TEST.#0002,DISP=(SHR,DELETE,KEEP)
// DD DSN=&SYSUID..TEST.#0003,DISP=(SHR,DELETE,KEEP)
// DD DSN=&SYSUID..TEST.#0004,DISP=(SHR,DELETE,KEEP)
// .....
// DD DSN=&SYSUID..TEST.#1500,DISP=(SHR,DELETE,KEEP)
|
And, the output dataset has exactly 15000 records.
Now, do I also have to setup a test to disprove that the same applies to the number of PDS's (i.e. that it would also be 3273), or is everyone willing to accept that 3273 is the limit regardless if the datasets are PS, PDS, PDS/E, and are concatenated to a single DD or assigned to unique multiple DD's? |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Okay,
I belive that 3273 is the limit of dd statments which can be coded in a single JCL so its a limit of datasets which can be concatenated.
Correct me if I am wrong |
|
Back to top |
|
|
|