Add Configuration Entry (ADDEMLCFGE)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Add Emulation Configuration Entry (ADDEMLCFGE) command is used to add a configuration entry for a 3270 device emulation session to the configuration file. You can use this command to specify display and printer emulation options, such as setting the maximum image size for a display, or tracing the data stream for a printer.

The values you specify are used during an emulation session when the configuration entry is specified on the Start 3270 Display Emulation (STREML3270) or Start Printer Emulation (STRPRTEML) commands.

Top

Parameters

Keyword Description Choices Notes
EMLCFGE Configuration entry Name, QEMDFTCFGE Required, Positional 1
EMLDBGJOB Debug job *NOTRACE, *TRACE Optional
EMLSIG Handle signals *SAVE, *IGNORE Optional
EMLATR Handle attributes *IGNORE, *REJECT Optional
EMLMAXSCR Maximum screen size *DEVD, *MOD2, *MOD5 Optional
EMLTRC VLIC trace *NOTRACE, *TRACE Optional
EMLSTR Start printer TRCJOB *NOTRACE, *TRACE Optional
EMLINLSCN Initial screen *YES, *NO Optional
EMLGRDLIN Gridline *NO, *YES Optional
EMLDBCS Graphic DBCS *NO, *YES Optional
EMLPRTFMT Printout formatting *NO, *YES Optional
EMLSNACLR Clear processing *RETRY, *IGNORE Optional
EMLBUF Gridline Buffer *FRONT, *BACK Optional
EMLVLG Conditional vlog generated *NO, *YES Optional
EMLSCS Handle SCS command errors *NO, *YES Optional
EMLNML Enforce 5250 Numeric Lock *NO, *YES Optional
EMLMSG Send SNA Unbind message *NO, *YES Optional
Top

Configuration entry (EMLCFGE)

Specifies the name of the emulation configuration entry that you are adding to the configuration file.

Note: The configuration file is shipped with the default configuration entry for 3270 emulation sessions, QEMDFTCFGE.

This is a required parameter.

Top

Debug job (EMLDBGJOB)

Specifies whether to trace the printer data stream being passed to the printer function manager when a job that is using printer emulation is being debugged with the Trace Job (TRCJOB) command.

*NOTRACE
The printer data stream is not traced in the TRCJOB output.
*TRACE
The printer data stream is traced in the TRCJOB output.
Top

Handle signals (EMLSIG)

Specifies how an i5/OS emulation job that is not in send mode responds to a Systems Network Architecture (SNA) request for permission to send data (signal).

*SAVE
The emulation job stores the SNA signal, and if appropriate grants the host permission to send when a piece of data with the change direction indicator (CD) on it is received.
*IGNORE
The emulation job does not grant the host permission to send.
Top

Handle attributes (EMLATR)

Specifies how the 3270 emulation job responds to an incorrect character attribute or attribute value that is received during a single-byte character set (SBCS) session. In 3270 data stream terminology, a character attribute is a set attribute instruction (SA order) and an attribute value is a value on which the instruction operates (value).

*IGNORE
The emulation job ignores the incorrect value.
*REJECT
The emulation job sends a negative response to the data stream containing the incorrect character attribute or attribute value.
Top

Maximum screen size (EMLMAXSCR)

Specifies the maximum size of the image to be shown on the display screen.

*DEVD
The maximum size is whatever the device can support.
*MOD2
The maximum size is 24 rows by 80 columns.
*MOD5
The maximum size is 27 rows by 132 columns.

Note: If the device does not support 27 rows by 132 columns, the maximum size defaults to 24 rows by 80 columns.

Top

VLIC trace (EMLTRC)

Specifies whether trace points are issued by the data stream translation component of the Licensed Internal Code (LIC) when the following are true:

*NOTRACE
Data stream translation trace points are not issued.
*TRACE
Data stream translation trace points are issued.
Top

Start printer TRCJOB (EMLSTR)

Specifies whether to call the Trace Job (TRCJOB) command when a printer emulation job is started.

