Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us