Hi all,
I want to fetch the data from IBM Mainframes to my lotus notes application.
Do any one have sample code ? or suggest how to proceed on this …
pls help me out !!! its very very urgent
thks in advance.
regds,
Sathish.S
Hi all,
I want to fetch the data from IBM Mainframes to my lotus notes application.
Do any one have sample code ? or suggest how to proceed on this …
pls help me out !!! its very very urgent
thks in advance.
regds,
Sathish.S
Subject: Lotus Notes And IBM MainFrames
“IBM Mainframes” is a little too vague. Do you have any specifics as to what type/volume of data and how it is stored i.e. approx 300 rows in a specific DB2 table on an zSeries mainfram running z/OS8
TBH this is not something that is best approached by looking at sample code posted on a forum and unless data volumes are very small, should be architected properly, for example WebSphere MQ might be the best route.
HTH - Rufus
Subject: RE: Lotus Notes And IBM MainFrames
Hi ,
Thanks for your reply.
My Requirement is to pass a Job ID to IBM Mainframes appliaction(Ex. Patient No) based on this i should fetch the details of the Patient and present in the Lotus Notes as a data.
I never worked on this connectivity before so i don;t have any idea what you are talking abt.
Should I use ODBC to connect mainframes …
Explain me pls…
thks once again.
regds,
Sathish.S
Subject: RE: Lotus Notes And IBM MainFrames
With the greatest of respect this type of connectivity can be very complex, particularly if trying to access information from a legacy application. Unless you have precise details of how the information is stored on the mainframe then it is next to impossible to decide on an appropriate technology. ODBC is unlikely to be appropriate unless you know the data is store in relational tables, you have appropriate ODBC drivers available, and you understand the data schema sufficiently to get the information you require.
In my experience two approaches that may be valid in your scenario:
Ask whoever supports the Mainframe application to design a periodic data extract (as a simple csv file, XML or whatever) containing just the data you are interested in. That way you could have a copy of all the patient information in Notes and simply do @dblookups to it, and wouldn’t have to worry about the Mainframe side at all.
Assuming all the users who need this information have access to the "Ex. Patient No) application, look at screen scrapping. I.e. Notes communicates with the terminal emulator and “types” the Job ID on screen, waits 5 seconds, then copies the resulting screen to the clipboard and parses the text to extract the information it needs. Depending on the emulator there are plenty of VB code examples of screen scraping on the web. It should be relatively painless to adapt these in to LotusScript.
If the volumes of information are large, or robustness is critical they you’ll need to look at a third party enterprise real-time transaction based system. Websphere MQ (aka MQ Series) being the IBM offering, BUT it is not going to be cheap!
At the very least you need to sit round the table with someone who understands and supports the Ex Patient No system and discuss what the most appropriate technology is.
HTH - Rufus.