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 Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top