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
 

 

Popup screen using CICS

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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Mar 04, 2010 10:54 am    Post subject: Popup screen using CICS
Reply with quote

Hi,

Please let me know whether there is an option to open a screen from another screen in the latest vresion of CICS. Basically is there any pop-up window option in CICS 4.1

We want to open a new window over an opened-window. Is there any way to do this with CICS utilities?

thanks,
Nithin.
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Mar 04, 2010 11:36 am    Post subject: Re: Popup screen using CICS
Reply with quote

pjnithin wrote:
Please let me know whether there is an option to open a screen from another screen in the latest vresion of CICS. Basically is there any pop-up window option in CICS 4.1
The short answer is yes, but only within the bounds of 3270 protocol.....If you need some guidance in that area, please let us know....
Quote:
We want to open a new window over an opened-window. Is there any way to do this with CICS utilities?
Yes, BMS allows that, I know, been there, done that, got a popup map named after me...grin....
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Mar 04, 2010 12:06 pm    Post subject: Re: Popup screen using CICS
Reply with quote

Thanks for the info. I would like to know how this can be achieved. Please let me know which would be the best way to achieve this.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Mar 04, 2010 12:16 pm    Post subject:
Reply with quote

Quote:
I would like to know how this can be achieved.

Do you understand the differences between 3270 protocols and "windows/unix" protocols?
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Mar 04, 2010 1:54 pm    Post subject:
Reply with quote

No I don't have any idea about the protocols you have mentioned above.
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Mar 04, 2010 6:16 pm    Post subject:
Reply with quote

Please give me some basic idea about. Currently in our system we use CTG to pass data between mainframes and we base systems. We need to know how a pop window kind of screen can be achieved using CICS.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Mar 04, 2010 8:17 pm    Post subject:
Reply with quote

Ok, try this on for size.....

In the 3270 world, the translation of a keystroke to the proper character on the screen is handled locally by the terminal/controller. The only time that the computer sees what has been entered is when the enter key (PFs too) has been hit so the only time the MF has the opportunity to send a popup is when that enter key is pressed.

In the small box world, a keystroke is transmitted all the way back to the computer where it is translated to the correct screen character and that character is then transmitted all the way back to the display attached to the keyboard. That is why windows and unix can anticipate what you are typing and provide suggestions in advance of completion of what you are typing.

Generally, once the enter has been hit, the current screen is sent back to your program. If your program determines that a popup is needed (say if one screen field needs additional verification or correction), your program needs to save all returned information and send the popup back to the user.
Normally, screen are sent with an erase to clear the previous screen but a popup is sent without that erase thus making it look like the popup is displaying in front of the prior screen. The popup, smaller than the full screen, can be positioned somewhere other than the upper left corner of the screen for a more dramatic effect.
Once the user has responded to the popup and hit enter, your program gets the smaller map back and processes it. Now your program continues processing with the original screen's data and the information from the popup and the next screen to the user will erase both the original screen and the popup.

Done right, the time from the original screen enter key and the display of the popup is (almost) instantaneous. The same for the popup enter key and the subsequent screen, almost like a windows popup.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Thu Mar 04, 2010 9:45 pm    Post subject:
Reply with quote

It's been many years since I wrote a popup using BMS. Isn't there something you also have to do to insure that the input fields on the underlying screen are made output before displaying the popup? In other words, does the popup logic have to be cognizant of the screen on which it was being displayed (eg, change attributes in underlying screen, redisplay underlying screen, show popup, redisplay original underlying screen) and if so, can that be done generically or does the popup have to know the exact screen name, fields, etc?

To answer the original question though, V4.1 does not have anything new specific to creating popup panels.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Mar 04, 2010 10:28 pm    Post subject:
Reply with quote

MBabu wrote:
It's been many years since I wrote a popup using BMS. Isn't there something you also have to do to insure that the input fields on the underlying screen are made output before displaying the popup? In other words, does the popup logic have to be cognizant of the screen on which it was being displayed (eg, change attributes in underlying screen, redisplay underlying screen, show popup, redisplay original underlying screen) and if so, can that be done generically or does the popup have to know the exact screen name, fields, etc?

To answer the original question though, V4.1 does not have anything new specific to creating popup panels.
IIRC, retrieving the popup mapset produces for just the data on the popup, ignoring the underlying data.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Fri Mar 05, 2010 4:05 am    Post subject:
Reply with quote

That is what I remember. If there were input fields outside the bounds of the popup, they remain as input fields which gets confusing. I think the expectation would be something like ISPF which changes those fields to output. I seem to recall that you can read a 3270 buffer from CICS without an aid key but I don't think I ever tried an unsolicitited read (or if such a thing even exists). But then all the modifications would require some fancy 3270 data stream programming and I don't think any sane person would want to do that. I think when I did popups, the application knew and used the underlying BMS map to set the attributes off and back on (I didn't need to worry about modified data tags).
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Mar 05, 2010 4:51 am    Post subject:
Reply with quote

Quote:
That is what I remember. If there were input fields outside the bounds of the popup, they remain as input fields which gets confusing.


If the popup is in BMS MAP format, you can use BMS to receive it,
and not be concerned with the fields outside the bounds of the
popup.


Quote:

I would like to know how this can be achieved.


There is not 'silver bullet' quick answer on how to achieve. Your best
bet is to hire Hire a contractor, there are several of us on this forum that would be willing to assist you on contract basis.

You might also consider a software product. Try google on
"CICS WINDOWS" and another "CICS SWAP".
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Mar 05, 2010 6:27 am    Post subject:
Reply with quote

[quote="Earl Haigh"]
Quote:
Your best
bet is to hire Hire a contractor, there are several of us on this forum that would be willing to assist you on contract basis.
Dibs! Dibs! Call me!!!!...Grin....
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 How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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