Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start 3270 Display Emulation (STREML3270) command starts a 3270 device emulation session for a display device to a binary synchronous communications (BSC) or Systems Network Architecture (SNA) host system. The user can type this command on the command line or from any display station that allows CL commands to be specified. This command can also be issued from a batch job by specifying the display device (DSPDEV) parameter.
The STREML3270 command can be in a CL program specified as the INLPGM for a user profile that is run when the user signs on the display device.
More information on device emulation is in the 3270 Device Emulation Support book, SC41-5408.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
EMLCTL | Emulation controller, or | Name | Optional, Positional 1 |
EMLDEV | Emulation device, or | Name | Optional, Positional 2 |
EMLLOC | Emulation location | Communications name | Optional, Positional 3 |
DSPDEV | Display device, batch only | Name, *CURRENT | Optional |
PAGEUP | Page Up (Roll Down) key | *PA2, *PA1, *PA3, *NONE, *F1, *F2, *F3, *F4, *F5, *F6, *F7, *F8, *F9, *F10, *F11, *F12, *F13, *F14, *F15, *F16, *F17, *F18, *F19, *F20, *F21, *F22, *F23, *F24, *CLEAR, *ERASEINP, *CSRSLT | Optional |
PAGEDOWN | Page Down (Roll Up) key | *PA1, *PA2, *PA3, *NONE, *F1, *F2, *F3, *F4, *F5, *F6, *F7, *F8, *F9, *F10, *F11, *F12, *F13, *F14, *F15, *F16, *F17, *F18, *F19, *F20, *F21, *F22, *F23, *F24, *CLEAR, *ERASEINP, *CSRSLT | Optional |
TESTREQ | Test Request key | *DFT, *CLEAR, *ERASEINP | Optional |
CSRSLT | Cursor Select key | *NONE, *F1, *F2, *F3, *F4, *F5, *F6, *F7, *F8, *F9, *F10, *F11, *F12, *F13, *F14, *F15, *F16, *F17, *F18, *F19, *F20, *F21, *F22, *F23, *F24 | Optional |
IGCEMLPC | SNA DBCS 3270PC emulation | *NO, *YES | Optional |
EMLPRTDEV | Emulation printer device | Name, *NONE, *EMLCTL, *EMLLOC | Optional |
INZWAIT | Timeout wait for host | 1-32767, 120, *NOMAX | Optional |
NUMLCK | Numeric lock keyboard | *EMLDEV, *NO, *YES | Optional |
NULLS | Handle nulls | *BLANK, *REMOVE | Optional |
LOGON | Host signon/logon command | Character value, *NONE | Optional |
WAITRSP | Wait response | *NO, *YES | Optional |
ENDCOND | End emulation conditions | Single values: *NONE Other values (up to 2 repetitions): *DACTLU, *UNBIND |
Optional |
ATNEMLMNU | Attention emulation menu | *YES, *NO | Optional |
FKEYPGM | Function key program | Single values: *NONE Other values: Element list |
Optional |
Element 1: Program | Qualified object name | ||
Qualifier 1: Program | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
Element 2: Function keys |
Single values: *ALLFKEYS Other values (up to 24 repetitions): *F1, *F2, *F3, *F4, *F5, *F6, *F7, *F8, *F9, *F10, *F11, *F12, *F13, *F14, *F15, *F16, *F17, *F18, *F19, *F20, *F21, *F22, *F23, *F24 |
||
KBDTYPE | Keyboard language type | *DSPDEV, *SYSVAL, *LCL, AGB, AGE, AGI, AGM, ALI, ALM, BGB, BGE, BLI, BLM, BRB, BRE, CAB, CAE, CAI, CAM, CLB, CLE, CSB, CSE, CYB, DMB, DME, DMI, DMM, ESB, FAB, FAE, FAI, FAM, FNB, FNE, FNI, FNM, FQB, FQI, GKB, GNB, GNE, HIB, HNB, HNE, ICB, ICE, ICI, ICM, INB, INI, IRB, ITB, ITE, ITI, ITM, JEB, JEI, JKB, JPB, JPE, JUB, KAB, KOB, LAE, LTB, LVB, MKB, MKE, NCB, NCE, NEB, NEE, NEI, NEM, NWB, NWE, NWI, NWM, PLB, PKE, PLE, PRB, PRE, PRI, PRM, RCB, RMB, RME, ROB, ROE, RUB, RUE, SFI, SFM, SGI, SGM, SKB, SKE, SPB, SPE, SPI, SPM, SQB, SQE, SSB, SSI, SSE, SSM, SWB, SWE, SWI, SWM, TAB, THB, THE, TKB, TKE, TRB, TRE, UAE, UKB, UKE, UKI, UKM, USB, USE, USI, USM, VNE, YGI, YGM, *TRNTBL | Optional |
TRNTBLOUT | Outgoing translation table | Single values: *KBDTYPE Other values: Qualified object name |
Optional |
Qualifier 1: Outgoing translation table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
TRNTBLIN | Incoming translation table | Single values: *KBDTYPE Other values: Qualified object name |
Optional |
Qualifier 1: Incoming translation table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
EMLCFGE | Configuration entry | Name, QEMDFTCFGE, *NONE | Optional |
Top |
Specifies the name of a binary synchronous communications (BSC) controller description or Systems Network Architecture (SNA) controller description that has attached 3270 emulation device descriptions. When this parameter is specified, the requesting display device is linked to an available 3270 emulation device on the emulation controller. At least one device attached to the controller must be available, and the requester of the command must be authorized to use the controller and device.
Either this parameter, the Emulation device prompt (EMLDEV parameter), or the Emulation location prompt (EMLLOC parameter) is required.
Top |
Specifies the name of a binary synchronous communications (BSC) or any System Network Architecture (SNA) device emulation (3278) that is linked to the requesting display device to emulate a 3270 display device. The requester must be authorized to this device, and the device must be available.
Either this parameter, the Emulation controller (EMLCTL) parameter, or the Emulation location (EMLLOC) parameter is required.
Top |
Specifies the remote location name that describes the location of the 3270 display emulation devices. This name is defined during device description configuration, and it refers to the remote location where communication takes place. When this parameter is specified, the requesting display device is linked to an available 3270 emulation device referred to by the remote location. At least one of the emulation devices referred to by the remote location must be available, and the requester of the command must be authorized to use the device. A remote location can refer to as many as 1,016 emulation display devices.
Either this parameter, the Emulation controller prompt (EMLCTL parameter), or the Emulation device prompt (EMLDEV parameter) is required.
Top |
Specifies the name of the display device used for display emulation when the command is in a batch job. The 3270 support tries to acquire the display device by this name; if the display device is acquired, the 3270 device emulation is active on that display device.
Top |
Specifies a 3270 function for the Page Up (Roll Down) key on the 5250 type keyboard when 3270 device emulation is active. This assignment is in effect when the number of input fields is not larger than the maximum number of input fields.
Top |
Specifies an added function for the Page Down (Roll Up) key on the 5250 type keyboard when 3270 device emulation is active. This assignment is in effect when the number of input fields is not larger than the maximum number of input fields.
Top |
Specifies an added function for the Test Request key on the 5250 keyboard when 3270 device emulation is active.
Top |
Specifies one of several physical function keys to be used as the Cursor Select key. When 3270 emulation is active, the specified key can be used to select or reject selectable fields.
Top |
Specifies whether System Network Architecture (SNA) double-byte character set (DBCS) 3270PC emulation or 3270 device emulation is used. This parameter is valid only when using a S/55 Personal Computer.
Top |
Specifies the emulation printer device that is used for SNA DBCS 3270PC emulation. The printer emulation device is selected after the device emulation is selected. This parameter is valid only when *YES is specified on the SNA DBCS 3270PC emulation prompt (IGCEMLPC parameter).
Top |
Specifies the initial amount of time (in seconds) that 3270 emulation waits for the first display data from the host system. If the host system does not send the first display in this time, the emulation session is ended, and a message is returned to the requester.
Top |
Specifies whether numeric input fields will only allow numeric data on a 5250 keyboard.
Top |
Specifies how beginning and embedded nulls within the 3270 data stream sent from a 5250 display station are handled. Beginning nulls are those that occur before a character that is not null. Embedded nulls are those that occur between characters that are not null.
Top |
Specifies the sign-on text that is sent to the host system after SNA 3270 emulation is started. This text can be used to sign on to a specific host application.
This parameter is not allowed if specified for BSC 3270 emulation, SNA 3270 display station pass-through, or SNA DBCS 3270PC emulation.
Top |
Specifies whether the 3270 emulation device waits until the data received is shown on the workstation display to send a positive response to the host system. The response time recorded by the iSeries system may be longer than the time recorded by the host when the emulation device does not wait.
Top |
Specifies additional ways in which the SNA 3270 device emulation session can end.
This parameter is not allowed if specified for BSC 3270 emulation, SNA 3270 display station pass-through, or SNA DBCS 3270PC emulation.
The possible values are:
Top |
Specify whether you want the Select 3270 Emulation Option for SNA menu or the Select 3270 Emulation Option for BSC menu to be displayed when the Attention key is pressed.
This parameter is not allowed if specified for either SNA 3270 display station pass-through or SNA DBCS 3270PC emulation.
The possible values are:
Top |
Specifies a user-exit program and one or more function keys that call the program. When a specified function key is pressed during the 3270 display emulation session and is sent to the host system, the user-exit program is called. When the user-exit program ends, control is returned to the 3270 display emulation session at the point where the function key was pressed.
This parameter is not valid if specified for either BSC 3270 display emulation, SNA 3270 display station pass-through, or SNA DBCS 3270PC emulation.
The user-exit program is called only if the function key is successfully sent to the host system. If the function key fails to be received, an error reset message appears at the bottom of the display suggesting you try again.
The iSeries user-exit program must be coded to allow for input parameters. The following parameters are passed to the program in the specified order:
The possible program name values are:
The possible library values are:
The possible function key values are:
Top |
Specifies the 3-character keyboard language identifier which represents a specific full character identifier (CHRID - comprised of a character set and code page) that is used on the display station. To determine the full CHRID from the keyboard language identifier, see the CHRID Values table in the Create Device Display (CRTDEVDSP) command in the CL Reference.
This parameter does not apply when running SNA 3270 display station pass-through.
If a local display device is specified for the STREML3270 Display Device (DSPDEV) parameter, then use the specified display's device description current KBDTYPE value to determine the CHRID to be used. If a remote display device is specified for the STREML3270 DSPDEV parameter, then use the current QKBDTYPE system value.
Top |
Specifies the outgoing translation table that is used to translate characters sent from the host system to 3270 Emulation. If *TRNTBL is specified on the Keyboard language type prompt (KBDTYPE parameter), the Incoming translation table prompt (TRNTBLIN parameter), must also be specified.
The possible library values are:
Top |
Specifies the incoming translation table that is used to translate characters sent from 3270 Emulation to the host system. If *TRNTBL is specified on the Keyboard language type prompt (KBDTYPE parameter), the Outgoing translation table prompt (TRNTBLOUT parameter), must also be specified.
The possible library values are:
Top |
Specifies whether a configuration entry is used for this session. Configuration entries indicate 3270 emulation configuration options. Configuration entries are created with the Add Emulation Configuration Entry (ADDEMLCFGE) command.
The possible values are:
Top |
STREML3270 EMLCTL(TSOHOST) PAGEUP(*F7) PAGEDOWN(*F8)
This command places the display device into an emulation session that uses the first available device on the controller description TSOHOST for which the user has authority. When there are fewer input fields on the display than the maximum allowed by the 5250 display device and the Page Up key is pressed, an F7 key value is sent to the host system. When the Page Down key is pressed, an F8 key value is sent to the host system.
Top |
*ESCAPE Messages
Top |