Sterling Connect:Direct Requester Submit Process Service
This table provides an overview of the Sterling Connect:Direct® Requester Submit Process service:
System Name | Sterling Connect:Direct Requester Submit Process Service |
Graphical Process Modeler (GPM) categories | Applications > Sterling Commerce > Sterling Connect:Direct |
Description | This service is used to submit a Sterling Connect:Direct process to a remote Sterling Connect:Direct node. |
Business usage | A business user would use this service to initiate work on remote Sterling Connect:Direct node. |
Usage example | A business user has a file that exists on a remote node where Sterling Connect:Direct is running. This file is needed on another node. The user creates a business process that submits a Sterling Connect:Direct Process to a remote Sterling Connect:Direct Server to transfer the file from one node to the other. |
Preconfigured? | A Sterling Connect:Direct Requester Adapter must be configured before using this service. |
Requires third party files? | Sterling Connect:Direct Windows 4.0.00 or later, Sterling Connect:Direct UNIX 3.4.00 or later, or Sterling Connect:Direct OS/390 4.3.00 or later, available from IBM. |
Platform availability | All supported platforms |
Related services | Related services include Sterling Connect:Direct Requester Select Process Service and Sterling Connect:Direct Requester Select Statistics Service. |
Application requirements | None |
Initiates business processes? | No |
Invocation | The business process running this service must be started by a user with permission to issue the Submit command on the target Sterling Connect:Direct server. |
Business process context considerations | None |
Returned status values |
|
Restrictions | None |
Persistence level | System default |
Testing considerations | Debug information for this service can be found in the Connect:Direct Interop log files. |
Implementing the Sterling Connect:Direct Requester Submit Process Service
To implement the Sterling Connect:Direct Requester Submit Process service, complete the following tasks:
- Create a Sterling Connect:Direct Requester Submit Process service configuration.
- Configure the Sterling Connect:Direct Requester Submit Process service.
- Use the Sterling Connect:Direct Requester Submit Process service in a business process.
Sterling Connect:Direct Requester Submit Process Service Settings
To configure the Sterling Connect:Direct Requester Submit Process service, you must specify settings for the following fields in Sterling B2B Integrator:Field | Description |
---|---|
Name | Unique and meaningful name for the service configuration. Required. |
Description | Meaningful description for the service configuration, for reference purposes. Required. |
Select a Group | Group of services or adapters of the same type that can act as peers. A Service
Group name is used in BPML in place of the Service Configuration name. Service Groups show up in the
GPM as if they were Service Configurations. Select a Service Group to associate with this adapter.
Valid values are:
For more information about service groups see Managing Services and Adapters. |
CDRequesterName | Specifies the Connect:Direct Requester adapter to use with this service. Required. |
Parameters Passed from Sterling Connect:Direct Requester Service to Business Process
This table describes the parameters passed from the Sterling Connect:Direct Requester Submit Process service to the business process:
Parameter | Description |
---|---|
Class | Determines the node-to-node session on which a process can be executed. Optional. Valid values are 1–10. |
ConditionCode | Specifies the return code values associated with step termination. Optional.
Valid values are:
|
ExecutionPriority | The priority under which the operating system thread that executes Sterling Connect:Direct runs. Valid values are 1–15. Optional.
Note: Applies to Windows only.
|
LogDateTime | Specifies the date and time that the statistics record was written to the statistics log. Optional. |
MessageId | Specifies the current message ID for the process. Optional. |
MessageText | Specifies the short text associated with the message ID. Optional. |
Pnode | Specifies the primary node. Optional. |
Priority | Specifies the priority assigned to the process. Optional. The lower the number the higher the priority. Valid values are 1–15. |
ProcessName | Specifies the process name. Optional. |
ProcessNumber | Specifies the process number. Optional. |
Queue | Specifies the queue containing the process. Optional. Valid queue values are:
|
Snode | Specifies the secondary node used for the process. |
Status | Process status. Optional. Valid status values are:
|
Submitter | Specifies the user ID that submitted the process. Optional. |
SubmitterNode | Specifies the node from which the process was submitted. Optional. |
Parameters Passed from Business Process to Sterling Connect:Direct Requester Submit Service
This table describes the parameters passed from the business process to the Sterling Connect:Direct Requester Submit Process service:
Parameter | Description |
---|---|
CDRequesterName | Specifies the Sterling Connect:Direct Requester adapter to use with this service. Required. |
Class | Specifies the preferred session class for the process. The process can execute in the class specified or any higher class. Optional. This value overrides any defaults. Valid values range from one to the maximum number of PNODE sessions defined in the network map definition (default is 1). |
Hold | Specifies the Hold status of a process. Optional. Valid values are:
|
MaxDelay | Specifies the time to wait until a process has executed. Optional. Valid values are:
|
NewName | Specifies the new name of the process. The default is the label on the process statement. Optional. |
NotifyUser | Specifies the user ID to receive process completion messages. The user ID is notified through a Microsoft Exchange E-mail, a Windows dialog box, or a TSO notify. Optional. |
PnodeAccounting | Specifies user data passed to the PNODE. Optional. |
PnodePassword | Specifies the user password on the PNODE. This field is case-sensitive. Optional. |
PnodeUserid | Specifies the user ID used as a security ID on the PNODE. This ID must be the name of an existing user account. This field is case-sensitive. Optional. |
Priority | Specifies the priority of a process in the Transmission Control queue. Sterling Connect:Direct uses the Priority parameter for process selection. The lower the number, the higher the priority. A process with higher priority is selected for execution before a process with a lower priority. This parameter does not affect the priority during transmission. Optional. Valid values are 1–15 (default is 7). |
ProcessDocumentId | Specifies the Document ID of the document that contains text of the process to
be submitted to the Sterling Connect:Direct
server. Optional (if both ProcessText and ProcessDocumentId are blank, then the primary document must contain the process text). |
ProcessText | Optional. Specifies:
|
Retain | Whether Sterling Connect:Direct
retains a copy of a process after it is runs. If you specify Retain with a start time, the process
is released to run at the specified time. Each time a retained process is released, Sterling Connect:Direct creates a copy with a new process
number. The copy is executed, and the original process remains in the queue. Optional. Valid values are:
|
Snode | Specifies the secondary node to be used in this process. The secondary node name is a 1–16 alphanumeric character name that is defined in the network map. Optional. Valid values are alphanumeric or nationals (@#$.). |
SnodeAccounting | Specifies user data passed to the SNODE. Optional. |
SnodePassword | Specifies the user password on the SNODE. This field is case-sensitive. Optional. |
SnodeUserid | Specifies the user ID used as a security ID on the SNODE. This field is case-sensitive. Optional. |
StartDate | Specifies the day or date to execute the process. Optional. |
StartTime | Specifies the time to execute the process. Format is HH:MM [XM]. Optional. |
Variables | Specifies the symbolic variables to be used in the process. Symbolic variables
are text strings in a process that are replaced with predefined values when the process is executed.
This allows you to easily change processes when these values change. For example, you can define a variable &filename and declare the value to be file1.txt. Whenever the process encounters the &filename variable, it substitutes file1.txt. If you want to use a different value, just change the &filename definition to the new file name, and the process will use that instead. Optional. |
UserId | User ID used to connect to the Sterling Connect:Direct server. Overrides the user ID specified in the Sterling Connect:Direct Requester adapter. Optional. |
Password | Password used to connect to the Sterling Connect:Direct server. Overrides the password specified in the Sterling Connect:Direct Requester adapter. Alphanumeric. Optional. |
Business Process Example
This example business process illustrates submitting a process using text that is specified in the ProcessText field within the business process:<process name="CDSubProc">
<sequence>
<operation name="CDSubProc">
<participant name="CDSubProc"/>
<output message="CDSubProc">
<assign to="CDRequesterName">CDReq</assign>
<assign to="." from="*"></assign>
<assign to="ProcessText">PULL PROCESS
SNODE=cdnodename HOLD=yes
STEP02
COPY
FROM (
FILE="/usr/test_data/inputfile"
SNODE)
TO (
FILE="/usr/test_data/outputfile "
PNODE
DISP=RPL)
PEND</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</sequence>
</process>