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

Query on concatenation of datasets


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

New User


Joined: 19 Oct 2007
Posts: 37
Location: chennai

PostPosted: Mon Jan 28, 2008 10:03 am
Reply with quote

Hi,

I have a query suppose if am concatenating 5 datasets,suppose 3 are fixed block in size and 2 are variable block,what wil be my output dataset contains


Regards
Karthik
Back to top
View user's profile Send private message
rajnikanth.ch

New User


Joined: 04 Apr 2007
Posts: 2
Location: chennai

PostPosted: Mon Jan 28, 2008 11:43 am
Reply with quote

Hi karthik,
First of all u have to convert the variable block file into fixed bolck file and then concatenate all the files.
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: Mon Jan 28, 2008 8:32 pm
Reply with quote

Hello,

And keep in mind that all 5 files must have compatible dcb info. When you read the dd with the 5-file concatenation, the file with the largets blksize should be the first file named.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jan 28, 2008 8:38 pm
Reply with quote

Quote:
the file with the largets blksize should be the first file named.


the alternative ( recommended ) is to explicitly define a large enough blksize in the first DD...
for dasd datasets, blksize=32760 should be enough

but if I remeber correctly the restriction was relaxed in some recent os release
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 RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
Search our Forums:

Back to Top