MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CICS Problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Wed Jul 09, 2003 4:28 pm    Post subject: CICS Problem Reply with quote

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
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed Jul 09, 2003 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Thu Jul 10, 2003 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Fri Jul 11, 2003 1:30 pm    Post subject: Reply with quote

Is your program coded the pseudoconversational way or the conversational way?

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Fri Jul 11, 2003 2:58 pm    Post subject: Reply with quote

It's psuedo manas
Back to top
View user's profile Send private message
vijay
Beginner


Joined: 09 May 2003
Posts: 131
Topics: 64

PostPosted: Sat Jul 12, 2003 8:27 am    Post subject: Reply with quote

Hi Manas,
I could do that myself.Thx a lot.

Vijay
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group