View previous topic :: View next topic
|
Author |
Message |
karthi
New User
Joined: 27 Apr 2005 Posts: 2
|
|
|
|
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 |
|
|
edwin
New User
Joined: 27 Apr 2005 Posts: 4
|
|
|
|
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 |
|
|
edwin
New User
Joined: 27 Apr 2005 Posts: 4
|
|
|
|
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 |
|
|
karthi
New User
Joined: 27 Apr 2005 Posts: 2
|
|
|
|
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 |
|
|
somasundaran_k
Active User
Joined: 03 Jun 2003 Posts: 134
|
|
|
|
Hi
What's happening here? Looks like the same guy is asking a query and replying for his own post.
Or something went wrong in the system?
Regds
-Som |
|
Back to top |
|
|
elango
New User
Joined: 27 Apr 2005 Posts: 12 Location: chennai
|
|
|
|
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 |
|
|
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 98 Location: Navi Mumbai, India
|
|
|
|
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 |
|
|
dbelton
New User
Joined: 10 Jun 2005 Posts: 15
|
|
|
|
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 |
|
|
|