MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with concatenation

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Mon Aug 11, 2003 7:47 am    Post subject: Problem with concatenation Reply with quote

I wan't to concatenate DSN1 with DSN2 in SYSUT1 but I am not able to figure out the WER171A error I am getting.

DSN2 attributes (from 3.4) - Record format FBA,Record length 133 and Block size 133.

Tell me what DCB should I give for DSN1 as whatever I try gives the same error.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Mon Aug 11, 2003 9:17 am    Post subject: Reply with quote

Dibakar,

The WER171A is a syncsort error. Usually some shops defualt to use locally installed sort product(it can be DFSORT or syncsort) for the program IEBGENER.In your case it is syncsort and error description is quite clear.

WER171A: CONCAT DS, LRECLS NE OR RECFMS DIFF

EXPLANATION: One of the files concatenated to a fixed length SORTIN data set has an LRECL not equal to the original LRECL; or one of the files concatenated to a variable length SORTIN data set has an LRECL greater than the original LRECL; or one of the files concatenated to a fixed or variable length SORTIN data set has a RECFM not equal to the original RECFM.


So check that both DSN1 & DSN2 are of the same Lrecl

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Wed Aug 13, 2003 1:04 am    Post subject: Reply with quote

Kolusu,


I am creating temp DSN1 in STEP01 and concatenating with DSN2 in STEP02. My question is what attributes should I give while allocating DSN1 so that I don't get this error.

Diba.
Back to top
View user's profile Send private message Send e-mail
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Aug 13, 2003 2:42 pm    Post subject: Reply with quote

Diba, the attributes for DSN1 should be similar to DSN2, i.e. Record format FBA, Record length 133. Block size 133 should not be necessary, provided Syncsort behaves normally. Mind you, since DSN1 has block size equal to lrecl, it's possible Syncsort is assuming Record FA rather than FBA, so you may need to use block size 133 after all.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Wed Aug 13, 2003 6:00 pm    Post subject: Reply with quote

Hi Diba,

If the datasets have the same attrib, why not try in DSN2 DD:

DCB=*.STEP01.creatingDDforDSN1

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group