View previous topic :: View next topic
|
Author |
Message |
kratos
New User
Joined: 02 Jul 2010 Posts: 5 Location: India
|
|
|
|
Hi all,
On one of the screens I am working, PF4 has a return functionality. On pressing the PF4 key (displayed with label 'RETURN' on the map) the user should go back to the transaction from which this transaction was invoked. If however this transaction was started directly (by entering the transaction on a blank CICS screen) then pressing PF4 should clear the screen and return the control to CICS. The user can always press the clear key to do the same but this is what they want. Any pointers on how this can be done would be of great help.
Right now this is what i am planning to do:
Do a send text with message 'Function XXXX terminated. Clear screen before entering the a new function'. Then do a EXEC CICS RETURN.
TIA! GB |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
How about EXEC CICS SEND CONTROL ERASE followed by EXEC CICS RETURN ??
Garry. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
if there is no transaction expecting a return, just invoke the clear logic that is already in your program,
after performing the send erase that Garry suggested. |
|
Back to top |
|
|
kratos
New User
Joined: 02 Jul 2010 Posts: 5 Location: India
|
|
|
|
Thank you Garry, what you suggested did the job . |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Thanks for letting us know it worked.
Glad to have been of help.
Garry. |
|
Back to top |
|
|
|