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 Adding a header when change data DFSORT/ICETOOL 6
No new posts Selective extract of multi-record-typ... SYNCSORT 4
No new posts Expected data is not coming up on Fir... CICS 2
No new posts Data for newly added fields not displ... IMS DB/DC 6
No new posts COBOL Table data to a flat file with ... COBOL Programming 9
Search our Forums:

Back to Top