Skip to main content

Problem:

Some mainframes use "auto-renewal". This means that when you use emulator software to use a host application, if the "numerical value"(ex . stock value) changes in the system , then the emulator displays new "numerical value" .

I think there are 2 types of "auto-renewal".

First one is reload, where the emulator reloads automatically.

Second one is where the mainframe pushes the information to the emulator and the emulator displays it.

Can EnterpriseLink use this functionality?

Resolution:

There is no 'auto renewal' defined in the 3270 specification from IBM.  Some hosts have the ability to asynchronously send host screen data to the terminal without the user pressing a PF key.  Or, it could be that some terminal emulators implement this by periodically sending an "enter" key to to the host.  Depending upon the host application, this may cause it to refresh the current screen with detailed information.

The same effect can be achieved with EnterpriseLink through the use of JavaScript added to the web page.  In Builder, create a new client-side-script under the Script Library.   Put as the content:

     setTimeout("document.form1.submit()", 60000)

Drag and drop this script name onto the page and select the "onLoad" event type.  The JavaScript "setTimeout" function will execute the function given in the first argument after the number of milliseconds given as the second argument.  In other words, the page will be automatically submitted to EnterpriseLink after 60 seconds.  EnterpriseLink will send the ENTER key to the host application.  

If other PF keys are needed instead of enter, you can create a JavaScript which "presses" the corresponding button on the page.  See

http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/window.html#1203758 for more information.

Old KB# 6590

#Rumba
#EnterpriseLink