title: Connecting to CICS from Windows Desktop Application
body: <p>Now there is a new requirement. I have got some adhoc work at hand. The requirement is to connect a desktop based Java application to read data from Mainframe generated by some CICS Transaction. [Basically I have to read all the records being appended into a file (same way as we do tail-f filename in linux). This is just for FYI my requirement is something different.]</p>
  
  <p>I inquired, and came to know that my employer cannot provide MQ or CICS Transaction Gateway access to me. He suggested some method of screen scraping. I have already done that using VB.Net application and Quick3270 as well as IBM Communicator Emulators. Both these emulators provide functions which can be used to read whatever is there on the screen. </p>
  
  <p>You can refer to EHILLAPI programming details (Language for Emulator programming) - <a href="http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/books/html/emulator_programming07.htm" rel="nofollow">http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/books/html/emulator_programming07.htm</a> if you are interested in learning. </p>
  
  <p>But this method is restricting me to the maximum number of bytes that can come on the screen. With this method there is significant network delay as I have to refresh (basically move from one page to another on CICS) everytime to get data which is spanning across multiple pages. </p>
  
  <p>Can you suggest me some method so that the my employer does not need to ask the client to open any port on his Mainframe or install any software (as this is not possible for my employer). </p>
  
  <p>Can I use the 3270 terminal emulation and retrieve all (or at least more data). This way the requirement of my employer is fulfilled and he does not need to ask anything to his client. (In any case from the emulator we are firing CICS Transactions). We want everything to be done at my employer's end itself without disturbing the client's Mainframe even a single bit. </p>
  
  <p>Please do not suggest MQ as the client does not have it. </p>
  
  <p>If you are still suggesting CICS Transaction Gateway, then please let me know how would I connect to the remote machine (I need technical details).<br>
  - What information do I need to ask from the client.<br>
  - What software do I need to install on my machine. 
  - Technical details of using that software. </p>
  
  <p>Regards, </p>
  
  <p>Nitin</p>