Professional Documents
Culture Documents
41 W445ngsc415443
41 W445ngsc415443
System-Supplied Format Security – When specified for the user ID, 'blanks' operate the
same as *USER
For system-supplied formats which use security information – When specified for the password, 'blanks' operate
($$EVOK, $$EVOKET, $$EVOKNI) the security information the same as *NONE
is specified in the data buffer of the source-side application
program as follows: *NONE: No value is to be used
Positions 9 through 16 is the password *USER: The user ID of the currently signed on user
Positions 17 through 24 is the user ID Table 3-12 shows the values that can be specified for the
Note: Profile ID cannot be specified when using system- system-supplied formats security fields, and the resultant
supplied formats. conversation security levels that are used.
Table 3-12. Effects of System-supplied Format Security Fields on Conversation Level Security
User ID Field
'literal' 'blanks' *NONE *USER
'literal' SECURITY (PGM) SECURITY (PGM) SECURITY (PGM) SECURITY (PGM)
'blanks' SECURITY (PGM) SECURITY SECURITY SECURITY (SAME)
Password Field (SAME) (NONE)
*NONE SECURITY (PGM) SECURITY SECURITY SECURITY (SAME)
(SAME) (NONE)
*USER SECURITY (PGM) SECURITY (PGM) SECURITY (PGM) SECURITY (PGM)
Table 3-13 shows where user IDs are extracted when the
AS/400 system is the target system and the session estab-
lishment is one of the following:
Table 3-13 (Page 1 of 2). Summary of User IDs Used when the AS/400 System is the Target System
Session Establishment SECURITY(NONE) Applica- SECURITY(SAME) Applica- SECURITY(PGM) or
tions using Subsystem tions using Source Sign-on SECURITY(PROGRAM_STRONG)
Default User ID User ID Applications using User ID and
Password Sent in Program
Start Request
Security not accepted1 DDM2 SNADS3 AS/400 Not applicable, security is not Not applicable, security is not
display station pass-through accepted accepted
S/36 display station pass-
through S/38 display station
pass-through FTS4 User-
written program
Security accepted1 and conver- AS/400 display station pass- Not applicable, all AS/400 display station pass-
sation is not affected by through S/38 display station SECURITY(SAME) conversa- through FTS User-written
SECURELOC pass-through SNADS User- tions are affected by program
written program SECURELOC
System B *ALL: Specifies that all configured modes for the speci-
fied remote location are to be started.
VRYCFG CFGOBJ(NEWYORK) CFGTYPE(\LIN) STATUS(\ON) RANGE(\NET)
BLANK: A mode name consisting of 8 blank characters
Note: For programs communicating with each other on the
is used.
same system, the controller description (*CTL) is the
configuration type that should be specified.
mode-name: Specify a mode name.
Note: SNASVCMG and CPSVCMG are reserved
Controlling Modes names and cannot be specified.
The STRMOD command is required only if the mode has remote-network-id: Specify the name of the remote
been explicitly ended by a previous ENDMOD command. network ID.
The APPC support issues an implicit STRMOD command
Example 1
when a device description is varied on.
STRMOD RMTLOCNAME(LOSANGEL) MODE(BLANK)
The STRMOD command has the following parameters:
This command starts a mode named BLANK with a remote
RMTLOCNAME location named LOSANGEL. The device, local location
Specifies the remote location name. This parameter is name, and remote network identifier are selected by the
required. system based on the remote location name LOSANGEL.
DEV
Specifies the device description name.
Example 2
STRMOD RMTLOCNAME(LOSANGEL) MODE(\ALL)
*LOC: Specifies that the device description is to be LCLLOCNAME(NEWYORK) RMTNETID(APPN)
determined by the system.
device name: Specify the name of the device This command starts all configured modes that are currently
description. not started. Because the device description uses the default,
*LOC, the system selects the device description based on
RMTNETID
End Mode (ENDMOD) Command Specifies the remote network ID used with the remote
Note: Refer to “Using the Location Parameters” on location.
page 3-3 for information on how the system proc- *LOC: Specifies that the system selects the remote
esses the RMTLOCNAME, LCLLOCNAME, DEV, network ID.
RMTNETID, and MODE parameters for this
*NETATR: Specifies that the remote network ID speci-
command.
fied in the network attributes is used.
The ENDMOD command ends one or more active modes. *NONE: Specifies that remote network has no name.
You can also specify how activities that have been requested
remote-network-id: Specify the name of the remote
on the remote system, but have not been performed are to
network ID used.
be handled. This command is not required, but it can be
issued at any time. Once an ENDMOD command is run, no CPLPNDRQS
sessions can be started between the local and remote The complete pended requests parameter allows you to
locations on any mode that has ended until an explicit specify whether the remote location can complete work
STRMOD command is run. However, a local session that is pending or if the work pending should be ended
maximum of zero does not prevent a switched connection before being allowed to start.
from being made. While the local session maximum is zero
*NO: Specifies that requested activities currently in
and a switched connection is made (either dial or answer),
progress at the remote location can complete; activities
no communications occur on that mode until a STRMOD
that have been requested, but not started at the remote
command is run to allow sessions to be established.
location are not performed.
The ENDMOD command has the following parameters: *YES: Specifies that all requested activities be allowed
to complete before the mode is ended.
RMTLOCNAME
Specifies the remote location name for which one or Example 1
more modes are to be ended. This parameter is
required. ENDMOD RMTLOCNAME(LOSANGEL) MODE(BLANK)
This new value for the local session is only used the next remote-location name: Specify the name of the remote
time a new session maximum needs to be negotiated. The location.
current session maximum, which controls how many ses- MAXSSN
sions can be active between the local and remote location, is Specifies the number of sessions allowed with the
not changed if the command fails. remote location. This value represents the desired
maximum number of sessions for the specified mode
This command is normally used by the system operator to
name. It must be less than or equal to the MAXSSN
control the number of sessions that can be active at the
parameter limit defined in the mode description. This
same time with a remote location. This command is used
value can be negotiated to a lower value by the remote
only when the specified remote location and mode are active.
location; therefore, the value specified here is not neces-
If the current number of active sessions is greater than the
sarily the value that is used.
maximum number specified on the command, no new ses-
sions are created until the number of active sessions falls Valid values for this parameter are 1 through 512.
below that specified on the command. If the current number
DEV
of active sessions is less than the maximum number speci-
Specifies the name of the device description to be used.
fied, sessions may not be established until jobs requiring
them are started. *LOC: The device associated with the remote location is
used. If several devices can be associated with the
The value determined by the locations remains in effect until remote location, the system determines which device is
another CHGSSNMAX command or an End Mode used.
(ENDMOD) command is run for the same mode, or until all
the device descriptions associated with the remote location
device-name: Specify the name of a device description
that is associated with the remote location.
are varied off.
MODE
Many CHGSSNMAX commands can be issued before the
Specifies the name of the mode that is changed.
current maximum number of sessions ever become active.
The number specified the last time the command was issued *NETATR: Specifies that the mode name specified in
is the current local session maximum value. the network attributes is used.
BLANK: A mode name (consisting of 8 blank charac-
ters) is used.