Page 1 of 1

cics issues.

PostPosted: Fri Jul 13, 2012 4:30 pm
by kandrepavan
Hi all,

initial screen of mianpgm execution is as follows ie when i initiate the transcation.
DATE: 07/13/2012
TIME: 16:11:46




F1=HOME F2=SIGNUP F3=EXIT F5=LOGIN

When i press f2(at only once) it goes to linked pgm and display the following the screen.

DATE: 07/13/2012
TIME: 16:25:03


USER NAME:
--------------------
PASSWORD :
--------------------
RPASSWORD:
--------------------

MSG: ----------------------------------------
F1=HOME F3=EXIT F2=SUB

In Linked pgm execution i have wrote the code if press F1=home(NEARLY TAKING THREE TIMES) it returns control back to MAINPGM
and displays the aboce screen.
so why it is taking three times to press F1?

Thanx and regards.

Re: cics issues.

PostPosted: Fri Jul 13, 2012 4:38 pm
by kandrepavan
note in the above explanation -------------------- aboce(above) means it displays the first screen
still if any spelling mistakes...excuse..please...sorry

Re: cics issues.

PostPosted: Fri Jul 13, 2012 4:56 pm
by Robert Sample
Have you tried using CEDF to follow the program logic?

Most likely it is taking three presses of the key because your code is not working like you think it is.

Re: cics issues.

PostPosted: Fri Jul 13, 2012 8:40 pm
by Monitor
The first thing a new CICS programmer must learn, is , as Robert said, to use CEDF. Its a simple tool to learn, and helps you solve almost any problem, without any additional debugger.
Of course, you must understand what you have written and also have the basic knowledge how to write CICS pseudoconverational programs.
If you still have any questions or problems after your CEDF debugging, post the code, the real code, and we will tell you where to look for problem(s).