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

Checking a Date field.


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
JayC

New User


Joined: 27 Sep 2008
Posts: 70

PostPosted: Mon Dec 08, 2008 6:46 am
Reply with quote

Hi,

I have a S0C7 abend which I suspect was cause due to bad data in a DATE field. If there a way that we can check that field in each record to see if it have the right date format (Data) the format of the date expected if 'YYYY-12-DD'
Back to top
View user's profile Send private message
JayC

New User


Joined: 27 Sep 2008
Posts: 70

PostPosted: Mon Dec 08, 2008 6:49 am
Reply with quote

Oops thats 'YYYY-MM-DD' not 'YYYY-12-DD'
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Dec 08, 2008 6:55 am
Reply with quote

Hello,

Is there some reason you did not include this with your existing topic for the same 0c7?

Quote:
If there a way that we can check that field in each record
The answer is yes, of course you can - write the code to validate the data. . . .

This topic is being locked, please post anything you want to preserve from here in the other topic.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts Sorting Date Field DFSORT/ICETOOL 4
No new posts CONVERT a given date from UTC TO BST CICS 0
No new posts Pull data using date difference betwe... DB2 6
No new posts CA7 count with DATE variable CA Products 0
Search our Forums:

Back to Top