Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Field Redefine in Map?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Wed Aug 31, 2011 9:15 pm    Post subject: Field Redefine in Map?
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 31, 2011 9:20 pm    Post subject: Reply to: Field Redefine in Map?
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: 147
Location: Columbia, MO

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

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

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Wed Aug 31, 2011 11:38 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 31, 2011 11:59 pm    Post subject: Reply to: Field Redefine in Map?
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us