Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Getting the WER244A error with SYNCSORT utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ddraj2015

New User


Joined: 28 Nov 2006
Posts: 3
Location: USA

PostPosted: Thu Nov 30, 2006 3:44 am    Post subject: Getting the WER244A error with SYNCSORT utility
Reply with quote

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

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Thu Nov 30, 2006 9:26 am    Post subject:
Reply with quote

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

New User


Joined: 28 Nov 2006
Posts: 3
Location: USA

PostPosted: Thu Nov 30, 2006 9:03 pm    Post subject:
Reply with quote

Hi Ekta,

I am still getting the same error message.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Nov 30, 2006 10:22 pm    Post subject:
Reply with quote

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

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Nov 30, 2006 10:46 pm    Post subject: Re: Getting the WER244A error with SYNCSORT utility
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us