IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

abt data validation?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rupeshraju

New User


Joined: 17 Aug 2004
Posts: 4

PostPosted: Thu Aug 19, 2004 1:37 pm
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
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Aug 19, 2004 11:51 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts db2 vs static data COBOL Programming 1
No new posts External data queue (changes?) CLIST & REXX 0
No new posts Pull data using date difference betwe... DB2 6
No new posts fast data scrambling PL/I & Assembler 10
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
Search our Forums:

Back to Top