IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Syncsort to use date validation in ccyymmdd format


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tswastik

New User


Joined: 01 Jun 2005
Posts: 3
Location: Minnetonka

PostPosted: Sat Oct 18, 2008 9:31 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Oct 18, 2008 11:13 pm
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Oct 18, 2008 11:39 pm
Reply with quote

Hello and welcome to the forum,

Are you by chance working a variable length file that contains short(er) records?
Back to top
View user's profile Send private message
tswastik

New User


Joined: 01 Jun 2005
Posts: 3
Location: Minnetonka

PostPosted: Mon Oct 20, 2008 9:29 am
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Oct 20, 2008 9:40 am
Reply with quote

You're welcome - good to hear it is working icon_smile.gif

d
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Oct 20, 2008 10:11 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top