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

Possiblity of supplying BMS physical map to front end


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

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Wed Feb 27, 2013 5:35 pm
Reply with quote

Hi All,

Usually we use CICS web services to display required output response from COBOL application to the front end. In case of online transaction, we can avoid the BMS screens by giving the symbolic map variables to the front end using web services. But, here the front end have to know how to dealt with the received symbolic variables. Usually Label text is already present in browser and the client is requesting only the symbolic variables data of the map.

Now, as an addition to the current scenario can we make it possible to get even the screen’s physical map data into the front end via webservices? This will eliminate the front end’s need for dependency to know the constant data. Since physical map copybook is present in LOADLIB which is non-readable format I can’t do this is regular web services procedure.

Any other possible solution is there to make this situation work ?
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Thu Feb 28, 2013 5:21 am
Reply with quote

Can you give any example so we can "see" what you are talking about?

3-basic ways I know to SEND in CICS
Code:
       EXEC CICS SEND
                 MAP       ('XXXXXXXX')
                 MAPSET    ('XXXXXXXX')
                 MAPONLY
                 ERASE
       END-EXEC.
 
 
       EXEC CICS SEND
                 MAP       ('XXXXXXXX')
                 MAPSET    ('XXXXXXXX')
                 FROM      (map area)
                 DATAONLY
       END-EXEC.
 
 
       EXEC CICS SEND
                 FROM      (WS-MSG-WITH-NO-MAP)  *for possible "screen" scrapping
                 LENGTH    (+77)
                 ERASE
                 NOHANDLE
       END-EXEC.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Feb 28, 2013 1:38 pm
Reply with quote

Quote:
as an addition to the current scenario can we make it possible to get even the screen’s physical map data into the front end via webservices?
What do you really mean by this?
Back to top
View user's profile Send private message
dsivapradeep

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Thu Feb 28, 2013 6:19 pm
Reply with quote

Hi Anuj,
It means we are trying to generate a CICS screen dynamically at front end in .NET using a web service. Even the DFHMDF initial values that i coded in a BMS screen are supposed to be created dynamically.

Hi Gary,
I'm trying to modernize the legacy systems UI (i.e. CICS BMS UI here). As a part of this, we made .net pages as front end for the existing BMS screen and We have hard-coded the DFHMDF INITIAL values as text label in .NET and retrieved the output symbolic variables content using a web service from the CICS program. Thereby, avoided the usage of BMS SCREENS for CICS transaction.

In the Next step, we are trying to generate the DFHMDF INITIAL values that we have hard-coded also to get in run time i.e. along with the Symbolic variables content using web service.

While i was searching for a solution on this, I've come across this procedure 'DFHMAPT' for Assembling the mapset. It generates HTML script during ASSEMBLE time... But i need some way to get this HTML in run time.

Need some advice on this research.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Feb 28, 2013 6:25 pm
Reply with quote

Quote:
generate a CICS screen dynamically at front end
What on earth does this mean? If you are talking about generating the entire CICS screen at run-time and pushing out the 3270 data stream to the terminal, be aware that while this can be done, it is NOT a trivial process and requires an extremely deep understanding of 3270 data streams.

1. BMS maps are assembled into load modules. There is no way you can take a load module for a z/OS system and do ANYTHING with it on a front-end system -- PERIOD. It would take a significant amount of work to even be able to interpret the load module on a front-end system.

2. CICS has a well-defined and well-established set of processes and procedures to allow a web interface to access CICS screens and data, part of which is the HTML generation. If you do not want to follow the established processes and procedures that CICS provides, then you will have a LONG, SLOW process of testing and discovery to implement your own solution.

3. Hard-coded INITIAL values are part of a load module and hence cannot be considered, in any way, to be "dynamic" -- they are fixed at compile time, PERIOD.

4. You need to find and read, cover to cover, the CICS Internet Guide and CICS External Interfaces manuals for your version of CICS before you go much further with your development.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Feb 28, 2013 6:40 pm
Reply with quote

I don't do CICS much these days, howerver, even if for some time I don't read what "Donald" has said and some how we get to this:
Quote:
It means we are trying to generate a CICS screen dynamically at front end in .NET using a web service. Even the DFHMDF initial values that i coded in a BMS screen are supposed to be created dynamically.
what purpose will it serve to your application/customer?
Back to top
View user's profile Send private message
dsivapradeep

New User


Joined: 06 Jul 2012
Posts: 43
Location: INDIA

PostPosted: Fri Mar 01, 2013 7:15 pm
Reply with quote

Robert, I understand its very complicated process.

But just i got a thought on this implementation while working on CICS Web Services.
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 Rotate partition-logical & physic... DB2 0
No new posts How to list BMS MAP screens in BMS Ph... CICS 2
No new posts how to show listing in physical locat... PL/I & Assembler 2
No new posts How to get the Physical terminal name IMS DB/DC 0
No new posts Copy physical Tape files to a Mainfra... JCL & VSAM 11
Search our Forums:

Back to Top