SI51 CDSAUserGuide
SI51 CDSAUserGuide
Chapter 1 What’s New with the Interface between Sterling Integrator and
Connect:Direct 1
What’s New with the Interface between Sterling Integrator and Connect:Direct . . . . 1
General Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Improvements to Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
New Documentation on the Connect:Direct Process Website . . . . . . . . . . . 3
Connect:Direct Process Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Enhancements to Connect:Direct Server Adapter Documentation. . . . . . . . 5
Sterling Integrator Business Process Examples. . . . . . . . . . . . . . . . . . . . . . 5
Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Setup Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Create Connect:Direct and Sterling Integrator User IDs . . . . . . . . . . . . . . . . . . . . . . 13
Configure a Sterling Integrator Netmap Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Connect:Direct Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Connect:Direct Netmaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Connect:Direct Netmap Cross-References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Configure a Sterling Integrator Connect:Direct Server Adapter. . . . . . . . . . . . . . . . . 18
Add Connect:Direct Server Adapter Node to Connect:Direct Netmap . . . . . . . . . . . 21
Create a Sterling Integrator Mailbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Using Virtual Roots in a Mailbox Hierarchy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Setting Up a Mailbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Verifying Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Exchange Process IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Business Process Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Using the Graphical Process Modeler. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Logging Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Customizing the Connect:Direct Server Adapter Log Settings . . . . . . . . . . . . . . 165
Configuration Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Turning on Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
General Enhancements
In Sterling Integrator version 5.1, several enhancements are focused on making it easier to use the
Connect:Direct Server adapter (CDSA) and other related Connect:Direct Server services, such as the
CopyTo service used to transfer files between a Sterling Integrator CDSA node and other Connect:Direct
server nodes. Here’s a summary of the general enhancements:
✦ Connect:Direct Service Adapter upgrade now allows you to make changes to an existing netmap,
which take effect immediately without disabling and re-enabling the adapter. Simply edit the
configuration of the Connect:Direct Service Adapter that uses the modified netmap, click Next until
you reach the Confirm page, and then click Finish for the system to immediately recognize your
netmap changes.
✦ Sterling Integrator version 5.1 and later supports the most common set of parameters available in the
Connect:Direct for z/OS Process Copy statement To clause to provide more functionality, such as
enhanced file allocation and disposition options for the destination file on the remote Connect:Direct
for z/OS node. To ensure that business processes created in earlier versions of Sterling Integrator
continue to execute properly, parameters existing in versions 5.0 and earlier will still be supported.
2 What’s New with the Interface between Sterling Integrator and Connect:Direct
However, these old parameters cannot be mixed with new parameters in the same CopyTo service. It is
recommended that you use the new parameters when you create a new business process and that when
you make changes to an existing CopyTo service that you upgrade and use the new parameters, as
well. For more information, see Connect:Direct Server CopyTo Service on the Working with
Connect:Direct page.
✦ To reduce the number of instances business processes that terminate with an error because of PNODE
session limits, Sterling Integrator now places business processes in a suspend queue to await session
availability. When a session count frees up, it is assigned to the oldest suspended business process
which can use the newly available session. The business process then resumes and is allowed to try to
establish a session. For more information on this workflow suspension processing feature, see How
Sessions for Business Processes Are Established on page 157.
✦ Connect:Direct Service Adapter upgrade now allows you to take advantage of the checkpoint restart
feature. This feature allows the automatic restarting of copy operations that fail in certain ways, for
example, due to network errors. The copy operation is resumed from a previously checkpointed
location rather than having to start over from the beginning of the file transfer. To implement this
feature, you must enable retry processing. For more information, see How Checkpoint Restart and
Retry Processing Works on page 160.
In earlier versions of Sterling Integrator, you had to specify a retry in the business process itself. In
addition, in Sterling Integrator version 5.1 and later, when a session is established the current retry
counts are reset to zero so that if the session subsequently fails, the system starts counting retries from
zero, which represents a departure from the earlier behavior.
The copy checkpoint retry feature is now governed by the same short-term and long-term retries
parameters that control retries for initial session establishment. Prior to Sterling Integrator version 5.1,
there were three sets of parameters related to session establishment and retry processing:
Session establishment parameters that were used only for initial session establishment . These two
fields, Number of Retry attempts for establishing a session and Interval between session
establishment attempts, were configurable in both the Connect:Direct Service Adapter and
Connect:Direct Server Begin Session Service. These parameters did not affect session
re-establishment after a session failure during COPY processing.
Short-term session retry parameters that were only used when the adapter attempted to establish a
session but there was no PNODE session available. These two fields, Number of short-term
session retry attempts and Interval between short-term session retry attempts, were configurable in
both the Connect:Direct Service Adapter and Connect:Direct Server Begin Session Service. The
server in that scenario would perform a series of delays and retries to try to acquire a free session
count. These parameters controlled the retrying of the acquisition of a session count but had
nothing to do with establishing sessions. This functionality has been made obsolete by the
workflow suspension processing feature described above. With that feature, a business process is
put in a suspend queue when there are no available sessions to await for the next free session
count.
Checkpoint-based copy-restart parameters that were used only in CopyTo and CopyFrom
processing. These two fields, Number of Retry attempts for checkpoint-based copy-restart and
Interval between Retry attempts, were configurable in only the Connect:Direct Service
Adapter.When a COPY operation failed with a 'restartable' error such as a session failure, these
parameters controlled the number of retries performed and the interval between retry attempts.
This retry count was a hard limit on the number of retries that could be done during a given
communications session regardless of whether sessions were re-established and then subsequently
lost or whether a session failed and then could not be re-established. This set of parameters is now
obsolete as a result of the enhanced copy checkpoint retry feature.
What’s New with the Interface between Sterling Integrator and Connect:Direct 3
Session establishment and retry processing has been both simplified and enhanced in Sterling
Integrator version 5.1. There are now two sets of parameters (short-term and long-term) instead of
three and the two sets apply throughout the session both to initial session establishment and also to
re-establishment after a failure. These two sets of parameters are configured in the Connect:Direct
Server adapter and can be overridden in the Connect:Direct Server Begin Session service:
Session establishment parameters, which are now the long-term session retry settings and apply
both to initial session establishment as well as to COPY steps when a session must be
re-established. When the default settings defined in the adapter configuration are overridden in the
Begin Session service, the new values are retained for the duration of the session and also apply to
any subsequent COPY steps.
Short-term session retry parameters, which now work in conjunction with the long-term session
retry parameters. The values for the short-term parameters are used first if defined, and if a session
has still not been established (or re-established) when they are exhausted, the long-term retry
values are used, if configured. If the short-term values are overridden in the Begin Session service,
the new values are retained for the duration of the session and also apply to any subsequent COPY
steps.
✦ File Allocation Retry (FAR) processing allows the Connect:Direct Server adapter to retry a Copy
operation when one of a set of certain file allocation errors occurs in combination with a non-zero
return code. This is most useful when the Connect:Direct Server adapter initiates a file transfer with a
remote Connect:Direct for z/OS system. This feature only affects locally initiated (PNODE) sessions
that use the Connect:Direct Server CopyTo service or CopyFrom service. For more information, see
How File Allocation Retry Processing Works on page 161.
✦ For interoperability with other Connect:Direct nodes in high-availability environmnents, the Alternate
Comm Info parameter in the Connect:Direct Server adapter Netmap allows you to specify a list of
alternate hostnames and IP addresses that are used for Netmap checking of inbound connection
requests to the adapter. For more information, see Alternate Comm Info on page 16.
Improvements to Documentation
Throughout information related to the Connect:Direct Server adapter and services, links to the following
information have been added to make information more accessible so you can find related information
quickly:
✦ Working with Connect:Direct page (to access the main webpage listing Connect:Direct Server
adapter-related information)
✦ Sterling Integrator documentation library (to access information about the general Sterling Integrator
product that the Connect:Direct Server adapter and related services are part of)
✦ Connect:Direct Process Language Web Site (to access the MFT website for information on
Connect:Direct processes and how to write them to communicate with Sterling Integrator)
Note: In Connect:Direct Server Begin Session Service, the Using Obscured Password field was added and the
related business process example was enhanced.
✦ Use Sterling Integrator to Copy a File to a Connect:Direct HP NonStop Node on page 117
✦ Use Sterling Integrator to Copy a File to a Connect:Direct for i5/OS Node on page 120
✦ Use Sterling Integrator to Copy a File from Connect:Direct on page 122
✦ Add Error Handling to the Business Process on page 124
✦ Use Sterling Integrator to Submit a Connect:Direct Process on page 126
✦ Use Sterling Integrator to Start a Connect:Direct Run Job on page 128
✦ Use Sterling Integrator to Start a Connect:Direct Run Task on page 130
✦ Hide the Connect:Direct Password in the Business Process on page 132
✦ Use Sterling Integrator to Copy a File to Connect:Direct for z/OS (Advanced) on page 134
Contact Us
Sterling Commerce welcomes your comments and suggestions for improvements to our product
documentation. You can submit suggestions for improvements to [email protected].
What’s New Page for MFT CD Process website page:
✦ Copying a File from Connect:Direct for Windows to a Sterling Integrator Mailbox
✦ Copying a File from Connect:Direct HP NonStop to a Sterling Integrator Mailbox
✦ Copying a File from Connect:Direct i5/OS to a Sterling Integrator Mailbox
✦ Copying a File from Connect:Direct for z/OS to a Sterling Integrator Business Process
✦ Copying a File from Connect:Direct for UNIX to a Sterling Integrator Business Process
✦ Copying a File from Connect:Direct for Windows to a Sterling Integrator Business Process
✦ Copying a File from Connect:Direct HP NonStop to a Sterling Integrator Business Process
✦ Copying a File from Connect:Direct i5/OS to a Sterling Integrator Business Process
✦ Retrieving a File from a Sterling Integrator Business Process to Connect:Direct for z/OS
✦ Retrieving a File from a Sterling Integrator Business Process to Connect:Direct for Windows
✦ Retrieving a File from a Sterling Integrator Business Process to Connect:Direct for UNIX
✦ Retrieving a File from a Sterling Integrator Business Process to Connect:Direct HP NonStop
✦ Retrieving a File from a Sterling Integrator Business Process to Connect:Direct i5/OS
✦ Retrieving a File from a Sterling Integrator Mailbox to Connect:Direct for z/OS
✦ Retrieving a File from a Sterling Integrator Mailbox to Connect:Direct for Windows
✦ Retrieving a File from a Sterling Integrator Mailbox to Connect:Direct for UNIX
✦ Retrieving a File from a Sterling Integrator Mailbox to Connect:Direct HP NonStop
✦ Retrieving a File from a Sterling Integrator Mailbox to Connect:Direct i5/OS
✦ Submitting a Sterling Integrator Business Process from Connect:Direct for z/OS
✦ Submitting a Sterling Integrator Business Process from Connect:Direct for UNIX
✦ Submitting a Sterling Integrator Business Process from Connect:Direct for Windows
✦ Submitting a Sterling Integrator Business Process from Connect:Direct HP NonStop
Throughout information related to the Connect:Direct Server adapter and services, links to the following
information have been added to make information more accessible so you can find related information
quickly:
What’s New with the Interface between Sterling Integrator and Connect:Direct 7
✦ Working with Connect:Direct page (to access the main webpage listing Connect:Direct Server
adapter-related information)
✦ Sterling Integrator documentation library (to access information about the general Sterling Integrator
product that the Connect:Direct Server adapter and related services are part of)
✦ Connect:Direct Process Language Web Site (to access the MFT website for information on
Connect:Direct processes and how to write them to communicate with Sterling Integrator)
For more information specifically on the enhancements included in Sterling Integrator 5.1, refer to the
What’s New with the Interface between Sterling Integrator and Connect:Direct topic on the Working with
Connect:Direct page.
8 What’s New with the Interface between Sterling Integrator and Connect:Direct
Chapter 1
Requirements
Interoperability between Sterling Integrator and Connect:Direct has the following system
requirements:
Setup Procedures
Setup Procedures
Before you can transfer files or initiate processes between Connect:Direct servers and the Sterling
Integrator Connect:Direct Server adapter, perform the following:
✦ Create Connect:Direct and Sterling Integrator User IDs on page 13
✦ Configure a Sterling Integrator Netmap Entry on page 14
✦ Configure a Sterling Integrator Connect:Direct Server Adapter on page 18
✦ Add Connect:Direct Server Adapter Node to Connect:Direct Netmap on page 21
In addition, if you will be transferring files from Connect:Direct nodes to Sterling Integrator
mailboxes, follow the instructions in the procedure, Create a Sterling Integrator Mailbox on page
22.
Note: The Sterling Integrator Connect:Direct Server adapter can be a Connect:Direct local or remote node
and can function as a PNODE or an SNODE, depending on whether or not it initiates the connection
with a remote Connect:Direct node.
The Connect:Direct Server adapter configuration identifies the remote nodes that it can
communicate with through the use of a network map, called a netmap.
When you create a Connect:Direct Server adapter, you must specify a netmap.
In Sterling Integrator version 4.3 and earlier, the netmap is integrated with the Connect:Direct
Server adapter configuration. In Sterling Integrator version 5.0 and later, netmaps are configured as
separate objects which allows one netmap to be shared by more than one CDSA.
In Sterling Integrator version 5.0 and later, you can configure a netmap in Sterling Integrator from
the Administration menu by selecting Deployment > Adapter utilities > C:D Netmaps.
From this menu, you can configure:
✦ Connect:Direct Nodes
✦ Connect:Direct Netmaps
✦ Connect:Direct Netmap cross-references (X-REF)
Note: Updates to the netmap are not done dynamically. If you make changes to an existing netmap,
Connect:Direct node, or Connect:Direct netmap cross-reference, you must refresh the configuration
of each CDSA that uses the netmap by opening the adapter’s configuration and re-saving it. In
version 5.1, refreshing a CDSA’s configuration does not affect any active sessions. Click Save to
go to the Confirm page, and then click Finish to update the configuration. Your configuration
changes to netmap members take effect immediately.
Connect:Direct Nodes
Create a Connect:Direct node definition for each remote Connect:Direct node that communicates
with the Sterling Integrator Connect:Direct Server adapter. This is only required for nodes you plan
to connect to and for nodes that connect to the Connect:Direct Server adapter when you have
netmap checking enabled.
Use the following procedure to create a new Connect:Direct node:
1. From the Administration menu, select Deployment > Adapter Utilities > C:D Netmaps > C:D
Nodes.
2. In the Create Nodes pane, click Go!. The Create Nodes page appears.
Connect:Direct Type the node name for the Name that will be used to identify the Connect:Direct
Server Node Name Connect:Direct server. server. Required.
Connect:Direct Type the host name or IP address for host name—Host name associated with the IP
Server Host the Connect:Direct server. address. For example:
host01 (where host01 is a machine on the local
domain)
host01.proddomain.com (fully-qualified host name)
nnn.nnn.nnn.nnn or
nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn—IP
address of a machine running Connect:Direct.
IPV6 is supported for Connect:Direct for UNIX 4.0 and
Connect:Direct for Windows 4.4 or later.
Required.
Connect:Direct Port Type the host port number for the TCP/IP port number that Connect:Direct monitors for
Connect:Direct server. requests from remote nodes. Required.
Note: If Sterling Integrator is installed on a UNIX
operating system, do not select ports in the
range 1-1024. These are normally reserved
by the operating system.
Max locally initiated During testing, set this value to 100 so Maximum number of sessions initiated locally by the
(pnode) sessions that you do not run out of sessions. Connect:Direct Server adapter that may be active at
allowed After testing, enter the estimated any time. Optional. If omitted, the value defined
number of sessions you require. by the Connect:Direct Server adapter is used.
Otherwise, accept the default value of This setting overrides the Max locally initiated (pnode)
5. sessions allowed setting in the Connect:Direct Server
adapter configuration.
Valid value: Any number up to 9999. Minimum value is
1. Default is 5.
For more information on session limits, see How
Sessions for Business Processes Are Established on
page 157.
Max remotely During testing, set this value to 100 so Maximum number of sessions initiated by the remote
initiated (snode) that you do not run out of sessions. node that may be active at any point of time. If
sessions allowed After testing, enter the estimated omitted, the value defined by the Connect:Direct
number of sessions you require. Server adapter is used.
Otherwise, accept the default value of This setting overrides the Max remotely initiated
5. (snode) sessions allowed setting in the Connect:Direct
Server adapter configuration.
Valid value: Any number up to 9999. Minimum value is
1. Default is 5.
Alternate Comm Leave this blank unless the inbound Provides support for establishing netmap-checked
Info Connect:Direct node has more than sessions with high-availability (especially load
one outgoing IP address. balancing) systems with multiple IP addresses, such
If the inbound Connect:Direct node as Connect:Direct/Plex z/OS. Use this parameter to
has more than one outgoing IP list all IP addresses or host names that are part of the
address, specify the IP addresses or multiple IP address environment.
host names in a comma-delimited list For Connect:Direct/Plex, this list should include the
as shown in the Description. address of each Connect:Direct/Server with a different
IP address from the Connect:Direct/Plex Manager.
If a remote node has more than one outgoing IP
address (as in a load balancing environment), specify
all of the remote node’s possible outgoing addresses
in the Alternate Comm Info field so that those outgoing
IP addresses are contained in the local node’s netmap
entry for that remote node. This configuration allows
netmap checking to succeed when the remote node
connects to the local node using any of the possible
outgoing IP addresses specified.
Valid format: hostname1/IP address, hostname2/IP
address, hostname3/IP address (maximum length is
2048 characters)
host name—Host name associated with the IP
address. For example:
host01 (where host01 is a machine on the local
domain)
host01.proddomain.com (fully-qualified host name)
nnn.nnn.nnn.nnn or
nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn—IP
address of a machine running Connect:Direct
IPV6 is supported for Connect:Direct for UNIX 4.0 and
Connect:Direct for Windows 4.4 or later.
Secure+ Option Accept the default setting (Disabled) Valid if Netmap Override=Yes at the Connect:Direct
until you start using Secure+. Server adapter. Indicate if you want to disable or
Files are not encrypted during copy enable encryption. Required.
operations. Valid values are:
Disabled (default)
Enabled
Connect:Direct Netmaps
Once you have defined at least one Connect:Direct node you want to use, you can create a netmap.
When you configure a Connect:Direct Server adapter, you must specify the netmap you want to use
rather than the individual Connect:Direct nodes you want to communicate with. The individual
Connect:Direct nodes are associated with netmaps with cross references. This arrangement is very
flexible and allows you to:
✦ Define each Connect:Direct node one time no matter how many Connect:Direct Server
adapters you have.
✦ Use the same netmap for multiple Connect:Direct Server adapters.
✦ Create specialized netmaps for different Connect:Direct Server adapters.
Use the following procedure to create a new Connect:Direct netmap:
1. From the C:D Netmaps menu, select C:D Netmaps. The C:D Netmaps page appears.
2. In the Create New Netmap pane, click Go!. The Create Netmap page appears.
Netmap Name Type the Connect:Direct netmap Netmap names consist of alphanumeric, dollar ($), dot
name. (.), underscore (_), and dash (–) characters. The
maximum length is 64 characters. Required.
Note: If you maintain multiple Connect:Direct
Server adapters, you can use the same
name for the netmap and Connect:Direct
Server adapter for easier administration.
C:D Netmap Name Select the Connect:Direct netmap Select the Connect:Direct Netmap name. Required.
name that you created in
Connect:Direct Netmaps on page
16.
Note: To enable session establishment retry processing, the value specified for either the number of
long-term or short-term retry attempts must be greater than 0. Both of these adapter-level
settings can be overridden by values specified for in the Connect:Direct Server Begin Session
service for a particular business process.
Note: To enable copy restart processing, session establishment retry processing must be enabled. You
must also configure the Checkpoint Interval in the Connect:Direct Server adapter CopyTo or
CopyFrom service in your business process. For additional information, see How Checkpoint
Restart and Retry Processing Works on page 160.
Caution: When you configure how you want retry processing to work, note that the short-term retry
interval is configured in seconds rather than in minutes used for the long-term retry interval.
For additional information, see How Checkpoint Restart and Retry Processing Works on
page 160.
Connect:Direct Type the node name to use to Maximum 16 characters. This node name must match
Server Node Name identify this Connect:Direct Server the Connect:Direct netmap entry for the Connect:Direct
adapter. Best practice is to use the Server adapter. Required.
same value as the Name field.
Connect:Direct Type the listening port number for TCP/IP port number that Connect:Direct Server adapter
Server Port the Connect:Direct Server adapter. monitors for requests from remote nodes. Required.
Make sure you select a port number Note: If your application is installed on a UNIX
that is not in use by another operating system, do not select ports in the
application. range 1-1024. These are normally reserved
by the operating system.
Max locally initiated During testing, you may want to set Maximum number of sessions initiated locally by the
(pnode) sessions this value to a high number, such as Connect:Direct Server adapter that may be active at any
allowed 100, so that you do not run out of point in time. Required.
sessions. May be overridden at the node level. If a node-level
After testing, enter the estimated value is configured, the effective session limit is the
number of sessions you require. smaller of two values: the limit for the adapter and the
Otherwise, accept the default value session limit for the remote node.
of 5. Valid value: Any number through 9999. Minimum value
If you need to specify session limits is 1. Default is 5.
for each node, set this value at the For more information on session limits, see How
highest anticipated number of total, Sessions for Business Processes Are Established on
locally initiated sessions and then page 157.
specify node limits in the netmap.
Max remotely During testing, you may want to set Maximum number of sessions initiated by all remote
initiated (snode) this value to a high number, such as nodes that may be active at any point in time.
sessions allowed 100, so that you do not run out of Required.
sessions. May be overridden at the node level. If a node-level
After testing, enter the estimated value is configured, the effective session limit is the
number of sessions you required. smaller of two values: the limit for the adapter and the
Otherwise, accept the default value session limit for the remote node.
of 5. Valid value: Any number through 9999. Minimum value
If you need to specify session limits is 1. Default is 5.
for each node, set this value at the
highest anticipated number of total,
remotely initiated sessions and then
specify node limits in the netmap.
NetMap Check For testing purposes, you may find Whether the node netmap should be checked to
it convenient to select the default authorize sessions. Required values are:
(No). After testing, select the value
Check both node name and IP address—Searches
that best serves your network
the Connect:Direct Server adapter network map for
security requirements.
an entry corresponding to the node name of the
remote client. If one exists, the IP address is
obtained and compared to the IP address of the
remote node making the request.
Check node name only—Searches the
Connect:Direct Server adapter network map for an
entry corresponding to the node name of the remote
client.
No (default)—Disables netmap validation.
Number of Valid value: Any number up through Specifies the maximum number of short-term attempts
short-term session 9999. Default is 0. Required. for creating a session with a Connect:Direct node or for
retry attempts Retry activity is logged (if logging re-establishing a session after a session failure during
enabled). COPY processing (both CopyTo and CopyFrom). This
setting can be overridden by the value specified for
For more information on retry
ShortTermMaxRetries in the Connect:Direct Server
processing, see Session
Begin Session service.
Establishment and Process
Recovery. Note: The counter for the number of short-term
session retry attempts is reset to zero when a
session is successfully reestablished.
Interval between Valid value: Any number through Specifies the amount of time, in seconds, to wait
short-term session 99999999. Default is 5. Required. between short-term session establishment and
attempts (seconds) re-establishment attempts. This setting can be
overridden by the value specified for
ShortTermRetryInterval in the Connect Direct Server
Begin Session service.
This parameter performs successive retries within a
shorter period of time than is available with the Interval
between session establishment attempts (minutes)
settings.
Number of Valid value: Any number up to Specifies the maximum number of long-term attempts
long-term session 9999. Default is 0. Required. for creating a session with a Connect:Direct node or for
retry attempts Retry activity is logged (if logging re-establishing a session after a session failure during
enabled). COPY processing (both CopyTo and CopyFrom). This
setting can be overridden by the value specified for
BeginSessionMaxRetries in the Connect:Direct Server
Begin Session service.
Note: The counter for the number of long-term
session retry attempts is reset to zero when a
session is successfully reestablished.
Interval between Any number through 99999999. Specifies the time, in minutes, to wait between
long-term session Required. Default is 1. long-term session establishment and re-establishment
attempts (minutes) attempts. This setting can be overridden by the value
specified for BeginSessionRetryInterval in the Connect
Direct Server Begin Session service.
Encryption using Select the default setting (Disabled) Whether Secure+ is enabled. Required. Valid values are
Secure+ until you start using Secure+. Enabled and Disabled. Default is Disabled.
Your Connect:Direct node must be licensed for Secure+
Option and the Secure+ Option must be installed on
your system. In addition, you must have the required
certificates for implementing Secure+. For information,
see the Connect:Direct documentation for the platform
you are using.
5. On the Confirm page, review your configuration settings, select Enable Service for Business
Processes and click Finish.
This will complete the Connect:Direct Server adapter configuration and start the adapter.
required, and will vary according to the type of Connect:Direct environment. For more information
on the values valid for your Connect:Direct platform, refer to your Connect:Direct documentation.
Parameter Value
Operating System The operating system for your Sterling Integrator system.
Specify UNIX.
being sent to JohnSmith, the Connect:Direct Server adapter would process /mailbox/sample.txt as
if it were specified /mailbox/JohnSmith/sample.txt.
Conversely, if you do not define a virtual root for a user account, documents sent to the user account
are stored in the one and only mailbox directory, provided the user has adequate permission. For
example, if the JohnSmith user account did not have a virtual root defined for it, the sample.txt
document would be stored in the “root” of the mailbox as /mailbox/sample.txt.
Setting Up a Mailbox
Note: You do not create a virtual root for your mailbox in this simple procedure. To set up a mailbox
hierarchy using virtual roots, refer to the Sterling Integrator online documentation.
Use the following procedure to create and configure the Sterling Integrator mailbox:
1. Log in to Sterling Integrator.
2. From the Deployment menu, select Mailboxes > Configuration.
3. On the Mailbox Configuration page, click Go! in the Create a new Mailbox pane.
4. On the Mailbox Name page, highlight the forward-slash in the Select pane.
Note: If you are required to specify a virtual root for your mailbox, highlight the mailbox or mailbox
path in the Select pane for your virtual root.
Connect:Direct
Server Adapter destination Mailbox
le file
Connect:Direct ce fi
sour (SNODE)
Server
(PNODE)
Sterling Integrator
Use the following workflow to copy a file from a Connect:Direct server to a Sterling Integrator
mailbox:
✦ Create Your Connect:Direct Process on page 26
✦ Submit and Monitor Your Connect:Direct Process on page 26
Note: It is assumed that you have already set up the Sterling Integrator mailbox to which the destination
file is being copied. For more information, see Create a Sterling Integrator Mailbox on page 22.
COPY2MB PROCESS
SNODE=yourCDSANode
SNODEID=(yourUserID,yourPassword)
STEP1 COPY
FROM (
FILE=yourSourceFile
)
TO (
FILE=/mailbox/yourMailbox/targetdocName
DISP=RPL
)
PEND
This Connect:Direct process copies yourSourceFile from your Connect:Direct server to the Sterling
Integrator Connect:Direct Server adapter, yourCDSANode, which passes the file in the Sterling
Integrator mailbox, yourMailbox. The SNODEID, yourUserID, is your Sterling Integrator User ID.
There are three parts to the destination FILE name in this Copy step:
✦ /mailbox/ is a reserved word and signals to Sterling Integrator that you are copying to a
Mailbox.
✦ yourMailbox includes the name of your Sterling Integrator Mailbox.
✦ targetdocName is the document that is passed to your mailbox by the Connect:Direct Server
adapter. This document is stored in the mailbox. This document can be retrieved by an FTP
client, business process or another Connect:Direct process.
If the Connect:Direct process is successful, the Select Statistics detail will report the following:
Attribute Value
Message ID SCPA000I
Note: You can also monitor your Connect:Direct process from the Business Process menu by navigating
to Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Connect:Direct
Server Adapter destination
Business Process
le file
Connect:Direct ce fi
sour (SNODE)
Server
(PNODE)
Sterling Integrator
Use the following workflow to copy a file from Connect:Direct to a Sterling Integrator business
process:
✦ Create a Sterling Integrator Business Process on page 30
✦ Check Your Business Process into Sterling Integrator on page 31
✦ Create Your Connect:Direct Process on page 32
✦ Submit and Monitor Your Connect:Direct Process on page 33
All business processes begin with a Start icon and end with an End icon. In this business
process, the Get Documentation Information Service provides information about the primary
document.
8. Configure the Get Document Information Service using the following procedure:
a. Double-click the Get Document Information Service icon. This opens the Service Editor
window.
b. In the Service Editor-Get Documentation Information Service window, select
GetDocumentInfoService from the Config drop-down list.
In this step you specify the pre-defined GetDocumentInfoService configuration for the Get
Document Information Service. You can override configuration values in the Service Editor.
9. From the File menu, select Save. In the Validate dialog box, click Yes to validate the business
process.
10. On the Save dialog box, type the business process file name in the File Name box and click
Save.
Remember where you save this file.
Note: To see a sample business process, refer to Use Connect:Direct to Copy a File to Sterling Integrator
on page 108.
Note: The Sterling Integrator administrator must assign your Sterling Integrator User ID permission to run
this business process.
COPY2SI PROCESS
SNODE=yourCDSANode
SNODEID=(yourUserID,yourPassword)
STEP1 COPY
FROM (
FILE=yourSourceFile
)
TO (
FILE=/businessprocess/yourBusinessProcess/targetdocName
DISP=RPL
)
PEND
This Connect:Direct process copies yourSourceFile from your Connect:Direct server to the Sterling
Integrator Connect:Direct Server adapter, yourCDSANode, which invokes the business process,
yourBusinessProcess. The SNODEID, yourUserID, is your Sterling Integrator User ID. There are
three parts to the destination FILE name in this Copy step:
✦ /businessprocess/ is a reserved word and signals to Sterling Integrator that you are copying to a
business process.
✦ yourBusinessProcess is the name of the Sterling Integrator business process that the
Connect:Direct Server adapter invokes.
✦ targetdocName is the name of the document that is passed to the business process by the
Connect:Direct Server adapter. This document becomes the Primary Document in the
yourBusinessProcess business process. The primary document is the document that the
services in a business process act on or in relation to; this is usually the document passed to a
business process by the initiating adapter.
Sterling Integrator uses a unique document ID to reference and track documents as they flow
through the application. The document ID is assigned by Sterling Integrator. The business
process may reference a document by the document name or the document ID, depending on
the design of the business process.
Attribute Value
Message ID SCPA000I
2. In the Search Using Business Process Name pane, select yourBusinessProcess in the Business
Processes list and click Go!.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
3. Click the ID number to see details about the business process execution.
Label Description
The Process Data page displays process data for the business process. The data is presented in
XML format as shown:
In this example, the Get Document Information Service puts information about the Primary
Document, such as the BodyName and BodyLength, into process data.
Note: You can also monitor your business processes from the Business Process menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Connect:Direct 2. Invoke BP
Server Adapter
DSA 3. Send file Business Process
ec t to C
Connect:Direct onn (SNODE)
1. C
Server file
opy
4. C
(PNODE)
Sterling Integrator
Use the following workflow to pull a file from Sterling Integrator to a Connect:Direct server:
✦ Configure a File System Adapter on page 38
✦ Create a Sterling Integrator Business Process on page 40
✦ Check Your Business Process into Sterling Integrator on page 42
✦ Create Your Connect:Direct Process on page 43
✦ Submit and Monitor Your Connect:Direct Process on page 43
Collection folder Specify the collection folder you The name of the folder or subfolder on the same
created above. computer where Application is installed and where it
collects (or picks up) files as part of a business process. If
the path of the folder is not included as part of the name,
the folder is assumed to be in the Application working
directory.
Filename filter Specify the filter to match the file Collect only files that match a specified filter within the
you created in the collection folder collection folder. Optional.
above. Examples include:
*.txt (collects only .txt files)
*.dat (collects only .dat files)
EDI.* (collects only files named EDI with any file
extension)
EDI.txt (collects only files named EDI with a file
extension of .txt)
Note: If there are multiple files in the collection folder
and you leave this field blank, one of the
following occurs:
If the adapter is configured to start a business
process, it processes all files in the collection folder.
If the adapter is within a business process, it collects
only the first file in the folder.
Collect files from Select No for this scenario so that Whether to scan for files in subfolders of the collection
subfolders within the File System Adapter does not folder. Required.
and including the collect files from subfolders of the Valid values:
collection folder? collection folder.
Yes—Collects files in the specified folder and all
subfolders.
No—Collects files in the specified folder only.
User absolute file Select No for this scenario so that Whether to keep the absolute path name of the files
path name for the the document name does not collected when assigning the document name. Required.
document name? include the path name. Valid values:
Yes—The absolute file path name is kept with the
document in the business process. Choose this value if
your business process requires the path information to
precede the file name.
No—Only the file name is kept with the document in the
business process.
Start a business Select No for this scenario. Whether to start a business process using the File
process once files Since you use the File System System adapter after files are collected. Required.
are collected? Adapter within a business Valid values:
process, there is no need to start Yes—Starts the business process specified from the
another business process. business process drop-down list.
No—No business process will be started.
Extraction folder Select No for this scenario. The name of the folder or subfolder on the same
The File System Adapter collects computer where Application is installed and where it
a file, but does not write (extract) installs (or writes) data from the primary document as part
a file in this scenario. of a business process. If you do not include the file path
for the folder as part of the name, the folder is assumed to
be in the Application working directory. Required.
c. Click the arrow on the right side of the CD Server BP Response Service icon and drag it to
the arrow on the left side of the End icon.
10. Configure the CD Server BP Response Service using the following procedure:
a. Double-click the CD Server BP Response Service icon.
This opens the Service Editor window.
b. In the Service Editor-CD Server BP Response Service window, select
CDServerBPResponse from the Config drop-down list.
In this step you specify the pre-defined CDServerBPResponse configuration for the CD
Server BP Response Service. You can override configuration values in the Service Editor.
11. From the File menu, select Save. In the Validate dialog box, click Yes to validate the business
process.
12. On the Save dialog box, type the name of your business process in the File Name box and
click Save.
Remember where you save this file.
Note: To see a sample business process, refer to Use Connect:Direct to Retrieve a File from Sterling
Integrator on page 109.
PULLFILE PROCESS
SNODE=yourCDSANode
SNODEID=(yourUserID,yourPassword)
STEP1 COPY
FROM (
FILE=/businessprocess/yourBusinessProcess/yourSourceFile
SNODE
)
TO (
FILE=targetdocName
PNODE
DISP=RPL
)
PEND
This Connect:Direct process retrieves yourSourceFile from the Sterling Integrator Connect:Direct
Server adapter which receives the file from your business process. There are three parts to the
FROM FILE name in the Copy step:
✦ /businessprocess/ is a reserved word and signals to Sterling Integrator that you are invoking a
business process.
✦ yourBusinessProcess is the name of the Sterling Integrator business process that the
Connect:Direct Server adapter invokes.
✦ targetdocName is the name of the document that is passed from the Sterling Integrator
Connect:Direct Server adapter to your Connect:Direct node. This document is the Primary
Document in your business process.
Attribute Value
Message ID SCPA000I
Attribute Value
Label Description
Status Status of the business process—a green traffic light signals a successful execution
Label Description
4. Click the Document info link for the Connect:Direct Server Response Service.
The PrimaryDocument page displays the contents of the primary document.
5. Close the PrimaryDocument page.
Note: You can also monitor your business processes from the Business Process menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Connect:Direct
Server Adapter source file
Business Process
Connect:Direct ation
in
dest le
(PNODE)
Server fi
(SNODE)
Sterling Integrator
Use the following workflow to copy a file from Sterling Integrator to a Connect:Direct server:
✦ Create a Sterling Integrator Business Process on page 47
✦ Check Your Business Process into Sterling Integrator on page 51
✦ Submit and Monitor Your Sterling Integrator Business Process on page 52
1. Log in to Sterling Integrator and launch the Graphical Process Modeler from the Home screen.
2. Enter your Sterling Integrator User ID and password in the Log In dialog box.
3. If the BPML stencil is not visible in the GPM, navigate to the View menu and select Stencil >
BPML.
This will add the BPML stencil to the GPM.
4. From the View menu, select Stencil > Applications > Sterling Commerce > Connect:Direct.
This will add the Connect:Direct stencil to the GPM.
5. From the File menu, select New to open a new business process.
6. Drag and drop the following icons from the BPML and Connect:Direct stencils into the
Business Process window in the following order, from left to right:
Start
CD Server Begin Session Service
CD Server CopyTo Service
CD Server End Session Service
End
7. To link the icons:
a. Click the arrow on the right side of the Start icon and drag it to the arrow on the left side of
the CD Server Begin Session Service icon.
b. Click the arrow on the right side of the CD Server Begin Session Service icon and drag it
to the arrow on the left side of the CD Server CopyTo Service icon.
c. Click the arrow on the right side of the CD Server CopyTo Service icon and drag it to the
arrow on the left side of the CD Server End Session Service icon.
d. Click the arrow on the right side of the CD Server End Session Service icon and drag it to
the arrow on the left side of the End icon.
8. Configure the CD Server Begin Session Service using the following procedure:
a. Double-click the CD Server Begin Session Service icon.
The CD Server Begin Session Service functions like the Connect:Direct Process
statement. It initiates a session on a specified remote Connect:Direct node.
Note: You must add the Connect:Direct User ID to your Connect:Direct User Authorities.
f. Type the password for the Connect:Direct User ID as the Value for RemotePasswd.
g. Select No as the Value for UsingObscuredPasswd.
12. Configure the CD Server CopyTo Service using the following procedure:
a. Double-click the CD Server CopyTo Service icon. This opens the Service Editor window.
The CD Server CopyTo Service functions like the Connect:Direct Copy statement. It
copies a file from the PNODE to the SNODE.
b. In the Service Editor-CD Server CopyTo Service window, select CDServerCopyTo from
the Config drop-down list.
In this step you specify the pre-defined CDServerCopyTo configuration to use for the CD
Server CopyTo Service. You can override configuration values in the Service Editor.
Note: To see all parameters available in the CopyTo service, see Settings for Connect:Direct
Server CopyTo Service on page 139.
Note: Sample Business Processes on page 107, contains the following examples involving the basic
scenario of copying a file to a remote Connect:Direct server from Sterling Integrator:
✦ Use Sterling Integrator to Copy a File to a Connect:Direct for z/OS Node on page 111
✦ Use Sterling Integrator to Copy a File to a Connect:Direct for Windows Node on page 113
✦ Use Sterling Integrator to Copy a File to a Connect:Direct for UNIX Node on page 115
✦ Use Sterling Integrator to Copy a File to a Connect:Direct HP NonStop Node on page 117
✦ Use Sterling Integrator to Copy a File to a Connect:Direct for i5/OS Node on page 120
✦ Use Sterling Integrator to Copy a File to Connect:Direct for z/OS (Advanced) on page 134
If Sterling Integrator stops responding during a copy transaction and the recovery level is set
to Auto Resume, the business process resumes automatically at the next Sterling Integrator
start up.
12. On the Deadline Settings page, click Next.
13. On the Life Span page, click Next.
14. On the Confirm page, select the Enable Business Process box.
15. Click Finish.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
Label Description
4. Click the Status Report link for the Connect:Direct Server Primitive CopyTo Service.
The Status Report displays a short summary of the CopyTo operation including the destination
file name and number of bytes copied.
5. Click the Document info link for the Connect:Direct Server Primitive CopyTo Service.
The PrimaryDocument page displays the contents of the Primary Document.
6. Close the PrimaryDocument page.
7. From the Business Process Detail page, click the Instance Data info link for the
Connect:Direct Server Primitive CopyTo Service.
The Process Data page displays process data for the business process. The data is presented in
XML format and contains several fields and values, such as:
Remote Node—node name of the remote Connect:Direct server
Remote User—Connect:Direct User ID
Remote File Name—your destination file
8. The last step in the Business process Detail page is the CD Server End Session Service. The
Status indicates that it successfully terminates the Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Attribute Value
Message ID SCPA000I
Connect:Direct invokes
ects Server Adapter
Connect:Direct conn file Business Process
PNODE
Server file
SNODE
Sterling Integrator
Use the following workflow to copy a file from Sterling Integrator to a Connect:Direct server:
✦ Create a Sterling Integrator Business Process on page 55
✦ Check Your Business Process into Sterling Integrator on page 59
✦ Submit and Monitor Your Sterling Integrator Business Process on page 60
1. Log in to Sterling Integrator and launch the Graphical Process Modeler from the Home screen.
2. Enter your Sterling Integrator User ID and password in the Log In dialog box.
3. If the BPML stencil is not visible in the GPM, navigate to the View menu and select Stencil >
BPML.
This will add the BPML stencil to the GPM.
4. From the View menu, select Stencil > Applications > Sterling Commerce > Connect:Direct.
This will add the Connect:Direct stencil to the GPM.
5. From the File menu, select New to open a new business process.
6. Drag and drop the following icons from the BPML and Connect:Direct stencils into the
Business Process window in the following order, from left to right:
Start
CD Server Begin Session Service
CD Server CopyFrom Service
CD Server End Session Service
End
7. To link the icons:
a. Click the arrow on the right side of the Start icon and drag it to the arrow on the left side of
the CD Server Begin Session Service icon.
b. Click the arrow on the right side of the CD Server Begin Session Service icon and drag it
to the arrow on the left side of the CD Server CopyFrom Service icon.
c. Click the arrow on the right side of the CD Server CopyFrom Service icon and drag it to
the arrow on the left side of the CD Server End Session Service icon.
d. Click the arrow on the right side of the CD Server End Session Service icon and drag it to
the arrow on the left side of the End icon.
8. Configure the CD Server Begin Session Service using the following procedure:
a. Double-click the CD Server Begin Session Service icon.
The CD Server Begin Session Service functions like the Connect:Direct Process
statement. It initiates a session on a specified remote Connect:Direct node.
Note: You must add the Connect:Direct User ID to your Connect:Direct User Authorities.
f. Type the password for the Connect:Direct User ID as the Value for RemotePasswd.
g. Select No as the Value for UsingObscuredPasswd.
12. Configure the CD Server CopyFrom Service using the following procedure:
a. Double-click the CD Server CopyFrom Service icon. This opens the Service Editor
window.
The CD Server CopyFrom Service functions like the Connect:Direct Copy statement. It
copies a file from the SNODE to the PNODE.
b. In the Service Editor-CD Server CopyFrom Service window, select CDServerCopyFrom
from the Config drop-down list.
In this step you specify the pre-defined CDServerCopyFrom configuration to use for the
CD Server CopyFrom Service. You can override configuration values in the Service
Editor.
c. Type the source file name as the Value for RemoteFileName.
This file must reside on the file system of the Connect:Direct node.
d. Type //BeginSessionResults/SessionToken/node() as the Value for SessionToken and
select the Use XPATH? box.
The Session Token is created by the CD Server Begin Session Service and identifies the
session that is established with the remote Connect:Direct node. The SessionToken value
in the CD Server CopyFrom Service ensures that this service copies the file using the
session initiated by the CD Server Begin Session Service.
13. Configure the CD Server End Session Service using the following procedure:
a. Double-click the CD Server End Session Service icon.
The CD Server End Session Service functions like the Connect:Direct Pend statement
used on the Windows and UNIX platforms. It terminates the session with the remote
Connect:Direct node. If the CD Server End Session does not execute, the session remains
open.
Note: To see a sample business process, refer to Use Sterling Integrator to Copy a File from
Connect:Direct on page 122.
14. On the Confirm page, select the Enable Business Process box.
15. Click Finish.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
Label Description
Label Description
4. Click the Status Report link for the Connect:Direct Server Primitive CopyFrom Service.
The Status Report displays a short summary of the CopyFrom operation including the source
file name and number of bytes copied.
5. Click the Document info link for the Connect:Direct Server Primitive CopyFrom Service.
The PrimaryDocument page displays the contents of the Primary Document.
6. Close the PrimaryDocument page.
7. From the Business Process Detail page, click the Instance Data info link for the
Connect:Direct Server Primitive CopyFrom Service.
The Process Data page displays process data for the business process. The data is presented in
XML format and contains several fields and values, such as:
Remote Node—node name of the remote Connect:Direct server
Remote User—Connect:Direct User ID
Remote File Name—your source file
8. The last step in the Business process Detail page is the CD Server End Session Service. The
Status indicates that it successfully terminates the Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
If the Connect:Direct process is successful, the Select Statistics detail will report the following:
Attribute Value
Message ID SCPA000I
d. Click the arrow on the right side of the OnFault Start icon and drag it to the arrow on the
left side of the CD Server End Session Service icon.
e. Click the arrow on the right side of the CD Server End Session Service icon and drag it to
the arrow on the left side of the OnFault End icon.
Note: To see a sample business process, refer to Add Error Handling to the Business Process on page 124.
7. Type a short description of the business process changes in the Description box and click
Next.
8. On the Process Levels page, select the Set onfault processing check box.
9. Set the Persistence Level to Full.
10. Set the Event Reporting Level to Full.
11. Set the Recovery Level to Auto Resume and click Next.
If Sterling Integrator stops responding during a copy transaction and the recovery level is set
to Auto Resume, the business process resumes automatically at the next Sterling Integrator
start up.
12. On the Deadline Settings page, click Next.
13. On the Life Span page, click Next.
14. On the Set Default Version page, select the updated version of the business process.
15. On the Confirm page, select the Enable Business Process box.
16. Click Finish.
6. Click Browse and navigate to your source file on your local system and click Open.
7. Click Go! to submit your business process. The Execute Business Process page is displayed.
8. Close the Execute Business Process page.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
3. Click the ID number to see details about the business process execution.
The Business Process Detail page displays the following information for each step:
Label Description
4. Check the Status and Advanced Status for the Connect:Direct Server CopyTo Service.
The CopyTo service generates an error and reports Check the file permissions or path on
Remote Connect:Direct.
5. The next step in the Business Process Detail is the Decision Engine Service.
This step is invoked by the error handling of the OnFault Group in the business process. The
Status for this step indicates that the Decision Engine Service is successfully able to invoke the
OnFault error handling.
6. The last step in the Business Process Detail is the CD Server End Session Service.
The Status for this step indicates that it successfully closes the Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Attribute Value
Note: You can use the Sterling Certificate Wizard to generate certificate signing requests, self-signed
certificates, key certificate files and certificate chains. The online help in the Sterling
Certificate Wizard product will step you through the process.
✦ You have configured the local and remote nodes for Connect:Direct Secure+ Option following
the instructions specific to the platform you are using. After submitting the parameters file and
preparing Connect:Direct for operation, you have validated and tested connections between
you and your business partners to establish secure communications and then tested to make
sure you can change your security defaults for a session.
Use the following workflow to implement Secure+ Option:
✦ Configure Secure+ Option in Sterling Integrator on page 72
✦ Copy a File Using Connect:Direct Secure+ Option on page 75
✦ Copy a File Using Your Sterling Integrator Business Process on page 76
Note: You can use a self-signed certificate that you create in Sterling Integrator or Certificate
Wizard as your system certificate for testing purposes. Self-signed certificates are not
recommended for production use.
1. From the Trading Partner menu, select Digital Certificates > System.
2. In the Check in pane, click Go! for Key Certificate.
3. On the Key Certificate Data page, type a descriptive name in the Certificate Name box.
4. In the Private Key Password box, type the passphrase associated with the Sterling Integrator
Connect:Direct Server adapter private key.
You created this passphrase when you generated your CSR.
5. Click Browse and navigate to the private key file.
6. On the Choose File dialog box, click Open. The dialog box closes and you return to the Key
Certificate Data page.
7. Click Next to advance to the Validate When Used page.
8. Click Next to advance to the Confirm Page.
9. Click Finish.
Note: If you plan to configure different Secure+ settings for individual nodes, you might need to check in
additional CA certificates and Key Certificate files.
Encryption using Enabled. Whether Secure+ is enabled. Required. Valid values are
Secure+ Enabled and Disabled. Default is Disabled.
Enable Netmap Node Select Yes for this scenario. If Yes, specifies that remote node netmap security settings
Override Configure Secure+ at the override the adapter security settings. Required. Valid values
adapter level and allow node are Yes and No. Default is No.
level settings to override the
adapter Secure+ settings.
CA Certificates Select the CA certificate you Drop-down menu that contains a list of trusted Certificate
checked in above. Authority public certificates. Only displayed if "Encryption
This is the CA root certificate using Secure+" is enabled. Required if Encryption using
for the Connect:Direct server. Secure+ is enabled. Valid values are all CA certificates in this
installation of your application.
System Certificate Select the System certificate List of private keys and public certificates signed by the
you checked in above. trading partner trusted certificate authority. This represents
This is the certificate for the the certificate for the local node (this adapter). Only displayed
Connect:Direct Server if Encryption using Secure+ is enabled. Required if
adapter node. Encryption using Secure+ is enabled. Valid values are all
system certificates in this installation of your application.
Certificate Common If you want to verify the Value to be compared with the Common Name (CN) field
Name Common Name of the from the remote node's certificate during TLS/SSL
Connect:Direct CA handshake in order to enhance certificate authentication.
certificate, specify it here. Only displayed if Encryption using Secure+ is enabled. May
This feature is only available be overridden at the node level.
if you use signed certificates. Note: To see the actual CNs being compared during the
Coordinate this with the handshake, set the Perimeter Services logging level to ALL.
remote Connect:Direct
administrator.
Cipher Suites Select which cipher suites Indicates cipher suites available to support varying
you wish to use. encryption levels. Multiple selections allowed. Selections can
Coordinate this list with the be rank ordered. Only displayed if "Encryption using
remote Connect:Direct Secure+" is enabled. Required if "Encryption using Secure+"
administrator. is enabled. Valid values are all available cipher suites in this
installation of your application.
Best practice is to list cipher
suites in strongest to weakest
order.
SSL or TLS Select SSL or TLS. Indicates if Secure+ is enabled using SSL or TLS. Only
Coordinate this choice with displayed if "Encryption using Secure+" is enabled. Required
the remote Connect:Direct if "Encryption using Secure+" is enabled. Valid values are
administrator. SSL and TLS. Default is SSL.
Require Client Select Yes or No for client Indicates whether authentication occurs at the client level.
Authentication authentication. Valid values are:
Coordinate this choice with Yes
the Connect:Direct No
administrator.
Note: You must select Enable Netmap Node Override for the Connect:Direct Server adapter to use this
option.
1. From the Deployment menu, select Adapter Utilities > C:D Netmaps > C:D Nodes.
2. To select an existing Connect:Direct Node, use the Search or List pane to display and select
the Node, and click Go!.
3. Select edit next to the node name on the C:D Nodes page.
4. Do one of the following:
To disable Secure+ encryption for this node, select the Secure+ Option Disabled button.
To modify Secure+ encryption for this node, select the Secure+ Option Enabled button,
and click Next. Edit the fields you want to override using information in the following
table:
CA Certificates Select the CA root certificate Drop-down menu that contains a list of trusted Certificate
you checked in above for the Authority public certificates. Only displayed if "Encryption
Connect:Direct server. using Secure+" is enabled. Required if Encryption using
Secure+ is enabled. Valid values are all CA certificates in this
installation of your application.
System Certificate Select the System certificate List of private keys and public certificates signed by the
you checked in above for the trading partner trusted certificate authority. This represents
Connect:Direct Server the certificate for the local node (this adapter). Only displayed
adapter node. if Encryption using Secure+ is enabled. Required if
Encryption using Secure+ is enabled. Valid values are all
system certificates in this installation of your application.
Certificate Common If you want to verify the Value to be compared with the Common Name (CN) field
Name Common Name of the from the remote node's certificate during TLS/SSL
Connect:Direct CA handshake in order to enhance certificate authentication.
certificate, specify it here. Only displayed if Encryption using Secure+ is enabled. May
This feature is only available be overridden at the node level.
if you use signed certificates. Note: To see the actual CNs being compared during the
Coordinate this with the handshake, set the Perimeter Services logging level to ALL.
remote Connect:Direct
administrator.
Cipher Suites Select which cipher suites Indicates cipher suites available to support varying
you wish to use. encryption levels. Multiple selections allowed. Selections can
Coordinate this list with the be rank ordered. Only displayed if "Encryption using
remote Connect:Direct Secure+" is enabled. Required if "Encryption using Secure+"
administrator. is enabled. Valid values are all available cipher suites in this
installation of your application.
Best practice is to list cipher
suites in strongest to weakest
order.
SSL or TLS Select SSL or TLS. Indicates if Secure+ is enabled using SSL or TLS. Only
Coordinate this choice with displayed if "Encryption using Secure+" is enabled. Required
the remote Connect:Direct if "Encryption using Secure+" is enabled. Valid values are
administrator. SSL and TLS. Default is SSL.
Require Client Select Yes or No for client Indicates whether authentication occurs at the client level.
Authentication authentication. Valid values are:
Coordinate this choice with Yes
the Connect:Direct No
administrator.
Use the following workflow to submit a Connect:Direct process with Sterling Integrator:
✦ Create Connect:Direct Process on page 77
✦ Check Out the Business Process on page 78
✦ Edit the Business Process on page 78
✦ Check In Your Business Process on page 80
✦ Submit and Monitor Your Sterling Integrator Business Process on page 80
COPY2ZOS PROCESS
SNODE=RemoteNode
STEP1 COPY
FROM (
FILE=sourceFile
)
TO (
FILE=destinationFile
DISP=RPL
)
PEND
4. From the File menu, select Open, navigate to the CopyToCD.bp file and click Open.
5. Drag and drop the CD Server Submit Service icon from the Connect:Direct stencil into the
Business Process window.
6. To arrange and link the icons:
a. Click the link between the CD Server CopyTo Service icon and CD Server End Session
Service icon and press Delete to remove the link.
b. Place the CD Server Submit Service icon between the CD Server CopyTo Service icon
and the CD Server End Session Service icon.
c. Click the arrow on the right side of the CD Server CopyTo Service icon and drag it to the
arrow on the left side of the CD Server Submit Service icon.
d. Click the arrow on the right side of the CD Server Submit Service icon and drag it to the
arrow on the left side of the CD Server End Session Service icon.
Note: To see a sample business process, refer to Use Sterling Integrator to Submit a Connect:Direct
Process on page 126.
6. Click Browse and navigate to your source file on your local system and click Open.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
3. Click the ID number to see details about the business process execution.
The Business Process Detail page displays the following information for each step:
Label Description
4. The Status for the Connect:Direct Server Submit Service is Success. This indicates only that
the Connect:Direct process was successfully submitted. It does not provide a completion status
for the process. You must use the Connect:Direct Statistics to verify completion status for the
process.
5. The last step in the Business Process Detail is the CD Server End Session Service. The Status
for this step indicates that it successfully closes the Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
If the Connect:Direct process is successfully submitted, the Select Statistics detail will indicate this
and show information similar to the following:
Attribute Value
If the Connect:Direct process completes successfully, the Select Statistics will indicate this and
show information similar to the following:
Attribute Value
Use the following workflow to start a Connect:Direct Run Job from Sterling Integrator:
✦ Check Out the Business Process on page 85
✦ Edit the Business Process on page 86
✦ Check In Your Business Process on page 87
✦ Submit and Monitor Your Sterling Integrator Business Process on page 88
7. In the File Download dialog box, click Save to save a copy of the business process to your
local file system.
8. In the Save As dialog box, navigate to the directory where you want to save the business
process, type the business process file name in the File name box, and click Save.
7. Configure the CD Server Run Job Service using the following procedure:
a. Double-click the CD Server Run Job Service icon. This opens the Service Editor window.
The CD Server Run Job Service acts like a Run Job statement in a Connect:Direct process.
Use this service to start a Connect:Direct Run Job on a remote Connect:Direct server.
b. In the Service Editor-CD Server Run Job Service window, select CDServerRunJob from
the Config drop-down list.
In this step you specify the pre-defined CDServerRunJob configuration to use for the CD
Server Run Job Service. You can override configuration values in the Service Editor.
c. Type pgm(path/filename) desktop(yes) as the Value for Sysopts, where path is the full
directory path and filename is the file name of the program or script you wish to run in the
Run Job.
d. Type //BeginSessionResults/SessionToken/node() as the Value for SessionToken and
select the Use XPATH? box.
The SessionToken value in the CD Server Run Job Service ensures that this service starts
the Connect:Direct Run Job using the session initiated by the CD Server Begin Session
Service.
8. From the File menu, select Save. In the Validate dialog box, click Yes to validate the business
process.
9. On the Save dialog box, type the business process name in the File Name box and click Save.
Remember where you save this file.
Note: To see a sample business process, refer to Use Sterling Integrator to Start a Connect:Direct Run Job
on page 128.
11. Set the Recovery Level to Auto Resume and click Next.
If Sterling Integrator stops responding during a copy transaction and the recovery level is set
to Auto Resume, the business process resumes automatically at the next Sterling Integrator
start up.
12. On the Deadline Settings page, click Next.
13. On the Life Span page, click Next.
14. On the Set Default Version page, select the updated version of the business process.
15. On the Confirm page, select the Enable Business Process box.
16. Click Finish.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
Label Description
4. The Status for the Connect:Direct Server Run Job Service is Success. This indicates only that
the Connect:Direct Run Job successfully started. It does not provide a completion status for
the application invoked by the Run Job.
5. The last step in the Business Process Detail is the CD Server End Session Service. The Status
for this step indicates that it successfully closes the Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
Attribute Value
Use the following workflow to start a Connect:Direct Run Task from Sterling Integrator:
✦ Check Out the Business Process on page 91
✦ Edit the Business Process on page 92
✦ Check In Your Business Process on page 93
✦ Submit and Monitor Your Sterling Integrator Business Process on page 94
7. Configure the CD Server Run Task Service using the following procedure:
a. Double-click the CD Server Run Task Service icon. This opens the Service Editor
window.
The CD Server Run Task Service acts like a Run Task statement in a Connect:Direct
process. Use this service to start a Connect:Direct Run Task on a remote Connect:Direct
server and wait for it to complete before executing the next service in a business process.
b. In the Service Editor-CD Server Run Task Service window, select CDServerRunTask
from the Config drop-down list.
In this step you specify the pre-defined CDServerRunTask configuration to use for the CD
Server Run Task Service. You can override configuration values in the Service Editor.
c. Type pgm(path/filename) desktop(yes) as the Value for SystemOpts, where path is the full
directory path and filename is the file name of the program or script you wish to run in the
Run Task. (SystemOpts is the equivalent of Sysopts.)
Note: Do not enclose the value specified for SystemOpts in double quotes.
Note: To see a sample business process, refer to Use Sterling Integrator to Start a Connect:Direct Run
Task on page 130. To see a more complex example involving Connect:Direct for z/OS, see Use
Sterling Integrator to Copy a File to Connect:Direct for z/OS (Advanced) on page 134.
7. Type a short description of your business process in the Description box and click Next.
8. On the Process Levels page, select the Set onfault processing check box.
9. Set the Persistence Level to Full.
10. Set the Event Reporting Level to Full.
11. Set the Recovery Level to Auto Resume and click Next.
If Sterling Integrator stops responding during a copy transaction and the recovery level is set
to Auto Resume, the business process resumes automatically at the next Sterling Integrator
start up.
12. On the Deadline Settings page, click Next.
13. On the Life Span page, click Next.
14. On the Set Default Version page, select the updated version of the business process.
15. On the Confirm page, select the Enable Business Process box.
16. Click Finish.
6. Click Browse and navigate to the source file on your local system and click Open.
7. Click Go! to submit the business process. The Execute Business Process page is displayed.
8. Close the Execute Business Process page.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
3. Click the ID number to see details about the business process execution.
The Business Process Detail page displays the following information for each step:
Label Description
The Status for the Connect:Direct Server Run Task Service is not reported until the application
or script completes. The Business Process Detail screen shows that the Connect:Direct Server
Run Task Service is In progress...
4. When you close the application or script, The CD Server Run Task Service completes and the
last step in the business process, the CD Server End Session Service, terminates the
Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
If the Connect:Direct Run Task completes successfully, the Select Statistics detail will indicate this
and show information similar to the following:
Attribute Value
Use the following workflow to hide the Connect:Direct password in the business process:
✦ Configure the Obscure Data - Process Data Values Service on page 99
✦ Check Out the Business Process on page 100
✦ Edit the Business Process on page 100
✦ Check In Your Business Process on page 101
✦ Submit and Monitor Your Sterling Integrator Business Process on page 102
Note: Alternately, you can navigate to Obscure Data - Process Data Values by clicking one of the
navigation buttons next to the Service Type box.
8. In the first Parameter Value box, type the password for the Connect:Direct User ID and click
Next.
9. On the Confirm page, click Finish.
7. Configure the Obscure Data - Process Data Values using the following procedure:
a. Double-click the Obscure Data - Process Data Values icon. This opens the Service Editor
window.
b. In the Service Editor-Obscure Data - Process Data Values window, select
CDClientObscureParameter from the Config drop-down list.
In this step you specify the CDClientObscureParameter configuration to use for the
Obscure Data - Process Data Values. You can override configuration values in the Service
Editor.
8. Edit the CD Server Begin Session Service using the following procedure:
a. Double-click the CD Server Begin Session Service icon.
b. Select Yes as the Value for UsingObscuredPasswd.
c. Type CDUserID/text( ) as the Value for the RemotePasswd and select the Use XPATH?
box. CDUserID is the Connect:Direct User ID.
9. From the File menu, select Save. In the Validate dialog box, click Yes to validate the business
process.
10. On the Save dialog box, type your business process file name in the File Name box and click
Save.
Remember where you save this file.
Note: To see a sample business process, refer to Hide the Connect:Direct Password in the Business
Process on page 132.
6. Click Browse and navigate to the source file on your local system and click Open.
Label Description
Status Status of the business process—a green traffic light signals a successful execution
Label Description
4. The Status for the Connect:Direct Server Run Task Service is not reported until the application
or script completes. The Business Process Detail screen shows that the Connect:Direct Server
Run Task Service is In progress...
5. When you close the application or script, The CD Server Run Task Service completes and the
last step in the business process, the CD Server End Session Service, terminates the
Connect:Direct session.
Note: You can also monitor your business processes from the Business Processes menu by navigating to
Monitor > Advanced Search > Documents or Monitor > Advanced Search > Communication
Sessions.
If the Connect:Direct Run Task completes successfully, the Select Statistics detail will indicate this
and show information similar to the following:
Attribute Value
CDSAMPLE PROCESS
SNODE=SI50
SNODEID=(myUserID,myPassword)
STEP1 COPY
FROM (
FILE=C:\orders.txt
)
TO (
FILE=/businessprocess/ReceiveFromCD/daily.txt
DISP=RPL
)
PEND
In the Sterling Integrator ReceiveFromCD business process, shown in BPML, the Get Document
Information Service obtains file information about the primary document and places it into process
data. You can add additional services to this business process to perform operations such as
translating the file or copying the file to another server using FTP.
Note: The Sterling Integrator Graphical Process Modeler (GPM) is used as the primary means to perform most of
the common user tasks described in the User Guide. To see BPML source code like the example shown below,
select View > Source while using the GPM. To see the business process as depicted in the GPM user interface,
select View > Graph.
</process>
CDSAMPLE PROCESS
SNODE=SI50
SNODEID=(myUserID,myPassword)
STEP1 COPY
FROM (
FILE=/businessprocess/RespondToCD/sample.txt
)
TO (
FILE=C:\orders.txt
DISP=RPL
)
PEND
In the RespondToCD business process, shown in BPML, the business process retrieves a file, passes
this file to the Connect:Direct Server adapter, and sends the file back to the Connect:Direct node.
The business process functions much like a Connect:Direct process.
In the first operation of the RespondToCD business process, the File System Adapter collects
(reads) the daily.txt file from the Sterling Integrator local file system. This file becomes the primary
document of the business process.
In the next operation of the business process, the CD Server BP Response Service passes the
primary document back to the Connect:Direct node (PNODE).
Note: The Sterling Integrator Graphical Process Modeler (GPM) is used as the primary means to perform most of
the common user tasks described in the User Guide. To see BPML source code like the example shown below,
select View > Source while using the GPM. To see the business process as depicted in the GPM user interface,
select View > Graph.
</sequence>
</process>
<process name="CopyToCDMainframeNode">
<sequence>
</sequence>
</process>
Note: The Sterling Integrator Graphical Process Modeler (GPM) is used as the primary means to perform most of
the common user tasks described in the User Guide. To see BPML source code like the example shown below,
select View > Source while using the GPM. To see the business process as depicted in the GPM user interface,
select View > Graph.
<process name="CopyToCDWin">
<sequence>
<process name="CopyToCDUX">
<sequence>
<process name="CopyToCDHPNonStop">
<sequence>
<process name="CopyToCDi5OS">
<sequence>
<process name="CopyFromCD">
<sequence>
</sequence>
</process>
<process name="CopyToCD">
<sequence>
<operation name="File System Adapter">
<participant name="CollectForCD"/>
<output message="FileSystemInputMessage">
<assign to="Action">FS_COLLECT</assign>
<assign to="filter">daily.txt</assign>
<assign to="collectionFolder">C:\Collection</assign>
<assign to="deleteAfterCollect">false</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<sequence>
<operation name="CD Server CopyTo Service">
<participant name="CDServerCopyTo"/>
<output message="CDServerCopyToServiceTypeInputMessage">
<assign to="RemoteFileName">cd.txt</assign>
<assign to="SessionToken"
from="//BeginSessionResults/SessionToken/node()"></assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</operation>
<onFault>
<operation name="CD Server End Session Service">
<participant name="CDServerEndSession"/>
<output message="CDServerEndSessionServiceTypeInputMessage">
<assign to="SessionToken"
from="//BeginSessionResults/SessionToken/node()"></assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</onFault>
</sequence>
</sequence>
</process>
<process name="CopyToCD_Submit">
<sequence>
</onFault>
</sequence>
</sequence>
</process>
<process name="CopyToCD_RunJob">
<sequence>
</onFault>
</sequence>
</sequence>
</process>
<process name="CopyToCD_RunTask">
<sequence>
</onFault>
</sequence>
</sequence>
</process>
<process name="CopyToCD_HidePassword">
<sequence>
<operation name="File System Adapter">
<participant name="CollectForCD"/>
<output message="FileSystemInputMessage">
<assign to="Action">FS_COLLECT</assign>
<assign to="filter">daily.txt</assign>
<assign to="collectionFolder">C:\Collection</assign>
<assign to="deleteAfterCollect">false</assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<onFault>
<operation name="CD Server End Session Service">
<participant name="CDServerEndSession"/>
<output message="CDServerEndSessionServiceTypeInputMessage">
<assign to="SessionToken"
from="//BeginSessionResults/SessionToken/node()"></assign>
<assign to="." from="*"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</onFault>
</sequence>
</sequence>
</process>
Also, do not enclose the value specified for SystemOpts in double quotes.
Operation 4 uses the CD Server CopyTo Service to copy the primary document to the remote
Connect:Direct for z/OS node. The CopyTo Service allocates an SMS managed file on z/OS with
the following Remote parms:
✦ RemoteSMS—SMS parms passed to z/OS for allocation. This parm specifies that the z/OS
system allocates this file with a DATACLAS of CSGWORK, STORCLAS of BENCH,
MGMTCLAS of STANDARD, and uses kilobytes (K) as the allocation unit (AVGREC)
✦ RemoteDISP— the disposition of the new file.
✦ RemoteFileName—the name of the destination z/OS dataset.
✦ RemoteSPACE—defines the space requirements for the allocation.
Operation 5 uses the CD Server Run Task Service to execute the DMRTDYN utility program to
perform the following functions:
✦ Allocate a file on the z/OS system with a DDname of OLDDD to be used as a basis for
comparison to the output file
✦ Allocate the output file from the previous step with a DDname of NEWDD for a comparison.
✦ Allocate an output DD called OUTDD that holds the output report file for the Compare step
instead of an actual file.
Operation 6 uses the CD Server Run Task Service to execute the ISRSUPC program, a compare
utility. The ISRSUPC program compares the file allocated to OLDDD and the file allocated to
NEWDD using the parms in the Sysopts. The results are written to the OUTDD.
Operation 7 uses the CD Server Run Task Service to execute DMRTDYN to deallocate OLDDD,
NEWDD and OUTDD.
Operation 8 uses the CD Server End Session Service to terminate the session with the
Connect:Direct server after the business process has executed successfully. To accommodate error
processing, Operation 9 contains an onFault branch with its own instance of the CD Server End
Session Service. If an error occurs after the Begin Session Service, the onFault logic is invoked and
the End Session Service terminates the session with the Connect:Direct server.
Note: The Sterling Integrator Graphical Process Modeler (GPM) is used as the primary means to perform most of
the common user tasks described in the User Guide. To see BPML source code like the example shown below,
select View > Source while using the GPM. To see the business process as depicted in the GPM user interface,
select View > Graph.
<process name="CopyTOCDzOS">
<onFault>
</onFault>
</sequence>
</process>
Copy Options
Copy Options
There are many copy options available when you use the Connect:Direct Server CopyTo Service.
When you using the Sterling Integrator Connect:Direct Server adapter to copy a file to a remote
Connect:Direct server, coordinate the copy options with the Connect:Direct administrator.
BinaryMode Specifies how the data from the source file on Yes—All platforms
the local Connect:Direct Server adapter node No—All platforms
will be transferred to the remote Connect:Direct
VB—z/OS platform
node. Optional.
Valid values are:
Yes—file will be transferred in simple binary
mode
No—file will not be transferred in binary
mode but rather in text mode (default)
VB—copy will be performed as a variable
block binary transfer with Connect:Direct on
the z/OS platform
CDRecordType Specifies the entry name of the type defaults z/OS platform
file. The type defaults file contains the default
file attributes used to allocate the destination
file. The type defaults file is specified only when
defaults are requested by the user.Optional.
For more information on the type defaults file,
see the Connect:Direct for z/OS user
documentation.
LocalFileNameLabel Specifies a label for the name of the local file. All platforms
This file name label is provided to the remote
Connect:Direct node for informational purposes
only. Optional.
RemoteBUFND Specifies the number of I/O buffers VSAM will z/OS platform
use for transmitting data between virtual and
auxiliary storage. Optional.
Used only on the z/OS platform.
For more information on how to specify BUFND
information, see the Connect:Direct for z/OS
user documentation.
RemoteFileName Name that should be given to the file that is All platforms
copied to the remote Connect:Direct server.
Required.
Note: You cannot use wildcards to copy
multiple files from Sterling Integrator
to Connect:Direct with a single
CopyTo service.
RemoteLABEL Specifies label information for the tape used for z/OS platform
the destination file. Optional.
Used only on the z/OS platform. Valid syntax is:
([file-sequence-number]
,[SL | AL | BLP | LTM | NL | AUL | NSL | SUL]
,[PASSWORD | NOPWREAD]
,[IN | OUT]
,[RETPD=nnnn | EXPDT=[yyddd | yyyy/ddd]]
)
For more information on how to specify label
information, see the Connect:Direct for z/OS
user documentation.
RemoteUNIT Specifies the storage device or type along with z/OS platform
the number of devices required. Optional.
Used only on the z/OS platform. Valid syntax is:
([unit-address | device-type | group-name]
, [unit-count | P ] [,DEFER]
)
For more information on how to specify UNIT
information, see the Connect:Direct for z/OS
user documentation.
RemoteFileName Name of the file that should be copied from the All platforms
remote Connect:Direct server. Enter the legal
characters in the file name. Required.
Clustering Considerations
Note: For additional information about the Connect:Direct Server adapter and multiple node instances of
Sterling Integrator, refer to the Sterling Integrator documentation library.
The Sterling Integrator Admin Console enables you to view information about business processes
that interact with remote Connect:Direct nodes. Correlation records are automatically maintained
so that you can search for specific information (such as, business process IDs, document IDs,
workflow IDs, and mailbox IDs). Each business process references a unique business process ID as
its primary process identifier.
Central Search Use to search for live (active) business process instances that do not appear in the
Current Processes. Search by Name, Status, or Date.
Current Processes Lists the status of the ten most recent business process instances.
Current Activities Search for Connect:Direct Server adapter activity by adapter configuration name or
by when the activity registered within Sterling Integrator.
Advanced Search
Business Search for active, archived or stored business processes. Search by business
Processes process instance ID, business process Name, State, or Date.
Documents Search for active, archived or stored documents handled by a business process.
Search by Time, Document ID, Sender or Receiver ID, Type, Status or Correlations.
Communication Search for active, archived or stored communication sessions records. These records
Sessions include the associated authentication, authorization, file transfer, or non-file transfer
records, even if a document is not transferred and no data flow record is created.
Search by Time, Communication Session ID, Process ID, End Point, Protocol and so
forth.
Correlation Search for active, archived or stored business processes by name-value pairs. This is
a key tracking method in interoperability because you can search by values such as
PNODE, SNODE, Connect:Direct Process Name and so forth.
When you find the business process you are interested in on any of these Monitor pages, you can
obtain additional details by selecting the number in the ID column to open the Business Process
Details page.
Correlation Search
Correlation searches are a key to relating a Connect:Direct Process with a Sterling Integrator
business process. Whereas Connect:Direct identifies a process with a Process Number and a
Process Name, Sterling Integrator identifies its business processes with an Instance ID. The
Correlation Search enables you to search for Sterling Integrator processes using Connect:Direct
identifiers.
Note: Correlations are created to identify related Sterling Integrator and Connect:Direct processes.
The Connect:Direct Server adapter and related services automatically write Sterling Integrator
correlation records to enable searches for business processes and documents containing certain
correlation identifiers.
The Correlation Search page enables you to search for business process activity according to six
Connect:Direct specific name-value pairs, including:
✦ CD_LocalFileName
✦ CD_RemoteFileName
✦ CD_ProcessName
✦ CD_ProcessNum
✦ CD_PnodeName
✦ CD_SnodeName
Note: Do not perform a correlation search by Process Number only. A Process Number is unique to a
single Connect:Direct server, therefore you may see the same Process Number used for different
processes—each associated with a different node.
processes waiting for an available session. When a session has become available, it is assigned to a
previously suspended business process, if any, on a first-come first-served basis.
The first (oldest) suspended business process is given the first chance to use the next free PNODE
session for the Connect:Direct Server adapter. If no suspended business process can use the session
or if no business processes are in the suspended business process queue, the freed session is returned
to the available session count. If a PNODE session limit was also specified at the node level, the
number of currently active sessions with the particular remote node and the total number of active
PNODE sessions are both decremented when a freed session goes back to the available session
count. To see an example of how session counts go up and down when business processes are
suspended and resumed, see Sample Scenario of Workflow Suspension Processing and Session
Counts on page 158.
If Sterling Integrator or a Connect:Direct Server adapter is terminated while business processes are
suspending awaiting the next freed session, then an error is returned to the service invocation that
caused the business process to be suspended.
If you suspect an error has occurred or that the execution of a business process has been delayed,
you can check its status and the status of all related services. If a business process has been
suspended, the message, Session count exhausted, waiting for session availability, is displayed for
the Connect:Direct Server Begin Session Service, CopyTo, or CopyFrom service involved in
establishing or re-establishing a session. When a session count becomes available, the message,
Session now available: resuming, is displayed, and the Status Report screen will show how long the
business process was suspended, for example, Session now available, resuming after wait of 1
minutes 35 seconds.
Example 1
CDSA session limit = 2
CDSA current sessions = 2
NODEA session limit = 2
NODEA current sessions = 1
NODEB session limit = 1
NODEB current sessions = 1
SUSPENDED WORKFLOW QUEUE = <empty>
In this scenario, the following sequence of events occurs:
✦ BP-X attempts to establish a new PNODE session with NODEB.
✦ Since NODEB is already at its session maximum, this triggers the workflow suspend
mechanism.
✦ BP-X is placed on the suspended workflow queue to await a session count.
✦ The current session with NODEA terminates and is freed.
✦ CDSA looks for a suspended workflow that can use the newly freed session.
✦ BP-X cannot use the freed NODEA session because NODEB is still at its session maximum.
✦ The freed NODEA session is returned to the available session count, and BP-X continues to
wait.
So, after this sequence of events, the situation is:
CDSA session limit = 2
CDSA current sessions = 1
NODEA session limit = 2
NODEA current sessions = 0
NODEB session limit = 1
NODEB current sessions = 1
SUSPENDED WORKFLOW QUEUE = BP-X
A new session can now be established with NODEA, but BP-X must still wait for the current
session with NODEB to be freed before it can proceed.
Example 2
In this example, the session limit for NODEB has been bumped up one:
CDSA session limit = 2
CDSA current sessions = 2
NODEA session limit = 2
NODEA current sessions = 1
NODEB session limit = 2
NODEB current sessions = 1
SUSPENDED WORKFLOW QUEUE = <empty>
The following sequence of events occurs:
✦ BP-X attempts to establish a new PNODE session with NODEB.
✦ NODEB is not at its session maximum, but the overall Connect:Direct Server adapter is at its
limit. As a result, the workflow suspend mechanism is triggered.
✦ BP-X is placed on the suspended workflow queue to await a session count.
✦ The current session with NODEA terminates and is freed.
✦ CDSA looks for a suspended workflow that can use the newly freed session.
✦ BP-X can use this session because both NODEB and the adapter now have a session available.
✦ BP-X is resumed and allowed to attempt session establishment with NODEB.
Note: Certain errors fail without any retries, for example, when a required parameter is missing or invalid
or a remote node is not in the netmap.
Both the Interval between long-term session attempts (minutes) and Number of long-term session
retry attempts fields deal with long-term session establishment and re-establishment attempts. To
use a shorter timeframe to establish and re-establish sessions, specify the following fields when
configuring the Connect:Direct Server adapter:
✦ Number of short-term session retry attempts
✦ Interval between short-term session attempts (seconds)
If both the short-term and long-term retry parameters are specified, the values for the short-term
parameters are used first, and if a session has still not been established (or re-established), the value
for the long-term parameter is used if it is specified. For more information, see Setup Procedures
on page 13.
Checkpoint restart is supported for both inbound and outbound file transfers. This feature is only
supported for documents stored in the file system—it is not supported when document storage is set
to Database or data encryption is enabled in Sterling Integrator.
Checkpoint restart can be enabled whether or not Secure+, compression, or any other
communications session factor is enabled or disabled.
In a file transfer, the PNODE determines whether checkpointing will be performed and sets the
checkpoint interval. These two parameters can be set as a global default (usually in an initialization
parameter or property file) or overridden in the Connect:Direct Process (Copy step) or Sterling
Integrator business process.
The checkpoint information is kept on the target node (the node receiving the file) until the file
transfer completes successfully (in which case, this temporary record is destroyed) or kept for a
specific period of time if the file transfer fails. When a file transfer fails, the checkpoint information
is retained for a specified default length of time on the target system (30 days is common). In
Sterling Integrator, this setting is configured by setting the ckptRemoveDate property in the
noapp.properties property file located in the properties subdirectory of the installation.
If a remote Connect:Direct server or the network fails during a copy operation, the Connect:Direct
Server adapter goes into retry mode using its own default long-term and short-term values and waits
the specified amount of time and then resumes the copy. These values can be overridden by the
following values, if specified, in the Connect:Direct Server Begin Session service:
✦ Number of long-term session retry attempts (BeginSessionMaxRetries)
✦ Interval between long-term session attempts (BeginSessionRetryInterval)
✦ Number of short-term session retry attempts (ShortTermMaxRetries)
✦ Interval between short-term session attempts (ShortTermRetryInterval)
operation, CDSA retries the Copy operation subject to the existing short-term and long-term retry
settings. If the condition that caused the FAR processing persists, retries are performed up to a
maximum of the configured short-term and long-term retries only. The retry counters are not reset
after a successful connection when triggered by FAR processing.
If the retry counts are exhausted, the CopyTo or CopyFrom service fails and returns an error to the
Business Process that invoked it.
The set of FAR error messages, which include the commonly occurring Connect:Direct for z/OS
retry-able file allocation errors, is pre-configured in the Sterling Integrator installation.
To enable FAR processing:
1. Log in to Sterling Integrator.
2. From the Deployment menu, select Services > Configuration.
3. From the Services Configuration page, search for the CDSA configuration.
4. On the InitParms screen, select the Retry Remote File Allocation Errors check box.
5. Save the changes and click Finish.
6. The Sterling Integrator adapter restarts. FAR processing is enabled.
FAR processing is disabled by default when you create a new CDSA configuration or import a
CDSA configuration from an earlier version of Sterling Integrator or GIS.
Troubleshooting
Troubleshooting
Sterling Integrator and Connect:Direct are designed to work together, in a seamless and tightly
integrated environment. However, as is the case with any application, occasions may occur when
you need to troubleshoot certain components or functions.
This section provides general troubleshooting guidelines when configuring and using Sterling
Integrator with Connect:Direct.
To troubleshoot general Connect:Direct functions, see the Connect:Direct documentation set for
general troubleshooting information and instructions.
You may need to work with your Trading Partners or system administrators to troubleshoot the
systems you are communicating with.
Verifying Connectivity
To verify connectivity between Connect:Direct and Sterling Integrator:
1. Check configurations on Connect:Direct and Sterling Integrator for compliance. In particular,
look at the network maps on both systems.
2. Verify that the Connect:Direct nodes in question are active when a begin session is invoked.
3. Verify that perimeter services client connects to perimeter services server. If the client cannot
connect, it causes the perimeter services-enabled Connect:Direct Server adapter to fail.
Perimeter servers do not automatically reboot after a failure.
To determine the status of the perimeter services client in Sterling Integrator:
a. From the Sterling Integrator Operations menu, select Troubleshooter.
b. Look for the Perimeter Servers area. It is usually at the bottom of the Troubleshooting
page. This shows the state of the perimeter server clients which are defined in Sterling
Integrator and whether they are on.
Disconnected is displayed if no perimeter server is installed.
Logging Files
More information, including audit messages and error messages, can be found in Sterling Integrator
log files. Log files are available through the Operations > System > Logs menu.
The cdinterop.log files record details for all adapter activity and business processes that involve the
Connect:Direct Server and Requester adapters and the related Connect:Direct services.
A new cdinterop.log is create each time the Sterling Integrator server is started. At midnight, the
current log file is closed and a new one is created. In addition, when the size of the current log file
reaches the maximum size specified in the cdinterop log file configuration screen, it is closed and
a new log file is opened. The log file name includes a date and time stamp to make each name
unique.
By default, the cdinterop.log file captures audit level messages, even when logging is not enabled.
When the log is enabled, all transactions are recorded, including:
✦ Error messages
✦ Adapter startup and shutdown
✦ Adapter changes
✦ Security checks
Caution: Overriding the log.properties settings for the cdinterop.log can have a dramatic impact on
performance and log volume.
The customer_overrides.properties file is used to override property settings in other property files.
Unlike the other property files and their associated .properties.in files, the
customer_overrides.properties file is not changed during installation of Application upgrades or
patches. To prevent having your customized settings overwritten, you should use the customer
override property file whenever possible rather than editing the Application property files or .in
files.
The customer_overrides.properties file is not part of the initial Application installation and must be
created. It must be named customer_overrides.properties.
To override log.properties file settings for the cdinterop.log:
1. In the install_dir/properties directory, locate (or create, if necessary) the
customer_overrides.properties file.
2. Open the customer_overrides.properties file in a text editor.
3. Add the cdinteropcdinterop.log properties that you want to override to the log.properties file,
using the following format:
logService.PROPERTY_NAME=PROPERTY_VALUE
logService—Name used to reference the log.properties file.
PROPERTY_NAME—Name of the property as used in the log.properties file.
PROPERTY_VALUE—The value you want to assign to the property.
For example, assume that you want to change the maximum number of cdinterop.log files to 5.
To do so, override the cdinteroplogger.maxnumlogs property value in the log.properties file by
adding the following line to the customer_overrides.properties file:
logService.cdinteroplogger.maxnumlogs=5
4. Save and close the customer_overrides.properties file.
5. Stop and restart Application to use the new values.
6. Test your changes to ensure that the overrides give the desired results. If you have problems,
contact Sterling Commerce Customer Support for assistance.
Configuration Settings
The following table describes properties used to configure the customer_overrides.properties file
for the CDInterop logger:
Property Description
logService.cdinteroplogger.rotatelogs Flag indicating whether to rotate the log after it has reached its
maximum size.
Example: true
logService.cdinteroplogger.showsource Flag indicating whether to show the java class that originated
an error message.
Note: This can have a dramatic impact on performance and
log volume, so it should only be used to diagnose
problems.
Example: false
Turning on Logging
If the error is not in the existing logs, turn on the Sterling Integrator cdinterop.log to capture activity
of the Connect:Direct Server adapter and the services:
1. Browse to Operation > System > Logs.
2. Scroll to the Environment section of the page.
3. Click the edit icon to the left of Connect:Direct Server and Requester Adapter and Services.
4. In the Environment window, select On next to Logging Level and click Save.
$ cd <install_dir>/properties
$ cp cdinterop-spoe-policy.properties cdinterop-spoe-policy.properties.copy
2. Use a text editor to make the desired changes to the cdinterop-spoe-policy.properties.copy file:
$ vi cdinterop-spoe-policy.properties.copy
$ cd <install_dir>/properties
$ cp cdinterop-spoe-policy.properties.copy cdinterop-spoe-policy.properties
Configuration Settings
The following table describes properties used to configure the cdinterop-spoe-auth.properties file
in Sterling Integrator:
Syntax Description
spoe-user-id Specifies a unique remote user identifier. The remote user may be specified by an
asterisk (*) to enable this definition to match any user.
Note: The asterisk does not perform similar to a wildcard character or regular
expression operator. It is a special keyword having the meaning "any user."
nodename Specifies the name of the remote Connect:Direct PNODE node. The node name may
be specified by an asterisk (*) to enable this definition to match any node.
Note: The asterisk does not perform similar to a wildcard character or regular
expression operator. It is a special keyword having the meaning "any
node."
Each entry associates a SPOE username and remote Connect:Direct node name with a Sterling
Integrator user account. Each entry in the file consists of a single line of the form:
spoe-user-id@nodename=gis-user-id
The @ joins the user identifier with the node name to form the SPOE remote user identifier. No
space is permitted either before or after it. The = associates the SPOE remote user identifier with
the Sterling Integrator user account. No space is permitted either before or after it.
Examples
A remote user id 'user1' is mapped to the gis 'user2' account:
[email protected]=user2
Any remote id from the cd.chicago node is mapped to the gis account 'chicago':
*@cd.chicago=chicago
The remote id 'anonymous' from the *any* node is mapped to the Sterling Integrator 'anonymous'
account:
anonymous@*=anonymous
Any remote id from the *any* node is mapped to the Sterling Integrator 'guest' account:
*@*=guest
$ cd <install_dir>/properties
$ cp cdinterop-spoe-auth.properties cdinterop-spoe-auth.properties.copy
2. Use a text editor to make the desired changes to the cdinterop-spoe-auth.copy file:
$ vi cdinterop-spoe-auth.properties.copy
$ cd <install_dir>/properties
$ cp cdinterop-spoe-auth.properties.copy cdinterop-spoe-auth.properties
Configuration Settings
The following table describes properties used to configure the cdinterop-user-records.properties file
in Sterling Integrator:
Property Description
directory.precedence Specifies the processing order in cases where two or more directory parameters
conflict. Example:
jsmith/download = /mailbox/inbox
[cdsa-1]download = /mailbox/downloads
Valid values:
user—Choose the definition that supplies the Sterling Integrator user account ID. In
the example above, the first rule is chosen. Default.
adapter—Choose the definition that supplies the Connect:Direct server adapter
name. In the example above, the second rule will be chosen.
userid An existing local Sterling Integrator user. If omitted, may be any Sterling Integrator
user. Optional.
Property Description
parameter-name Specifies either the "download" or "upload" keyword. Keywords are not
case-sensitive. Required.
download—Designates that the parameter's value identifies the location where
the incoming file is to be stored. Default (when no other definitions match the
session's adapter or user account):
/businessprocess/PO-Request
upload - Designates that the parameter's value identifies the location from which
the outgoing file is to be obtained.
gis-path-prefix Path used to store the incoming document or retrieve the outgoing one. Valid
values:
/businessprocess/<bp-name>
where
<bp-name> is the name of a business process. Required.
/mailbox/<path>
where
<path> specifies a target mailbox accessible from the virtual root of the Sterling
Integrator account. Optional. If omitted, the virtual root is assumed.
For examples, see Upload and Download Process Examples on page 176.
Syntax
The cdinterop-user-records.properties file may be modified while Sterling Integrator is running.
Changes take effect a few seconds following the change committal step. To add or modify entries
in this file:
1. Make a copy of the cdinterop-user-records.properties file:
$ cd <install_dir>/properties
$ cp cdinterop-user-records.properties cdinterop-user-records.properties.copy
$ vi cdinterop-user-records.properties.copy
If cdsa-name is not specified, separate the User ID from the upload/download parameter name
with a slash (/).
4. Save the file.
$ cd <install_dir>/properties
$ cp cdinterop-user-records.properties.copy cdinterop-user-records.properties
Parameter Examples
✦ /mailbox/receipts as a download parameter value—When a remote node connects to
Connect:Direct Server adapter CDSA.DALLAS using the Sterling Integrator user account
purchasing, this download parameter value is used to compute the destination directory where
the transmitted file will be stored:
purchasing[CDSA.DALLAS]download=/mailbox/receipts
purchasing/upload=/mailbox/outbox
[CDSA-CHICAGO]upload=/businessprocess/DelinquentAccounts
download=/businessprocess/PO-Request
Configuration Settings
The following table describes properties contained in the cdinterop-proxy-records.properties file in
Sterling Integrator:
Property Description
external-id An external, remote proxied user ID. It may be specified in any of the following
ways:
address-form: proxyid @nodename
where proxyid and nodename are specified. A match occurs only if the user
name and node name from the request exactly match proxyid and nodename.
Example:
john@company/upload=/mailbox/company/john/out
The upload path is prepended to the outbound target filename if
spoe-policy=yes and the remote userid is "john" and the remote pnode
name is "company."
domain-form: *@nodename
where only nodename is specified. A match occurs only if the node name from
the request exactly matches nodename. Example:
*@company/upload=/mailbox/company/out
The upload path is prepended to the outbound target filename if
spoe-policy=yes and no rule is found for this remote userid, but one is
found for the remote pnode name "company."
account-form: userid @*
where only proxyid is specified. A match occurs only if the user name from the
request exactly matches userid. Example:
john@*/upload=/mailbox/john/out
The upload path is prepended to the outbound target filename if
spoe-policy=yes and a rule is found for remote userid "john," but no rule is
found for the name of the remote pnode.
default-form: *@*
This rule always matches any user name from any node name. Example:
*@*/upload=/mailbox/default/out
parameter-name Specifies either the "download" or "upload" keyword. Keywords are not
case-sensitive. Required.
download—Designates that the parameter's value identifies the location where
the incoming file is to be stored. Default (when no other definitions match the
session's adapter or user account):
/businessprocess/PO-Request
upload—Designates that the parameter's value identifies the location from
which the outgoing file is to be obtained.
Property Description
gis-path-prefix Path used to store the incoming document or retrieve the outgoing one. Valid
values:
/businessprocess/<bp-name>
where
<bp-name> is the name of a business process. Required.
/mailbox/<path>
where
<path> specifies a target mailbox accessible from the virtual root of the
Sterling Integrator account. Optional. If omitted, the virtual root is assumed.
Syntax
The cdinterop-proxy-records.properties file may be modified while Sterling Integrator is running.
Changes take effect a few seconds following the change committal step. To add or modify entries
in this file:
1. Make a copy of the cdinterop-proxy-records.properties file:
$ cd <install_dir>/properties
$ cp cdinterop-proxy-records.properties cdinterop-proxy-records.properties.copy
$ vi cdinterop-proxy-records.properties.copy
$ cd <install_dir>/properties
$ cp cdinterop-proxy-records.properties.copy cdinterop-proxy-records.properties
TOGIS PROCESS
SNODE=CDSA.DALLAS
SNODEID=(cduser1,cduser1)
STEP1 COPY
FROM (
FILE=”payload.txt”
)
TO (
FILE=”po-12558-a202”
DISP=RPL
)
PEND
The Connect:Direct Server adapter computes the destination filename by appending the local
filename po-12558-a202 to the cduser1 [CDSA.DALLAS] download parameter value:
Result: /mailbox/in/po-122558-a202
The Connect:Direct User Authorities for cduser1 contains the following Directory Restrictions:
Directory Restriction
Connect:Direct computes the source filename by appending the local filename payload.txt to
user cduser1’s upload parameter value:
Result: C:\Connect Direct\data\upload\payload.txt
STEP1 COPY
FROM (
FILE=”po-12558-a202”
SNODE
)
TO (
FILE=”payload.txt”
PNODE
DISP=RPL
)
PEND
The Connect:Direct Server adapter computes the source filename by appending the local filename
po-12558-a202 to the cduser1 [CDSA.DALLAS] upload parameter value:
Result: /mailbox/out/po-122558-a202
The Connect:Direct User Authorities for cduser1 contains the following Directory Restrictions:
Directory Restriction
Connect:Direct computes the destination filename by appending the local filename payload.txt
to user cduser1’s download parameter value:
Result: C:\Connect Direct\data\download\payload.txt