Work with Socket Conditions
How to Get There
Starting in version 8.0, the Work with Socket Conditions panel was divided into three separate panels: Accept Server, Connect Server, and Listen Server. See Work with Socket Rules - Accept Server, Work with Socket Rules - Connect Server , or Work with Socket Rules - Listen Server. Then, enter option 8 next to a rule.
What it Does
The Work with Socket Conditions panel allows you to view, create, copy, change, or delete Socket Conditions.
Field Descriptions
System
System indicates the target of any operations you perform. When you add rules, for example, those rules will be sent to, and will affect processing on, the System named.
Server
A Server in Powertech Exit Point Manager for IBM i is a controlled entry point into your system. These entry points are determined and defined by IBM. Powertech Exit Point Manager for IBM i has assigned easy-to-remember names to these controlled entry points. Each of the three socket servers has only one function, as shown below:
Socket Server | Function |
---|---|
QSOLISTEN | LSTN0100 |
QSOACCEPT | CONN0100 |
QSOCONNECT | ACPT0100 |
Function
A Function, or Server Function, in Powertech Exit Point Manager for IBM i represents a class of operations that a given Server may perform. For example, the *SIGNON Server classifies its operations as those pertaining to changing passwords, generating authentication tokens, and retrieving signon information. Powertech Exit Point Manager for IBM i has assigned easy-to-remember names to these Functions, such as CHGPWD, GENAUTTKN and RETRIEVE.
Rule
The Socket Rule to which this Socket Condition belongs.
A Socket Rule without a Socket Condition, or with an invalid Socket Condition, will not be enforced.
Position to Seq
Used to position the list.
Opt
Enter a valid option from the list of options provided on the list panel.
Seq
The sequence number of a Socket Condition determines the order in which it is combined with other Socket Conditions for a Socket Rule.
Connector
The connector determines how a Socket Condition relates to other Socket Conditions for a Socket Rule.
Socket Conditions with a higher order of precedence are evaluated before ones with a lower order of precedence.
The connector for the Socket Condition with the lowest sequence number is ignored.
Given three Socket Conditions:
Seq = 10 Connector = <ignored> evaluates to False
Seq = 20 Connector = AND evaluates to True
Seq = 30 Connector = OR evaluates to True
This will return True as it is equivalent to:
(False AND True) OR True
If the OR were evaluated first then it would return False as it would be equivalent to:
False AND (True OR True)
The valid values are:
Field
This is the name of the field to be evaluated at run time.
The valid values are dependent on the Socket Rule.
Valid values for the QSOLISTEN server are:
Valid values for the QSOCONNECT server are:
Valid values for the QSOACCEPT server are:
Operator
The test used for the value of the field and the criteria to evaluate this Socket Condition.
ALWAYS This will cause the condition to always match. It is used on the Socket Condition of the default Socket Rule, and may be used on non-default Socket Rules. If present, it must be the only Socket Condition for a Socket Rule.
Criteria
This is the value against which the value of the selected field will be compared at run time.
The valid values are dependent on the selected Field.
Options
2=Change
Choose 2 to open the Change Socket Rule Condition panel, where you can change a socket rule condition.
3=Copy
Choose 3 to open the Copy Socket Rule Condition panel, where you can copy a socket rule condition.
4=Delete
Choose 4 to delete the Socket Rule Condition.
5=Display
Choose 5 to display the Socket Rule Condition.
Command Keys
F3 (Exit): Exit the panel without processing any pending changes.
F5 (Refresh): Refreshes the panel with the most current data.
F6 (Create condition): Creates a new item. See Create Socket Rule Condition panel.
F12 (Cancel): Discards changes and returns to the prior panel.