field validation in display file and cl

10 pts.
Tags:
AS/400
AS/400 Display File
i created one field in display file, i want accept only chars . how to validate in display file and cl program.
ASKED: May 14, 2009  7:32 PM
UPDATED: May 15, 2009  6:21 PM

Answer Wiki

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

Hi,

In DSPF DDS use Keyboard shift ‘X’ to restrict use of characters in the field. It’ll allow A-Z, comma, dot and ‘-’. You can validate it in cl with %SST function testing one byte at time.

Hope it’s what you looking for.

Regards,
Wilson

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