A SERVICE OF

logo

Creating a 5250 Component
33
About 5250 Keyboard Support
The 5250 Native Environment pane supports the use of several attention identifier
or AID keys: Enter, Clear, PA1-3, and F1-24. The function for each attention key
varies, depending on the host application. These keys are mapped to the PC
keyboard as follows:
Table 3-1
You can either use the keys directly from the keyboard as you create a 5250
component or you can use a keypad tool bar available from the View menu.
About the ScreenDoc DOM
The ScreenDoc DOM is an XML document representation of the current screen
received through the terminal data stream in the Native Environment pane. All
Mapping actions to and from the screen display (including drag and drop) actually
reference elements in the ScreenDoc DOM. This provides you with the advantage
of being able to see and reference your familiar application screens while at the
same time working with them as XML documents.
What it does
The 5250 component communicates with the host environment via the block
mode terminal data stream in an asynchronous fashion. A block of data essentially
represents a screen. The host sends a screen block that is displayed in the
component. The screen is edited by the user (and ultimately by the component you
create) and the modified screen is sent back to the host for processing after you
press an AID key.
How it works
During the recording mode, each time a screen block of data is received by the
component, four things happen simultaneously:
5250 Key PC Key
Enter Enter
Clear ESC
F1 through F12 F1 through F12
F13 through F24 Shift F1 through Shift F12
PA1 through PA3 Ctrl F1 through Ctrl F3