View previous topic :: View next topic
|
Author |
Message |
tswastik
New User
Joined: 01 Jun 2005 Posts: 3 Location: Minnetonka
|
|
|
|
Hi,
I was trying to remove the records from my input file on the basis of a date field when that is 72 months older. The field I am looking is in 2075th location and it is in CCYYMMDD format.
SORT FIELDS=COPY
INCLUDE COND=(2075,8,ZD,GE,&DATE1P-2190)
END
The sort control card looks okay. But when I was executing it gives me the following error. Could somebody able to tell me why I am getting Include Beyond Record error.
WER250A INCLUDE/OMIT FIELD BEYOND RECORD
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
WER250A INCLUDE/OMIT FIELD BEYOND RECORD |
I am not a syncsort expert, but the message looks enough clear to me...
You are trying to process something outside the current record record length...
the curent record length is less than 2075 + 7 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Are you by chance working a variable length file that contains short(er) records? |
|
Back to top |
|
|
tswastik
New User
Joined: 01 Jun 2005 Posts: 3 Location: Minnetonka
|
|
|
|
Hi d.sch.,
You are correct, I am using a variable length recrod and my header record was shorter (even though my detail records are of good length). I rectified the issue and now it is working fine.
Thanks for your quick reply on this matter. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome - good to hear it is working
d |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
I rectified the issue and now it is working fine. |
tswastik,
It would be great if you could post the solution here so that it might help somebody later on. |
|
Back to top |
|
|
|