View previous topic :: View next topic |
Author |
Message |
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Wed Jul 09, 2003 4:28 pm Post subject: CICS Problem |
|
|
Hi Guys ,
When one of the input data on the screen is wrong I want to display a warning message -- say ,id not numeric -- hit enter to continue .
Once the user hits enter I want the program to run from the next sequential instruction in the program.can you guys help me with the logic.Any piece of code would be helpful.
a-100-edit-input section
if a-id not numeric
...
end-if |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Jul 09, 2003 10:53 pm Post subject: |
|
|
Vijay,
Aren't you tacitly assuming that in the second attempt, the user would enter valid data? What if the second entry is invalid again? So, rather than going to "next sequential instruction", I suggest, you let the program follow it's natural course of validation, etc. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
|
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Thu Jul 10, 2003 6:51 pm Post subject: |
|
|
I've a date field on the screen.If the users enter a date prior to current date -- I should display a warning message (--Date prior to current date - Press enter to continue).To display the message I'm using a standard module in the shop and I could display the message.Now,when I hit enter key again I don't want the program to redisplay this message.I need to control the program to let this go and continue with the next steps.How can I do this kind of controlling in CICS ?
Any Code would be greatly appreciated.
Thanks,
VIjay |
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Fri Jul 11, 2003 1:30 pm Post subject: |
|
|
Is your program coded the pseudoconversational way or the conversational way?
Regards,
Manas |
|
Back to top |
|
|
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Fri Jul 11, 2003 2:58 pm Post subject: |
|
|
It's psuedo manas |
|
Back to top |
|
|
vijay Beginner
Joined: 09 May 2003 Posts: 131 Topics: 64
|
Posted: Sat Jul 12, 2003 8:27 am Post subject: |
|
|
Hi Manas,
I could do that myself.Thx a lot.
Vijay |
|
Back to top |
|
|
|
|