IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Field Redefine in Map?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Wed Aug 31, 2011 9:15 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 31, 2011 9:20 pm
Reply with quote

Could you define and use a second 'pop-up' map, smaller in size?

Mr. Bill
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Wed Aug 31, 2011 9:25 pm
Reply with quote

In mainframe CICS? How could that be done?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Aug 31, 2011 11:38 pm
Reply with quote

You might be able to do something with attribute bytes.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 31, 2011 11:59 pm
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Sep 01, 2011 1:17 am
Reply with quote

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

New User


Joined: 28 May 2007
Posts: 24
Location: Dublin

PostPosted: Thu Sep 01, 2011 4:01 pm
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Sep 01, 2011 4:20 pm
Reply with quote

seagull,
excellent comment.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top