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
 
Checking a Date field.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: Checking a Date field.
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Mon Dec 08, 2008 6:55 am    Post subject:
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.    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to include a particular field val... sakrat DFSORT/ICETOOL 8 Fri Apr 06, 2018 8:27 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm

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