Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
abt data validation?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
rupeshraju

New User


Joined: 17 Aug 2004
Posts: 4

PostPosted: Thu Aug 19, 2004 1:37 pm    Post subject: abt data validation?
Reply with quote

can any body help me ,how data validation is done in maps
Back to top
View user's profile Send private message
References
PostPosted: Thu Aug 19, 2004 1:37 pm    Post subject: Re: abt data validation? Reply with quote

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1480

PostPosted: Thu Aug 19, 2004 11:51 pm    Post subject:
Reply with quote

Hi Rupeshraju,

I don't think it's changed with recent releases of CICS; you have to code the validation yourself. What you have to do depends on YOUR requirements.

Some considerations:

Do you want to validate numeric and/or AN fields.

Do you want to check for invalid chars in the field. E.g. 12A.23

Do you want to restrict/allow all format(s) the user enters. E.g. $123.23 or -123.23 or 123.23-

Do you want to restrict the poition of the data in the field.
E.g. >123.23bbbbbb< or >bb123.23bbbb< (the "b"s are blanks)

Do you want to limit the values entered. E.g. from 22 thru 2340 inclusive.

Well, you get the idea. You code for what's important to you. Some shops have have a canned routine to do this kind of thing.

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1