CICS in COBOL Net Express displaying screens with SEND

I have developed a CICS application with a Main Menu BMS map and then a sub menu BMS map in a separate program.  I use a XCTL to get from one program to the next.  The first Map looks great and I respond with a key and it indeed goes to the second program but the first map is still displayed.  If I do a reset clear on the keyboard the next map of the sub menu is displayed does any one know what I am doing wrong?  Even though this is on windows a Mainframe CICS person may know what I am doing wrong.
Who is Participating?
woolmilkporcConnect With a Mentor Commented:

ERASE should normally do the trick, because as far as I know, it's nothing else than 'reset clear'

Another option could be performing a SEND CONTROL ... ERASE before sending the actual map.

But strange, indeed!

Unfortunately I have no possibility to test - my CICS days are long gone ...


Did you try

MaryOS88Author Commented:
Yes I have an erase on the SEND.  This is the strangest thing I have ever seen.  The original map is there still even after the user respond to it and it does he XCTL to the next program that sends out a different map I can see this happening in the debugger of MicroFocus Net Express.  If I then press reset clear I get the second map.
MaryOS88Author Commented:
You were correct - I had switchs set for the parameter on the send, I have multiple sends in the program base on IF logic and even in debugging I missed that I has the switches reverse so CICS did the opposite of what I thought was being done.  When I went back to test again I caught the mistake.  Thanks for your help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.