Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2504
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

Senior Member


Joined: 07 Feb 2009
Posts: 1060
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: 2504
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: 6968
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: 6968
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us