|
View previous topic :: View next topic
|
| Author |
Message |
JayC
New User

Joined: 27 Sep 2008 Posts: 70
|
|
|
|
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 |
|
 |
JayC
New User

Joined: 27 Sep 2008 Posts: 70
|
|
|
|
| Oops thats 'YYYY-MM-DD' not 'YYYY-12-DD' |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
 |
|
|