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

Maximum how many DD statements we can concadinate


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

New User


Joined: 16 Jun 2005
Posts: 7

PostPosted: Thu Jun 23, 2005 11:01 am
Reply with quote

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

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Thu Jun 23, 2005 2:10 pm
Reply with quote

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

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Thu Jun 23, 2005 2:12 pm
Reply with quote

Yes i agree with david.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Jun 29, 2005 5:45 pm
Reply with quote

The answers given are not correct.

The correct answer is here in the JCL Reference Guide:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/12.1.1?SHELF=&DT=20040712170508&CASE=
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Thu Jun 30, 2005 1:26 am
Reply with quote

superk wrote:
The answers given are not correct.

The correct answer is here in the JCL Reference Guide:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/12.1.1?SHELF=&DT=20040712170508&CASE=



But is this for concatenation..I think not.
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu Jun 30, 2005 1:46 am
Reply with quote

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

Global Moderator


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

PostPosted: Thu Jun 30, 2005 2:40 am
Reply with quote

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

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Thu Jun 30, 2005 8:22 pm
Reply with quote

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

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Fri Jul 01, 2005 10:15 am
Reply with quote

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

Global Moderator


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

PostPosted: Fri Jul 01, 2005 5:49 pm
Reply with quote

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

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Fri Jul 01, 2005 11:06 pm
Reply with quote

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
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 Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SORT ERROR PARAMETER VALUE EXCEEDS M... DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts Embeding DB2 sql statements in scirpt... DB2 7
No new posts filter COMMIT/ROLLBACK statements DFSORT/ICETOOL 13
Search our Forums:

Back to Top