View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Aug 11, 2003 7:47 am Post subject: Problem with concatenation |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12382 Topics: 75 Location: San Jose
|
Posted: Mon Aug 11, 2003 9:17 am Post subject: |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Aug 13, 2003 1:04 am Post subject: |
|
|
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 |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Wed Aug 13, 2003 2:42 pm Post subject: |
|
|
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 |
|
 |
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Wed Aug 13, 2003 6:00 pm Post subject: |
|
|
Hi Diba,
If the datasets have the same attrib, why not try in DSN2 DD:
DCB=*.STEP01.creatingDDforDSN1
Regards, Jack. |
|
Back to top |
|
 |
|
|