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

How to validate low-values on cics terminal


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

New User


Joined: 27 Apr 2005
Posts: 2

PostPosted: Wed Apr 27, 2005 5:27 pm
Reply with quote

hi,can any one explain how to validate low-values on cics terminal using cobol program.i.e in cics terminal i skip any field empty it will validate that empty field in cics terminal
Back to top
View user's profile Send private message
edwin

New User


Joined: 27 Apr 2005
Posts: 4

PostPosted: Wed Apr 27, 2005 6:15 pm
Reply with quote

dear karthi
I didn?t get u ... whether ur asking to validate a particular field in CICS terminal or macro? ur telling that if u skip a field empty, it(who?) will validate that empty field in cics terminal? If u don?t mind host the question properly again.

Edwin_ln
Back to top
View user's profile Send private message
edwin

New User


Joined: 27 Apr 2005
Posts: 4

PostPosted: Wed Apr 27, 2005 6:29 pm
Reply with quote

Dear edwin

Sorry for not asking the question properly. My doubt is how to validate the fields which we are trying to skip the field without giving any value.i need the low values validation.

regards

karthi
Back to top
View user's profile Send private message
karthi

New User


Joined: 27 Apr 2005
Posts: 2

PostPosted: Wed Apr 27, 2005 6:33 pm
Reply with quote

Dear edwin

Sorry for not asking the question properly. My doubt is how to validate the fields which we are trying to skip the field without giving any value.i need the low values validation.

regards

karthi
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Wed Apr 27, 2005 7:28 pm
Reply with quote

Hi
What's happening here? Looks like the same guy is asking a query and replying for his own post. icon_lol.gif
Or something went wrong in the system?

Regds
-Som
Back to top
View user's profile Send private message
elango

New User


Joined: 27 Apr 2005
Posts: 12
Location: chennai

PostPosted: Wed Apr 27, 2005 7:49 pm
Reply with quote

hi,

it is very easy one to validate a field in cics map.when we execute the physical map we get the symbolic map.Each field name in the symbolic map are suffixed with letters L,F,I,O and A. In this 'I' denotes input, it means where data entered by the terminal operator and received in the program.
u should validate the field by IF condition

it look like this ...

IF <field name(with suffix I)> = low-values
move 'error mesage' to <out field name >

that's it

regards

elango.
Back to top
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Mon May 09, 2005 5:16 pm
Reply with quote

If i am not wrong, the MDT bit in an attribute byte also reflects if a field has been modified. Also you can compare the value of the field on the screen with a cobol variable containing low values.
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Sun Jun 12, 2005 10:13 am
Reply with quote

ankyhunk wrote:
If i am not wrong, the MDT bit in an attribute byte also reflects if a field has been modified. Also you can compare the value of the field on the screen with a cobol variable containing low values.


Also the field with the L suffix tells you the length of the data that was entered
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 Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top