View previous topic :: View next topic
|
Author |
Message |
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
I'm sure the answer to this is a big "NO", but I figured asking wouldn't hurt.
I'm working with a map that uses all 24 screen lines: 23 is for messages; 24 for function key prompts.
Is it possible to redefine a line in the map?
Specifically: line 23 is defined for messages that are 79 bytes in length. That's all well and good, but I am being asked to use a message there that prompts the user to confirm a Delete function. The delete confirmation message is ARE YOU SURE YOU WANT TO DELETE (Y/N)?, followed by a single byte for entry.
I don't want to squish the other lines, but I just can't seem to find a way around it. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Could you define and use a second 'pop-up' map, smaller in size?
Mr. Bill |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
In mainframe CICS? How could that be done? |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
You might be able to do something with attribute bytes. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Waiting for Earl to post a reply - I think he knows this stuff.
Socker_Dad - Search the CICS forum for Popup.
Mr. Bill |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
sounds as if they want you to redesign the map.
suggest you re-assemble the map after:
change line 23 from a 79 display (out)
to
2 fields:
70 out
1 char IN
() you maybe able to define the OUT as 73 or 74.
depends on what utility (SDF2?) or how you create maps.
(i have usually code my own assembler / DFH macros)
anyway,
insure that the IN field is only turned on (not UNPROT/NOT DARK, with FSET) when you throw the Y/N question in the 70 OUT.
gottat keep track of where you were, where you need to go in the commarea.
If you know that the last SEND MAP included a Y/N question,
check the IN field and process.
you want the mapset assembled and registered with CICS.
you do not want to try to put in your own redefined fields.
that gets real messy in a hurry.
a pop-up is easy, but then you are dealing with 2 maps, and you only want to receive the last sent, then you have to refresh the original (underneath the pop-up). gets to be a real can of worms unless you can go directly to another screen display based on the pop-up response.
in your case you want to stay with one screen.
redo the map, creating two fields for line 23. one as OUT
the other a 1 byte IN - PROT,DRK unless you are using line 23 for a Y/N message. |
|
Back to top |
|
|
seagull
New User
Joined: 28 May 2007 Posts: 24 Location: Dublin
|
|
|
|
Could you use a PF key to confirm the delete? e.g. ARE YOU SURE YOU WANT TO DELETE (Y/N)?, HIT PF1 TO CONFIRM DELETE |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
seagull,
excellent comment. |
|
Back to top |
|
|
|