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
 

 

Possiblity of supplying BMS physical map to front end

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Possiblity of supplying BMS physical map to front end
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    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2013 1:38 pm    Post subject:
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    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Thu Feb 28, 2013 6:25 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2013 6:40 pm    Post subject:
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    Post subject:
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    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 creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm
No new posts $ masking with Signed bit in front Bill Woodger CA Products 3 Wed Feb 13, 2013 12:45 pm
No new posts Restoration of Multi volume GDG from ... umasankartt JCL & VSAM 7 Thu Sep 27, 2012 6:28 pm
No new posts Include physical filename in Header o... kaushik8205 DFSORT/ICETOOL 10 Fri Sep 14, 2012 9:27 pm
No new posts Screen scraping problem: Logical vs p... PeterHolland TSO/ISPF 15 Thu May 05, 2011 12:14 pm


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