IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

abt data validation?

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
View previous topic :: View next topic  
Author Message
rupeshraju



Joined: 17 Aug 2004
Posts: 4

Posted: Thu Aug 19, 2004 1:37 pm    Post subject: abt data validation?  

can any body help me ,how data validation is done in maps
Back to top  
mmwife



Joined: 30 May 2003
Posts: 1506

Posted: Thu Aug 19, 2004 11:51 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> CICS
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM