none
Connect CCF 2009 and Mainframe RRS feed

  • Question

  • I would like to connect Mainframe application using CCF 2009. Exactly, want to read screen data using CCF 2009

    Tuesday, September 22, 2009 6:03 PM

All replies

  • Are you trying to automate an Emulator. If yes, which one?

    Yves Pitsch
    Tuesday, October 6, 2009 4:15 AM
  • I am using Blue zone emulator.

    Thank you
    Wednesday, October 7, 2009 4:31 PM
  • K, I guess it's a 3270 screen

    When integrating a 3270 application, several options are available:
     
    If the emulator provides an HLLAPI interface, then this option is the best.
     
    If the emulator does not provide an HLLAPI then:
    1. You have to look if an automation API is available. I am not familiar with Blue zone but this should be documented
    2. You may consider HIS Session Integrator if you want to replace the UI of your 3270 screen
    3. Consider backend integration


    Yves Pitsch
    Thursday, October 8, 2009 5:30 AM
  • Hi,

    Thank you for your reply.

    Could you please forward sample program or the url where I can get more detail information. I am new to CCF 2009. I have EHLLAPI.dll. I can make use of it.

    Thank you
    Tuesday, October 13, 2009 3:10 PM
  • Just create a hosted control (use the samples in the quickstarts)

    Make a reference to your EHLLAPI.dll (it will use interop), then it's straight forward..Here is an axample about opening a session, sendint text and press the ENTER button

            //in this scenario the session ID is A. This code will connect the HLLAPI API to the session
            uint result=EhllapiWrapper.Connect("A");
            //0=successfully connected
            if (result == 0)
            {
                //Put the cursor in the right position
                EhllapiWrapper.SetCursorPos(100);
                //Write the username for DemoAgent2
                EhllapiWrapper.SendStr(_user);
                //There is no password
    
                //Press ENTER
                EhllapiWrapper.SendStr("@E");
    

    Yves Pitsch
    Tuesday, October 13, 2009 4:38 PM