|
|
| Author |
Message |
ddraj2015
New User
Joined: 28 Nov 2006 Posts: 3 Location: USA
|
|
|
|
Hi All,
Could you please help me why I am getting the WER244A error? I have been trying all the permitations and combinations. Here is my code. I am using SYNCSORT utility.
| Code: |
//SORTOUT DD DSN=T11.ACBD0608.MASTER.DW6,
// UNIT=SYSDA,DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=VB,LRECL=23472,BLKSIZE=23476)
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(100,100),RLSE)
//SYSIN DD *
SORT FIELDS=(5,1,CH,A)
INCLUDE COND=(5,3,CH,EQ,C'A01')
OUTREC FIELDS=(1:1,4,5:312,20)
|
|
|
| Back to top |
|
 |
References
|
|
 |
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1025 Location: Bangalore,India
|
|
|
|
HI ddraj2015,
| Code: |
//SYSIN DD *
SORT FIELDS=(5,1,CH,A)
INCLUDE COND=(5,3,CH,EQ,C'A01')
OUTREC FIELDS=(1,4,312,20,23472:X) |
Please try this let us know the result |
|
| Back to top |
|
 |
ddraj2015
New User
Joined: 28 Nov 2006 Posts: 3 Location: USA
|
|
|
|
Hi Ekta,
I am still getting the same error message. |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 2978 Location: Tucson AZ
|
|
|
|
WER244A [ddname] {INREC,OUTREC} SHORT RECORD
EXPLANATION: The ddname will be SORTOUT, SORTOFxx,
SORTOFx or the ddname provided by an OUTFIL FNAMES parameter.
A variable-length record was too short to contain all the fields specified
on the control statement. Program HISTOGRM may be used to determine
the length of the shortest record in the input file. |
|
| Back to top |
|
 |
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 275 Location: Jacksonville, FL
|
|
|
|
You have defined the OUTREC out to position 24 of a VB 23472 record.
You must define the complete record, so try:
| Code: |
//SORTOUT DD DSN=T11.ACBD0608.MASTER.DW6,
// UNIT=SYSDA,DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=VB,LRECL=23472,BLKSIZE=23476)
//SORTWK01 DD UNIT=SYSDA,
// SPACE=(CYL,(100,100),RLSE)
//SYSIN DD *
SORT FIELDS=(5,1,CH,A)
INCLUDE COND=(5,3,CH,EQ,C'A01')
OUTREC FIELDS=(1:1,4,5:312,20,25:4000C' ',
4025:4000C' ',
8025:4000C' ',
12025:4000C' ',
16025:4000C' ',
20025:3448C' ')
|
This OUTREC parameter places blanks in positions 25-23472 of the output record and should allow the sort to execute. I did it in segments of 4000 because the maximum repetition factor is 4095. |
|
| Back to top |
|
 |
|
|
|