Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to validate low-values on cics terminal

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to validate low-values on cics terminal
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    Post subject: Re: validate low-value
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    Post subject: validate low-value
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    Post subject: validate low-value
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    Post subject:
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    Post subject: validate low-value
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us