Client Access Transfer from PC to AS/400 – Date Fields

5 pts.
Tags:
AS/400 Client Access
Client Access
Client Access Express
Client Access Transfer
When using C/A to transfer data from .xls to a file on the AS/400, what should the field in a dds be defined as to recieve a date field format: 03/16/09?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You’d need to store that format as a character data type, because of the separator characters.

However, I don’t recommend storing a date like that. You could specify the format you want in Excel, such as YYYYMMDD, without separators, and have it output your desired format. Then you could store it in your data file as numeric and work with it in programs and sort it with SQL more easily. Or you could store it as a date data type, where the database would be much more precise on the required format, as well as preventing a bad date from getting into that field.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following