*NOTRACE
The TRCJOB command is not called.
*TRACE
The TRCJOB command is called.
Top

Initial screen (EMLINLSCN)

Specifies whether to show the Emulation Initialization In Progress display when a 3270 device emulation session is starting.

*YES
The display is shown.
*NO
The display is not shown.
Top

Gridline (EMLGRDLIN)

Specifies whether to suppress field outlining on the display.

*NO
Field outlining is not suppressed.
*YES
Field outlining is suppressed.
Top

Graphic DBCS (EMLDBCS)

Specifies whether to support the DBCS-graphic character string for input fields.

Note: This parameter is valid only for customer applications that specify field attributes or that specify character attributes for the entire input field. If only part of a field is defined with the DBCS-graphic attribute, you will get unpredictable results.

*NO
The DBCS-graphic character string is not supported.
*YES
The DBCS-graphic character string is supported.
Top

Printout formatting (EMLPRTFMT)

Specifies whether to use the values supplied by the STRPRTEML command for the number of lines (NUMLIN) parameter and the number of columns (NUMCOL) parameter instead of using the values supplied by the printer file.

Note: This parameter is valid only for SNA character string (SCS) printer sessions.

*NO
The STRPRTEML command values for lines and columns are not used.
*YES
The STRPRTEML command values for lines and columns are used.

Note: The STRPRTEML command values remain in effect until a set horizontal format or a set vertical format command is received from the host.

Top

Clear processing (EMLSNACLR)

Specifies how the 3270 emulation job recovers when an attempt to get data sent by the host system fails after an SNA CLEAR command is received.

Note: This parameter is valid only for display emulation sessions.

*RETRY
The emulation job tries again to get the data.
*IGNORE
The emulation job does not try again to get the data.
Top

Gridline Buffer (EMLBUF)

Specifies whether the foreground or background buffer is used when base gridlines are displayed. This parameter does not apply when strategic gridlines are used.

*FRONT
The foreground buffer is used.
*BACK
The background buffer is used.
Top

Conditional vlog generated (EMLVLG)

Specifies whether to generate a VLIC log when the datastream translation routines send a negative response to the host because a command or order was not valid.

*NO
The VLIC log is not generated.
*YES
The VLIC log is generated. The emulation session continues.
Top

Handle SCS command errors (EMLSCS)

For SCS printer sessions only, this parameter says whether to follow architecture and default to a page size or page width of 1 line when a bad set horizontal format (SHF) or a bad set vertical format (SVF) is received.

*NO
The architecture is followed. Page size is one line.
*YES
The architecture is not followed, page size and width default to values entered on the start printer emulation (STRPRTEML) command.
Top

Enforce 5250 Numeric Lock (EMLNML)

Specifies whether to enforce 5250 Numeric Lock by the data stream translation component of the Licensed Internal Code (LIC) when the job is using the data stream translation API (application program interface).

*NO
5250 Numeric Lock is not enforced.
*YES
5250 Numeric Lock is enforced.
Top

Send SNA Unbind message (EMLMSG)

Specifies whether to display a message on the screen when an unbind has been received.

*NO
No message is displayed.
*YES
Message is displayed.
Top

Examples

Example 1: Adding a Configuration Entry

ADDEMLCFGE   EMLCFGE(ARTSDEPT)  EMLMAXSCR(*MOD5)
             EMLGRDLIN(*YES)

This command adds an emulation configuration entry named ARTSDEPT for a display with a maximum screen image of 27 rows by 132 columns. Field outlining does not show on the display.

Example 2: Adding a Configuration Entry for a Printer

ADDEMLCFGE   EMLCFGE(FASBPRINT)  EMLDBGJOB(*TRACE)
             EMLATR(*REJECT)

This command adds an emulation configuration entry named FASBPRINT to the configuration file. The FASBPRINT configuration entry traces the printer data stream when a job is running with a trace on it and sends a negative response when incorrect data is received.

Top

Error messages

*ESCAPE Messages

CPF853A
Emulation entry &1 already exists.
CPF854B
Internal error in emulation configuration routines.
Top