CDWindows System Guide
CDWindows System Guide
System Guide
Version 4.6
Sterling Connect:Direct for Microsoft Windows
System Guide
Version 4.6
Note
Before using this information and the product it supports, read the information in “Notices” on page 161.
This edition applies to version 4.6 of IBM Sterling Connect:Direct for Microsoft Windows and to all subsequent
releases and modifications until otherwise indicated in new editions.
© Copyright IBM Corporation 1995, 2011.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Chapter 1. Configure the Local Node . . 1 Stopping Sterling Connect:Direct for Microsoft
Configuring the Sterling Connect:Direct Local Node 1 Windows from the Admin Tool Utility . . . . . 32
Adding or Modifying a Local Node Definition . . . 1
Adding a User. . . . . . . . . . . . . . 2 Chapter 4. Create a Process . . . . . 33
Modifying a User ID. . . . . . . . . . . . 2 About Processes . . . . . . . . . . . . . 33
Deleting a User . . . . . . . . . . . . . 3 Establishing Preferences . . . . . . . . . . 33
Attaching to a Local Node . . . . . . . . . . 3 Creating a Process . . . . . . . . . . . . 36
About Local Functional Authorities . . . . . . . 3 Commands and Statements . . . . . . . . . 37
Defining User Authority . . . . . . . . . 5 Add a Copy Statement to a Process . . . . . 38
Modifying a User Authority . . . . . . . . 7 Adding a Submit Statement . . . . . . . . 39
Deleting a User Authority . . . . . . . . . 8 Adding a Run Task Statement . . . . . . . 40
Defining a Group Authority . . . . . . . . 8 Adding a Run Job Command . . . . . . . 41
Modifying a Group Authority . . . . . . . 9 Adding an If Statement . . . . . . . . . 41
Sequencing Group Authorities . . . . . . . 9 Adding an Else Statement . . . . . . . . 42
Deleting a Group Authority . . . . . . . . 9 Adding an Endif Statement . . . . . . . . 42
Define Remote User Proxies . . . . . . . . . 9 Adding or Modifying a Goto Statement . . . . 43
Creating or Modifying a Remote User Proxy . . . 10 Add an Exit Statement. . . . . . . . . . 43
Deleting a Remote User Proxy . . . . . . . . 11 Process or Command Options . . . . . . . . 43
Setting Security Options . . . . . . . . . . 44
Chapter 2. Define and Manage the Setting Control Functions for a Command or
Sterling Connect:Direct Network. . . . 13 Process . . . . . . . . . . . . . . . . 44
Define and Manage the Sterling Connect:Direct Assigning Values to Symbolic Variables . . . . . 45
Network . . . . . . . . . . . . . . . 13 Specifying Accounting Data . . . . . . . . . 47
About Defining the Network Map . . . . . . . 13 Add Comments . . . . . . . . . . . . . 47
Define Remote Node Information . . . . . . . 13 Validating Process Content . . . . . . . . . 47
Creating or Modifying a Remote Node Definition . 14 Saving a Process . . . . . . . . . . . . . 48
Adding or Modifying Communications Mode Copying a Process . . . . . . . . . . . . 48
Settings. . . . . . . . . . . . . . . 19 Changing a Submitted Process . . . . . . . . 48
Creating or Modifying a Communications Path Manage Processes Using a Work List . . . . . . 49
Definition . . . . . . . . . . . . . . . 21 Creating a Work List . . . . . . . . . . 49
Defining a New Mode for a Communications Path 23 Updating a Work List . . . . . . . . . . 50
Deleting a Network Map Entry . . . . . . . . 24 Submitting a Work List . . . . . . . . . 50
Validating a Network Map Entry . . . . . . . 25 Canceling Work List Operations . . . . . . 50
Viewing a Network Map as Text . . . . . . . 25 Editing a Work List in Text Format . . . . . 51
Applying a Network Map . . . . . . . . . 25 Inserting a Task into a Work List . . . . . . 52
Printing and Viewing Node and Network Map Validating a Work List . . . . . . . . . . 52
Definitions. . . . . . . . . . . . . . . 26
View the Sample Configuration Files . . . . . . 26 Chapter 5. Manage Processes . . . . . 53
Customizing Configuration Files . . . . . . . 27 SMTP Notification . . . . . . . . . . . . 53
Adding an Encrypted Password for a User Proxy. . 27 Manage Processes . . . . . . . . . . . . 53
Validating Configuration Files for Use with Sterling Understanding the TCQ . . . . . . . . . . 53
Connect:Direct . . . . . . . . . . . . . 28 TCQ Logical Queues . . . . . . . . . . . 54
Applying Updated Configuration Information . . . 28 View Processes in the TCQ . . . . . . . . . 56
Creating a Process Monitor . . . . . . . . . 56
Chapter 3. Stop Sterling Connect:Direct Monitoring Processes Based on Selection Criteria . . 57
Opening a Process Monitor File . . . . . . . 58
for Microsoft Windows . . . . . . . . 31
Saving a Process Monitor . . . . . . . . . . 58
Stopping Sterling Connect:Direct for Microsoft
The Process Monitor Output. . . . . . . . . 59
Windows . . . . . . . . . . . . . . . 31
Using the Output Display . . . . . . . . . 60
Stopping Sterling Connect:Direct for Microsoft
Notification . . . . . . . . . . . . . . 61
Windows from Sterling Connect:Direct Requester. . 31
NT Broadcast . . . . . . . . . . . . . . 61
Stopping Sterling Connect:Direct for Microsoft
Changing Process Notification . . . . . . . . 61
Windows Using the Services Facility . . . . . . 31
View Process Statistics . . . . . . . . . . . 62
Stopping Sterling Connect:Direct for Microsoft
The Statistics Monitor Window . . . . . . . . 63
Windows Using the CLI . . . . . . . . . . 32
Delete Statistics Records . . . . . . . . . . 63
Contents v
vi IBM Sterling Connect:Direct for Microsoft Windows: System Guide
Chapter 1. Configure the Local Node
Configuring the Sterling Connect:Direct Local Node
Before using IBM® Sterling Connect:Direct® for Microsoft Windows to transfer files,
you have to configure the local node.
You can configure the local node using the Configuration Tool or with Sterling
Connect:Direct Requester. This set of topics provides instructions for using
Requester. Requester is a graphical user interface that enables you to define local
nodes, user IDs, user authorities, and remote user proxies.
With the Sterling Connect:Direct Configuration Tool, you edit text files of user
authorization and network map parameters, and you can export these files.
However, using the Configuration Tool requires that you understand all the
Sterling Connect:Direct keywords and their parameters. Sterling Connect:Direct
Requester makes it easier to define user authorization parameters.
Note: The Configuration Tool also enables you to view or print a configuration.
See Print and View Node and Network Map Definitions under Define and Manage
the Sterling Connect:Direct Network.
Procedure
1. Select Node > Connection Settings > Insert Node.
2. Type the node name in the Name field or select a node in Active Directory
Nodes if Active Directory is enabled.
3. Optionally, select the default user ID to associate with the node in the Default
User ID field.
4. Select the operating system used by the node in the Operating System field. If
any nodes are registered in Active Directory, select Windows to display nodes
registered in the Active Directory Nodes field.
5. Enter the TCP/IP address in the Address field.
Adding a User
About this task
Procedure
1. If more than one local node is configured, on the Nodes tab of the Control Pad,
highlight the local node to which the user is to be added.
2. Select Node > Connection Settings > Edit Userids.
3. Click Insert.
4. Type information in the following fields:
v Name—Type the name of the new user. Either type the user name as defined
in the Microsoft Windows setup, such as "lmore", or type a fully-qualified
user name in the UPN format, such as "lmore@adtree.stercomm.com".
v Password—Type the password defined for the user.
v Verify Password—Retype the password defined for the user.
5. Click Remember Password to automatically reload the password when you
attach as this user.
6. Click Set as the Default User if you want the new user to be the default user
for the node.
7. Click OK.
8. If the verification password you typed does not match the initial password, you
receive a message indicating the passwords do not match when you click OK.
Retype the verification password and click OK.
9. Click OK on the User Properties window to save the settings, then click Close.
Attention: Changes made to node settings are not written to the Registry until
you select OK.
Modifying a User ID
About this task
Procedure
1. If more than one local node is configured, on the Nodes tab of the Control Pad,
highlight the local node for which the user is to be modified.
2. Select Node > Connection Settings > Edit Userids.
3. Double-click the user ID to modify.
4. Modify fields as necessary.
Deleting a User
About this task
Procedure
1. If more than one local node is configured, on the Nodes tab of the Control Pad,
highlight the local node from which the user is to be deleted.
2. Select Node > Connection Settings > Edit Userids.
3. Select the user you want to delete.
4. Select Delete, then click Confirm. The user is deleted.
After you configure the local node and define network users, you must attach to
the local node. If a user ID is set as the default and has the option Remember
Password activated, the user is automatically attached to the server.
Procedure
1. Select Node > Attach.
2. Select a user ID from the Userid list.
3. In the Password field, type the password that corresponds to the user ID.
4. Click OK.
You can define two types of users: administrators and general users. Each user
type has a set of default privileges. The default administrator and general user
definitions allow the user to perform basic Sterling Connect:Direct tasks. You can
use these templates to assign user authorities and restrict privileges. The following
table defines the default authorities of the administrator and the general user:
You then define directories where a user can perform tasks. If you do not specify a
directory for a function, the user can perform it from any directory, regardless of
whether the request is submitted from the PNODE or the SNODE; however, the
remote user proxy can override the directory specification. Directory restrictions for
the Upload and Download directory can be bypassed if restrictions are not also
provided for the Process and Program directory paths. As a result, if the remote
user is allowed to use the Run Task and Run Job features to execute commands
from any directory, then they could perform operating system commands. These
commands could include copy commands to copy files to any directory, bypassing
the Upload and Download restrictions.
To prevent this, set directory restrictions for the Process and program features
using a separate directory path from the Upload and Download directory path or
disable the Run Job and Run Task for this user. Programs that be run are defined
in the Process and Program directories.
You can define remote user proxies. A remote user proxy associates a remote user
with a local user ID and gives the remote user the authority to perform the same
functions as the proxy. This is useful if you want to give a remote user access to a
server, but you do not want to define a user ID and user authorities for the user.
Defining a remote user proxy also provides the remote user access to the local
node without the need to remember password information.
Use this procedure to restrict the functions that a user can perform and the
directories where a function can be performed.
Procedure
1. Select Admin > Functional Authorities. The User Authorities view is the
default view.
2. Choose one of the following types of users:
v Click New Admin to create a new user authority with full privileges for
Process controls and functions.
v Click New Genusr to create a user authority with reduced privileges.
3. Type a name, from 1 to 50 alphanumeric characters, for the new user in the
Name field. You can use spaces.
Procedure
1. Select Admin > Functional Authorities.
2. Double-click the user authority to edit.
3. Change the user authorities as necessary.
4. Click OK.
Procedure
1. Select Admin > Functional Authorities.
2. Select the user you want to delete and click Delete.
Use this procedure to create group authorities. Group authorities allow you to
group users who exercise the same level of functional authorities.
Procedure
1. Select Admin > Functional Authorities.
2. Click the Group Authorities tab.
3. To add a group authority, do one of the following:
v Click New Admin to create a new group based on *Admin settings as the
default.
v Click New Genusr to create a new group based on Genusr settings as the
default.
4. Type the name, from 1 to 50 alphanumeric characters, for the new group. You
can use spaces.
5. Define the group as either a local group or domain group by doing one of the
following:
v If the group is local, click Local and enter the name of the group as defined
by the workstation administrator under My Computer/Manage/Local Users
and Groups.
v If this is a domain group, click Domain Name, then enter the name of the
group as defined by the domain administrator, and the name of the domain
on which the group is defined.
Note: Local groups are groups defined locally on the server using the O/S
utility for managing local users and groups. If your users are defined locally,
use local groups. If your users are not defined locally but in a domain, use
domain groups. If you have some users in local and some in domains, you can
use both.
6. Do one of the following:
v To save the new group authority with default privileges, click OK.
v To modify the default group privileges, continue with the next step.
7. To restrict the control functions or statements users in the group are authorized
to perform, change the value of the fields on the available tab to No to deny
authority for that privilege and click OK.
Procedure
1. Select Admin > Functional Authorities and click the Group Authorities tab.
2. Double-click the group authority to edit.
3. Change authorities for the group as necessary.
4. Click OK.
A user can be a member of multiple groups, local and domain. Since each group
authority defined can contain different restrictions, the order of groups as they are
checked for a match is important. More restrictive groups should be checked
before less restrictive groups.
Procedure
1. On the Group Authorities tab of the Functional Authorities window, select the
group functional authority to move.
2. Move the group up in the order by clicking Move Up.
3. Move the group down in the order by clicking Move Down.
4. Click OK.
Procedure
1. Select Admin > Functional Authorities and click the Group Authorities tab.
2. Select the group you want to delete and click Delete.
Sterling Connect:Direct names each definition of this type according to the remote
node and submitter ID. Each definition contains the user ID and password for a
local account to use when the specified remote user submits Processes that interact
with this node.
Note: When you update the password for the specified local user account on your
Microsoft Windows system, you must update the corresponding Sterling
Connect:Direct secure point-of-entry proxy as well. This process is not automated.
The user proxy definition specifies the following Sterling Connect:Direct remote
user information:
v Remote Sterling Connect:Direct user ID and remote Sterling Connect:Direct node
name. You can also set a generic user ID called <ANY USER> and node name
<ANY NODE> to allow all of your remote users to connect through one proxy.
v Local user ID and password to use with submitted operations from the remote
Sterling Connect:Direct node.
v Any directory restrictions for Sterling Connect:Direct operations.
When a remote user submits a Sterling Connect:Direct Process that does not have a
remote node security ID specified, Sterling Connect:Direct for Microsoft Windows
accesses the proxy definition that corresponds to the specified user and logs on to
the Microsoft Windows server using the account information specified in the proxy
definition. If a proxy definition is not available for a given remote node/submitter
ID combination, the Process must explicitly specify the user ID and password to
use on the local node. Use the remote node ID security parameter in the Process
statement to provide the necessary security information to execute Processes with
this node.
Procedure
1. Select Admin > User Proxies.
2. Do one of the following:
v To add a new remote user proxy, click Insert.
v To modify a proxy, double-click the Remote User name to modify.
3. Add or modify the following information:
a. For a new proxy, type the remote node user ID or select <ANY USER> to
define a generic user ID.
b. Type the submitter ID, a specific node name, or select <ANY NODE> to
define a generic node.
c. Type the local user ID to map to the remote node or a specific user ID in
the Userid field.
d. Type the password twice associated with the local user ID to which the
proxy is mapped.
Procedure
1. Select Admin > User Proxies.
2. Select the remote user you want to delete.
3. Click Delete.
4. Click Close.
The remote node definition, the communications mode, and communications path
definition are the three components of each network map entry.
Note: The network map is not mandatory if the initialization parameter called
netmap.check is set to n and all remote nodes have TCP/IP paths that you identify
by their IP address or host name.
The remote node definitions contain information for remote Sterling Connect:Direct
nodes that the local Sterling Connect:Direct node communicates with.
Procedure
1. Select Admin > Netmap to open the network map.
2. Do one of the following:
v To add a node, select Netmap > Insert and type a node name in the Name
field.
v To modify an existing node, double-click the node name in the Netmap
window.
3. Define information in the following fields for the remote node you are
configuring on the Main tab. Refer to the following table for information on
each field:
4. To configure TCP/IP settings, click the TCP/IP tab and set the TCP/IP
attributes. Refer to the following table for definitions of the fields:
Port/Service The communications port number for A numeric value in the format nnnnn, where
Sterling Connect:Direct if it differs from nnnnn is a positive integer from 0–65535.
the default value specified in the
initialization parameters.
Mode Override Select the name of the network map Name of a defined TCP/IP communications
TCP/IP communications mode definition mode.
record used when communicating with
this remote node. If this parameter is not
specified, its value defaults to the last
TCP/IP mode in the list.
5. To configure UDT settings, click the UDT tab and set the UDT attributes.
Refer to the following table for definitions of the fields:
6. To configure the APPC settings, click the APPC tab and set the APPC
attributes. Refer to the following table for a description of the fields:
Procedure
1. Select Admin > Netmap to open the network map.
2. Do one of the following:
v To modify an existing mode definition, double-click the mode.
v To add a new mode definition, right-click in the mode box and click Insert.
3. Modify the mode settings as required. If you are defining a new object, select
either TCP/IP or APPC as the protocol to associate with the communications
path. Refer to the following table for the definitions, descriptions, and valid
values for each field.
4. To add or update TCP/IP settings, click the TCP/IP tab. Refer to the following
table for a description of each field:
5. To add or update APPC settings, click the APPC tab and type the following
values:
a. A valid RU size between 256 and 4096 in the Max RU Size field. The
default is 4096.
b. The largest permissible pacing window size for sessions in this mode
grouping in the Max Pacing field. Sterling Connect:Direct sends this
number of data buffers before waiting for an acknowledgment from the
remote node. A value of 0 indicates no pacing. The default is 7 and the
maximum is 63.
The communications path defines the physical communications path between the
local Sterling Connect:Direct node and one or more remote Sterling Connect:Direct
nodes.
If you install SNA software and select APPC support during installation, two
communications path objects are created in the Microsoft Windows Registry: one
for TCP/IP and one for APPC. If you do not have APPC support, only a TCP/IP
default communications path object is created.
Procedure
1. Do one of the following:
v To modify a communications path definition, double-click the definition in
the CommPath window.
v To add a new communications path, right-click the CommPath box and click
Insert.
2. To define a communications path, type the name of the communications path
in the Name field, and select the protocol to associate with it: TCP/IP, APPC,
or UDT.
3. Define a new mode or assign an existing mode to the communications path.
4. To associate an existing mode with the communications path, select the mode
from the Selected Mode drop-down list.
5. To define a new mode to associate with the communications path:
v Click New.
v Type the name of the new mode in the Name field.
v Select the protocol to associate with the mode: TCP/IP, APPC, or UDT, and
click OK.
6. To add or update TCP/IP settings, click the TCP/IP tab. Refer to the following
table for the name, definition, and valid values for each field.
7. To add or update APPC settings, click the APPC tab. The following table shows
the name, definition, and valid values for each field on the APPC tab.
8. To add or update UDT settings, click the UDT tab. The following table shows
the name, definition, and valid values for each field on the UDT tab.
9. Click OK.
Procedure
1. Select Admin > Netmap to open the network map.
2. Right-click the CommPath box and click Insert.
3. Type the name of the communications path in the Name field.
4. Click New.
5. Type the name of the new mode in the Name field.
6. Select TCP/IP, APPC, or UDT to identify the protocol to associate with the
mode.
7. To add TCP/IP settings, click the TCP/IP tab. Refer to the following table for
the name, definition, and valid values for each field.
8. To add UDT settings, click the UDT tab. Refer to the following table for the
name, definition, and valid values for each field.
Procedure
1. Select Admin > Netmap.
2. Right-click the network map entry you want to delete and click Delete.
After you create a network map entry, you can validate the entry to ensure it was
created correctly. For example, if you typed an invalid entry in a field, or
accidentally deleted a communications path, the validation function generates an
error message and explains why you received it.
Procedure
1. Select Admin > Netmap.
2. Select the network map entry to validate.
3. Right-click the Netmap for Nodename window and click Validate.
4. After you validate the network map entry, close the Netmap for Nodename
window.
Procedure
1. Select Admin > Netmap.
2. Select the network map entry you want to view as text.
3. Right-click the Netmap for Nodename window to open the shortcut menu and
click Text View.
4. Right-click the window again and select List View to view the network map
entry in its original presentation.
Procedure
1. Select Admin > Netmap > Validate. If no errors are found, the output window
contains the message Netmap validation Successful.
2. Select Netmap > Apply.
3. Select the node name and click OK.
After you set up a node and define a network map, use the Configuration Tool to
extract the network map and user authorization information from the Registry as
plain text files. You can then update the parameters in the extracted files for
distribution to the nodes in an environment.
After you customize the files with site-specific parameters, you can insert them
into the Microsoft Windows Registry where they are applied while the server is
running, or you can apply them during a new Sterling Connect:Direct installation.
Procedure
1. Click Start and point to All Programs > IBM Sterling Connect:Direct > v4.6.0
> CD Configuration Tool.
2. Select File > Extract.
3. Click OK. The network map and User Authorization information for the node
are extracted as cascading windows named Map and User.
4. To save the extracted user authorization information:
a. Click the User dialog box.
b. Select File > Save As.
c. Select the directory where you want to save the file.
d. If necessary, type a different file name in the File name field and click Save.
5. To save the extracted network map information:
a. Click the Map dialog box.
b. Select File > Save As.
c. Select the directory where you want to save the file.
d. If necessary, type a different file name in the File name field and click Save.
Two sample configuration files are included with the Configuration Tool:
v Map.cfg file—Network map objects are created in the Registry during
installation. These objects contain the remote node, communications path, and
communications mode definitions. You can update the network map on your
nodes by customizing the sample Map.cfg file and inserting it into the Microsoft
Windows Registry.
v User.cfg file—Use the parameters in User.cfg to build user functional authorities
and user proxies. Sterling Connect:Direct applies the information in this file to
authorize local and remote users to issue commands and Process statements and
You use the Configuration Utility to customize configuration files for your
environment and prepare them for rollout. You can edit configuration information
using this tool. You can also use it to add encrypted passwords to user proxies and
validate the configuration files for use with Sterling Connect:Direct.
Procedure
1. Select File > Open.
2. Select the drive and directory where the configuration file is located.
3. Select the file and click Open.
Note: To save the original file as a template for building future configuration
files, save the file with a different name before you alter any of the
configuration information.
4. Edit the parameters as necessary.
5. Select File > Save.
You can set up and enable user proxies on the local Sterling Connect:Direct server
that allow remote users to log on to the local server without revealing their
password. User proxies improve security on the remote node by protecting remote
users' passwords.
The Configuration Utility can be used to insert encrypted passwords into the proxy
section of the USER.CFG file. When you enter a password, the Configuration
Utility encrypts it for you.
Procedure
1. Open the User.cfg file.
2. Place the cursor on the line following the Proxy section header.
3. Select Tools > Password.
4. Type the user ID and password in the Userid and Password fields.
5. Retype the password in the Verify Password field.
6. Click OK. The encrypted password is inserted as the LocalPassword parameter
value and the User ID is inserted as the LocalUserid parameter.
After you have customized a file, validate the configuration to ensure that the file
can be used with Sterling Connect:Direct. When you validate a file, error messages
describe any errors and each error is highlighted so you can easily determine
which information must be revised.
Procedure
1. Open the configuration file to validate.
2. Select Tools > Validate. The file is validated.
v If no errors are detected, a message indicating this is displayed. Click OK to
return to the file.
v If errors are detected, an error message is displayed with the error identifier
and an explanation of the problem. The error is highlighted in the
configuration file. Click OK to close the error message.
3. Edit the configuration information to clear each error.
4. Repeat this procedure until no errors are returned.
Restriction: You cannot use cdconfig to change existing objects in the network
map and user authorizations. It can only be used to create new objects (netmap
entry or user auth name).
To create and apply user and netmap files in silent mode, type the following
commands:
Procedure
1. To extract a netmap to the my_map.cfg file:
CDConfig.exe /nNODE_NAME /mc: \dir\my_map.cfg/q
2. To extract a user configuration to my_user.cfg:
CDConfig.exe /nNODE_NAME /uc:\dir\my_user.cfg /q
3. To insert a netmap to the my_map.cfg file:
CDConfig.exe /nNODE_NAME /i /fc:\dir\my_map.cfg /q
4. To insert a user configuration to my_user.cfg:
CDConfig.exe /nNODE_NAME /i /fc:\dir\my_user.cfg /q
Procedure
1. Select Admin > Netmap to open the node you want to stop.
2. Select Admin > Stop Node.
3. Select one of the stop server options:
v Terminate processes at end of step—Stops Sterling Connect:Direct when all
executing Process steps are complete. Writes statistics records, closes files,
and shuts down Sterling Connect:Direct.
v Quiesce after active processes complete—Stops the server when all executing
Processes are complete. No new Processes are started.
v Immediate orderly shutdown—Stops all activity, terminates Processes and
connections, writes statistic records, closes files, and shuts down Sterling
Connect:Direct.
v Force termination now—Forcibly terminates Sterling Connect:Direct. No
attempt is made to terminate executing Processes or to write statistic records.
All server resources are released. This is the least desirable way to stop the
server.
4. Click OK to stop the node. If the server is stopped, the icon in the Control
Panel nodes view is unavailable.
Note: Sterling Connect:Direct for Microsoft Windows does not implement the
Pause and Continue functions on the Services applet.
To stop Sterling Connect:Direct for Microsoft Windows from the CLI, issue the stop
command.
To stop Sterling Connect:Direct for Microsoft Windows from the Admin Tool
Utility:
Procedure
1. Select the Sterling Connect:Direct for Microsoft Windows server to stop.
2. Click the red traffic light icon on the toolbar.
Processes allow you to automate routine tasks, execute multiple tasks with one
command, save the Process to a file for future use, and build blocks of work based
on conditions. Before you build a Process, decide what tasks you want to perform
and what nodes you want to use.
Before creating a Process, you can establish preferences related to Processes and
other Sterling Connect:Direct Requester operations.
Establishing Preferences
About this task
To establish preferences:
Procedure
1. From the Sterling Connect:Direct Requester Main Window, select Tools >
Options.
2. To set general preferences, change the values in the fields on the General tab of
the Options panel.
Field Description
Reload last saved workspace at startup When selected, Sterling Connect:Direct Requester displays the last saved
workspace when you log in.
Track Processes in the execution status To obtain summary information about a Process and display the
window information in the Execution Status Window. This option establishes the
default for the Submit Process page.
Check Enable the activity log in the Output window to display the
activity log there.
Check Write the activity output to a file and type the name of the file to
write the activity log to a file. Select the appropriate button to create a
new file every time you start Sterling Connect:Direct Requester or to
append activity to the existing log file at startup.
3. To set Process preferences, click the Process Defaults tab and change the values.
The default value for the local node is OFF. The OFF—Do not perform CRC checking.
default value for the remote node is blank.
ON—Perform CRC checking.
The remote node defaults to blank to simplify the
use of the crc.override parameter. When blank—Use the value defined in
crc.override is enabled in the initialization crc.override.
parameter, only the nodes that require a different
configuration need to be changed.
Priority The preferred priority of a Process in the TCQ. The valid range is 1–15, where 15 is the
Sterling Connect:Direct uses the priority parameter highest priority.
for Process selection. A Process with a higher
priority is selected for execution before a Process
with a lower priority.
4. To set Work List preferences, click the Work List tab and change the values.
5. To set directory preferences, click the Directories tab and change the values.
Field Description
Processes To define the default directory for Process files
Work Lists To define the default directory for Work Lists.
Process Monitors To define the default directory for Process Monitor files.
Statistics Monitors To define the default directory for Statistics Monitors.
Start "Save as" in these directories Select this check box to make these directories the default when saving.
6. To set file type preferences, click the File Types tab and select the file extensions
to associate with Sterling Connect:Direct.
7. To set statistics preferences, click Select Stat Defaults and change the values.
8. To set Process Monitor preferences, click Select Proc Defaults and change the
values.
9. Click OK.
Creating a Process
About this task
A Process begins with a Process statement that defines general information about
the Process. When you create a Process, the PEND statement is added to the end of
the Process and is a required statement that marks the end of a Process. Do not
edit or delete the PEND statement.
Procedure
1. Select File > New > Process.
2. Type a Process name, from 1 to 8 alphanumeric characters, in the Process
Name field.
3. If all work will be performed on the PNODE, type or select the name of the
PNODE in the PNODE Name field.
4. To issue a warning message if an attempt is made to submit the Process on a
different PNODE, click Warn if submitted to a different node.
5. To issue a warning message if an attempt is made to submit the Process on a
PNODE with a different operating system, click Warn if submitted to a
different operating system.
6. Specify the SNODE in one of the following ways:
v Select the node from the drop-down menu.
v Type the name of a Sterling Connect:Direct node.
v Specify an IP address and port, using the following format:
hostname|IPaddress;portnumber|servicename
7. Click OK.
8. Add commands as necessary to the Process.
9. If desired, change the options for the Process.
The following table lists the commands you can insert in a Process.
Command Description
Copy The Copy statement transfers data between two nodes. The Copy statement identifies the
source files, applies any pre-transfer attributes such as compression or checkpointing, transfers
the file to the destination, and saves the file to the new file name.
Run Task You can run programs and commands by adding the Run Task command to a Process. The
Run Task command executes programs on the PNODE or the SNODE.
Run Job The Run Job command executes batch jobs or commands on the specified node. Jobs submitted
using the Run Job command run in the background. The return code associated with the run
job statement indicates the success of the Run Job command and not the success of the batch
job or command.
Use the Run Job command to perform the following types of tasks:
v Submit jobs in an z/OS environment to the internal reader, a facility that transfers jobs to the
job entry subsystem (JES).
v Submit a job at the OpenVMS node in an OpenVMS environment.
v Submit an OS/400 CL command to run as a separate job through the SBMJOB command.
v Invoke a UNIX command shell and execute UNIX commands.
v Submit jobs through the VSE virtual reader, a facility that transfers jobs to VSE/POWER.
v Start programs in the Microsoft Windows environment.
Submit Process Submits a Process from within an executing Process on the PNODE or the SNODE. To use the
Submit statement, the Process must reside on the node you are submitting the Process to. Use
the Submit statement to execute a Process on the SNODE which would, in turn, submit a
Process to a third node.
You can use the following conditional statements to perform tasks based on
conditions you establish.
Statement Description
If The If statement executes a block of statements based on the results of a previous statement. The
results are categorized by a return code. The If statement checks the value of the return code and
executes the block if the statement is true.
You must use the Eif statement (endif) with the If statement. If the conditions of the If statement
are not satisfied, use an Else statement to designate the execution of alternate instructions.
Else The Else statement defines a block of statements that execute when the If statement is not true.
The Else statement is only valid when used in combination with the If statement.
Endif (Eif) The Endif statement (Eif) marks the end of the If statement and any statements based on the If
condition. The Endif statement is only valid when used in combination with the If statement.
Goto The Goto statement executes a jump to a specific statement that occurs later in a Process. This
statement cannot be used to loop to a statement earlier in the Process. Use the Goto statement
with the step label to define the location of the statement in the Process.
Exit The Exit statement bypasses all remaining steps in a Process and ends the Process.
Use the Copy statement to create a new file or append data to an existing file. To
use the Copy statement in a Process, identify the PNODE and the SNODE. Identify
the source file and, if symbolic variables are used, assign values to the variables or
specify built-in variables before the Process is submitted.
Sterling Connect:Direct for Microsoft Windows supports the string (*) and
character (?) wildcards, allowing you to copy multiple files from a source directory
to a target directory with a single copy statement.
Note: The list of files to be copied is generated at the start of a wildcard copy.
When a Process restarts, in a wildcard copy statement, the step restarts with the
first file that is not completely copied. If you are using checkpointing, the
statement restarts at the last checkpoint of the file that is not completely copied.
Procedure
1. Open a Process file.
2. Select Process > Insert > Copy.
3. To identify the step within the Process, type a label of up to 8 alphanumeric
characters in Copy Statement Label.
4. Select one of the following actions:
v To copy a file to the SNODE, select Send.
v To copy a file from the SNODE, select Receive.
5. Type the name of the source file in the Source Filename field.
6. Enter the name of the file in the Destination Filename field.
7. Select one of the following destination disposition options:
v NEW—To create a new file at the destination
v RPL—To replace the information in an existing file if it exists or to create a
new file if the file does not already exist.
v MOD—To append the transferred information to an existing file.
8. To enter compression and checkpoint restart options, click the Transfer tab and
select from the following options:
v To use compression, select one of the following compression types in the
Compression window:
Note: These tabs reflect the operating system of the sending and receiving file
location.
10. Click the Comment tab and add an optional description of the statement.
11. Click OK.
You can run programs and commands by adding the Run Task statement to a
Process. The Run Task statement executes programs on the PNODE or the SNODE.
Procedure
1. Open a Process file.
2. Select Process > Insert > Run Task.
3. To identify the step within the Process, type a label of up to 8 alphanumeric
characters in Run Task Statement Label.
4. Select the node where the program or command will execute in the Submit To
field.
5. Type one of the following, based on the node type, in the Program field:
v Type Windows for a Microsoft Windows node.
v Type UNIX for a UNIX node.
v For OS/400, type cmd(CL command) [parameter for OS/400 SBMJOB
command] .
v For z/OS, type the name of the program to be attached as a subtask in
uppercase letters.
v For HP NonStop, type the name of the object file.
v For VSE, type the name of the program to be attached as a subtask in
uppercase letters.
6. Use the Optional Parameters or Commands as necessary, for the operating
system you selected in Step 5. Refer to the Help for syntax.
7. Click the Comment tab and add a description of the command. This
information is optional.
8. Click OK.
The Run Job command executes batch jobs or commands on the specified node.
Jobs submitted using the Run Job command run in the background. The return
code associated with the run job statement indicates the success of the Run Job
command and not the success of the batch job or command.
Procedure
1. Open a Process statement.
2. Select Process > Insert > Run Job.
3. Type the statement label in the Run Job Statement Label field.
4. Select the node where the job will execute.
5. Type the Filename based on the operating system used by the node. This field
is valid only for the following operating systems:
v For Microsoft Windows nodes, type Windows.
v For z/OS nodes, type the data set that contains the job in the format:
DATASETNAME | DATASETNAME(MEMBER). The data set and member
must be in uppercase. If the data set is a PDS, specify the member. The data
set containing the job must exist on the z/OS node where the job will
execute. A data set containing JCL is limited to a record length of 80 bytes.
v For i5 Series nodes, type i5 Series.
v For VSE nodes, type the name of the member in the LIBDEF source chain
that contains the job to be submitted in the format: | membertype(member).
If the membertype is not specified, this job must be cataloged with a
membertype of J.
v For UNIX, type dummy.
v For OpenVMS, type PGM=VMS.
6. Type any Optional Parameters or Commands.
7. Click OK.
Adding an If Statement
About this task
The If statement executes a block of statements based on the results of a previous
statement. The results are categorized by a return code. The If statement checks the
value of the return code and executes the block if the statement is true.
You must use the Eif statement (endif) with the If statement. If the conditions of
the If statement are not satisfied, use an Else statement to designate the execution
of alternate instructions.
Procedure
1. Select Process > Insert > If.
2. Enter the statement label in the If Statement Label field.
The Else statement defines a block of statements that execute when the If statement
is not true. The Else statement is only valid when used in combination with the If
statement.
Procedure
1. Select Process > Insert > Else.
2. Optionally, add a comment to the Process.
3. Click OK to save. The Else statement is displayed in the Process window.
The Endif statement (Eif) marks the end of the If statement and any statements
based on the If condition. The Endif statement is only valid when used in
combination with the If statement.
Procedure
1. Select Process > Insert > End If.
2. Optionally, type a comment for the Process.
3. Click OK to save. The Endif statement is displayed in the Process window.
The Goto statement executes a jump to a specific statement that occurs later in a
Process. This statement cannot be used to loop to a statement earlier in the Process.
Use the Goto statement with the step label to define the location of the statement
in the Process.
Procedure
1. Take one of the following actions:
v To create a new Goto statement, select Process > Insert > Goto and enter the
statement label in the Target Label field.
v To modify an existing statement, double-click the Goto statement in the
Process window.
2. To add or modify optional comments, click the Comments tab and type the
comment.
3. Click OK to save the Process. The Goto statement is displayed in the Process
window.
Procedure
1. Select Process > Insert > Exit.
2. Optionally, click the Comments tab and add a comment to the Process.
3. Click OK to save the Process and exit the Exit Statement dialog box. The Exit
statement is displayed in the Process window.
You can use one or more of the following options in a Process or command:
v Control functions identify how tasks are managed and how resources are
allocated by defining default options once. Then these values are used as the
default values for each new command or Process you define.
v Security options identify user IDs and passwords needed to access the SNODE
and the PNODE.
v Variable values assign values to all symbolic variables before execution. The
values are then substituted during execution whenever the symbolic variable is
encountered.
v Accounting data as a free-form, user-defined field sets up accounting and
tracking information about Process execution and data transfers. You can track
Use the Security options to specify the user IDs and passwords needed to access
the PNODE and the SNODE.
Procedure
1. Double-click the Process to open it and click the Security tab.
2. To set security for the PNODE, do the following:
a. Type the PNODE user ID in the PNODE Userid fields.
b. Type the PNODE password in the Password field.
3. To set security for the SNODE, do the following:
a. Type the SNODE user ID in the Snode Userid field.
b. Type the SNODE password in the Snode Password fields.
c. To change the password for the user ID on the SNODE, type the new
password in the New Password field.
d. Type the new password a second time in the Verify New Password field to
validate the change.
4. Click OK to close the dialog box or click one of the other tabs to continue
modifying Process options.
When you run a command or submit a Process, you can set many control
functions to use as the default values for each new command or Process you
define.
Procedure
1. Double-click the Process to open it and click the Control tab.
2. To specify a run date, select one of the following start dates:
v Today—If you want the program to run today.
v Date—To specify a date to run the Process. Click the selection arrow and
click a date on the calendar to specify the date.
v Day—If want to run the Process on a certain day; then select a day of the
week from the drop-down box.
3. To specify the time to run the task, select one of the following:
Note: If you select Yes for RETAIN and you specify a start time, HOLD status
takes precedence. If you set HOLD to No or Call, and set RETAIN to Yes,
HOLD is ignored.
6. If you are sending Processes to a location that supports CD Plexclass, type the
class value of the remote node, from 1 to 8 characters, in the Plexclass field.
7. In the CRC field, select one of the following options:
v Blank—To use the default value for the Process that was configured in the
Initparms and the Netmap entry for the remote node.
v OFF—To turn off CRC checking.
v ON—To turn on CRC checking.
8. To change the TCQ priority, type a value in the Priority field from 1 to 15,
where 15 is the highest priority.
9. To change the preferred session class, type the preferred session class in the
Class field, from 1 to the maximum local sessions defined in the network
map.
10. Type the user ID in the Notify Userid field.
11. Click OK to close the dialog box or click one of the other tabs to continue
modifying Process options.
Use symbolic variables to assign values to variables before execution. The values
are then substituted during execution whenever the symbolic variable is
encountered.
Procedure
1. Double-click the Process in the Requester and click the Accounting tab.
2. Type the information in the PNODE field to specify accounting data for the
PNODE. The maximum length of the string is 256 characters.
3. Type the information in the SNODE field to specify accounting data for the
SNODE. The maximum length of the string is 256 characters.
4. Click Reset to Defaults to reset to values specified in the Process Defaults page
of the Options dialog.
5. Click OK to close the dialog, or click one of the other tabs to continue
modifying Process options.
Add Comments
About this task
Procedure
1. In the Process window, select the statement about which you want to add
comments.
2. Select Process > Statement Properties.
3. Click the Comment tab.
4. Type the text in the Comment field.
5. Click OK to save the changes.
When you finish creating or modifying a Process, validate the content of the
Process.
Validating Process content checks the syntax for errors or missing information.
Validation does not check the content of the statements, only that they are
Procedure
1. Open the Process file.
2. Select Process > Validate.
3. View the messages displayed in the Output window. If messages indicate
invalid statements, edit the statements and validate the content of the Process
again.
Saving a Process
About this task
When you have finished creating or editing a Process, save the Process for future
use. Processes are stored in the Process directory.
Procedure
1. Select File > Save.
2. Type a name for the Process including the .CDP extension.
Copying a Process
About this task
You can use a Process as a template by copying the Process, making changes to the
copy, and saving the copy to a new Process file.
To copy a Process:
Procedure
1. Open the Process file.
2. Select File > Save As.
3. Save the Process with a new file name.
4. Change the Process statements. To change the Process statement, press Enter to
access the Process Properties dialog box.
5. To save the Process file with the changes, from the File menu, select Save.
You can change the following Process options once a Process is submitted:
v SNODE
v Hold
v Execution
v Class
v Priority
Procedure
1. Right-click the open Process Monitor window and select Change Process. The
Change Process dialog box is displayed.
2. Make the necessary changes.
3. Click OK.
Using Work Lists saves you time and effort by automating routine or repetitive
submission tasks. You can build a Work List to periodically submit related work as
a single work flow. Your Work List can serve as a library of related or unrelated
Processes.
Procedure
1. From the Sterling Connect:Direct Requester Main Window, select File > New >
Work List.
2. Add Work List items as desired.
3. To establish an automatic status monitor for the Work List as it executes,
perform the following actions:
a. Select WorkList > Work List Properties.
b. Activate Auto Monitor.
c. If you want the selected units of work to execute serially, turn on Serial
Execution. This feature causes the Submit action to wait until each unit of
work is completed before submitting the next unit of work in the Work List.
Processes are considered successfully completed if they do not have a status
of HI, PE, or EX.
4. To define substitution variables for the Work List, click the Variables tab. Select
one of the following actions:
When you create a Process, a Send/Receive File Command, a Run Task Command,
or a Run Job Command, you can add the command to a Work List.
Use the Work List to define substitution variables, which you can set at submit
time. All the variables must have assigned or default values before the Work List is
submitted.
Procedure
1. Add a command.
2. Select Add to Worklist from the command you are creating.
Procedure
Once you create a Work List, perform one of the following actions.
v To submit all items in the Work List, select WorkList > Submit.
v Highlight the items to submit and select WorkList > Submit Selected.
When you submit a Work List or a task from the Work List, the Work List or task
is submitted to the TCQ. If you activate Auto Monitor, a Work List status window
displays the work items as they are submitted.
Although you cannot close a Work List until all of its tasks are executed, you can
cancel the execution of the tasks in a Work List.
You can edit the text of a Work List to change command statements.
CAUTION:
Editing the text of a Work List is a task for experienced users.
Procedure
1. Open the Work List that you want to edit.
2. Select Work List > Edit/View Text.
3. Edit the text as necessary using the following keyword and syntax rules. The
Work List Edit/View Text window enables you to see the full text of all tasks in
a Work List. You can edit the text directly if necessary. Put a keyword on a line
by itself.
Keyword Description
Set Work Task List
Submit Ad Hoc Process Task
Submit File= Submit Process Task
Run Local Program Task
4. Close the window. The program displays a message asking if you want to save
your work.
5. Click Yes. Your Work List is validated and saved. Any errors found during
validation are displayed at the bottom of your screen.
Procedure
1. Select Work List > Insert.
2. Select one of the following options to identify the task type to add to the Work
List:
v Submit from File
v Send/Receive
v Run Task
v Run Job
v Local Program
v Comment
3. Type any arguments in the box.
4. Enter the information for the Process in its dialog box.
5. Click OK. The Work List window is displayed.
Procedure
1. Open the Work List that you want to validate.
2. Select the tasks you want to validate.
3. Select Work List > Validate. The validation information is displayed at the
bottom of your screen.
The SMTP standard is one of the most widely used upper layer protocols in the
Internet Protocol stack. This protocol defines how to transmit messages (mail)
between two users. SMTP uses spooling to allow mail to be sent from a local
application to the SMTP application, which stores the mail in some device or
memory. Once the mail has arrived at the spool, it is queued. A server checks to
see if any messages are available and then attempts to deliver them. If the user is
not available for delivery, the server tries later. Eventually, if the mail cannot be
delivered, it will be discarded or returned to the sender.
Manage Processes
Sterling Connect:Direct for Microsoft Windows provides the following tools to
manage Processes:
v Process Monitor—Enables you to view Processes in the TCQ, release held
Processes, change the status of a Process, and delete a Process. After you submit
a Process, it is placed in the Transmission Control Queue (TCQ).
v Process Notification Utility—Enables you to change the notification method. You
define the method of notifying users of Process execution when you install
Sterling Connect:Direct for Microsoft Windows.
v Microsoft Windows Event Logging—Logs informational, warning, and error
messages.
v Messages—If you need to troubleshoot the meaning of an error message, you
can view more information about an error message with the Message Lookup.
v SNMP—If you use Microsoft Windows SNMP to capture messages, you must
identify the messages you want to include and determine if messages are
trapped or logged to the event log.
v Activity Log—This document contains a list of Sterling Connect:Direct activities,
including every significant activity that you have requested from the time the
activity log is opened until it is closed. Each activity record logged is maintained
with the significant data associated with it. For example, when you save a file,
the Save activity record is stored, with the file name of the saved document.
The Activity Log is created at startup and is enabled by default. It can be
viewed in the Output window by clicking the Activity Log tab. You may create,
save, open, close, and print Activity logs. To save an activity log, you must
specify that you want the activity log written to a file. When you open a new
activity log, the currently active Log is inactivated. You must close Sterling
Connect:Direct Requester in order to open an activity log.
The initialization parameter tcq.start determines what the TCQ does with existing
Processes. The default value is tcq.start=w (warm start), which specifies that all
existing Processes in the TCQ are retained. A warm start restarts any Processes
submitted with the Process statement parameter retain=initial as well as any
Process that was executing in the TCQ when the server was brought down. You
can change the parameter to tcq.start=c (cold start) to delete all existing Processes
in the TCQ when the server restarts.
As sessions are available, the TCQ releases Processes to begin execution according
to the Process class and priority, as shown in the following figure:
Each Process in the queue is assigned a status. The queues and status values are
identified in the following sections.
Execution Queue
Processes are placed in this queue after the connection to the SNODE occurs.
Processes typically come from the Wait queue, but also can be placed in the
Execution queue by a submit command with maxdelay= specified. After a Process
successfully finishes, it is automatically deleted from the Execution queue. When a
session is interrupted, the Process moves from the Execution queue to the Timer
queue, if retry values are specified. If connection is not made before the retry
Status Comment
EX Process is executing between two Sterling Connect:Direct nodes.
PE Processes waiting for Process start messages to be exchanged between the
PNODE and the SNODE. This is the initial queue status when a Process is
submitted with maxdelay= specified.
Wait Queue
Processes are placed in the Wait queue while waiting for an available connection
between the PNODE and the SNODE. Processes can come to the Wait queue from
the Hold queue or the Timer queue. Processes also can be placed in the Wait queue
by a submit command with no parameters specified, submit with retain=no, or
submit with hold=no. After the connection is made, Processes automatically move
to the Execution queue. The following table displays the status values assigned in
the Wait queue:
Status Comment
WC The Process is ready to execute, but no session is available. This Process runs
as soon as a new session is created or an existing session becomes available.
WR The Process is in retry status. The number of retries and intervals between
retries is specified in the network map for the remote node.
WA The initial queue status when a Process is submitted without HOLD or
RETAIN specified. This Process is ready to execute as soon as possible.
Hold Queue
Processes are placed in this queue while waiting for operator intervention before
progressing to the Wait queue. This queue enables operators of the PNODE and
SNODE to coordinate and control Process execution.
Processes are placed in the Hold queue by a submit command with retain=initial,
retain=yes, or hold=yes parameters specified. Processes submitted with hold=call
also are placed in the Hold queue. Processes are moved from the Timer queue to
the Hold queue by a change process command with hold=yes specified. Processes
are moved from the Hold queue to the Execution queue by a change process
command with the release parameter specified.
The following table displays the status values assigned in the Hold queue:
Status Comment
HC The Process was submitted with hold=call specified. A session started from the
remote node causes the Process to be moved to the Wait queue in WC status.
The Process is placed in the Execution queue when the Process is selected for
execution.
HI The Process was submitted with hold=yes. The Process can be released later by
a change process command with release or hold=no specified.
HE A session error or other abnormal condition occurred.
HO A change process command with hold=yes was specified.
Timer Queue
Processes are placed in this queue by a submit command with the startt parameter
specified. Processes in the Wait for Start Time (WS) status are waiting for the start
time to arrive before moving to the Wait queue. Processes also are placed in the
Timer queue in Retry (WR) status after an error, such as a line break or a lost
connection. Sterling Connect:Direct automatically tries to execute the Process again
based on the number of times to retry and the delay between retries as specified in
the submit command, Process statement, network map parameters, or initialization
parameters. Processes move from the Timer queue to the Wait queue. A change
process command with hold=yes specified moves the specified Process from the
Timer queue to the Hold queue.
The following table displays the status values assigned in the Timer queue:
Status Comment
RE The Process is in retry status. The number of retries and intervals between
retries is specified in the network map or initialization parameters.
WS The Process was submitted with a start time (startt) or date that has not
expired. When startt is reached, the Process is placed in the Wait queue for
scheduling for execution.
You can use more than one monitor to view different queues or to look at
Processes based on different criteria. You can arrange Process Monitors and save
the Workspace view so that when you enable that view, the Monitors are
automatically displayed. You can define how you want to display the Process
Monitor, what types of Processes you want to view, and what queues you want to
view.
Procedure
1. Select File > New > Process Monitor.
2. Do one of the following:
v To monitor all Processes, select All Processes.
Select the criteria to use to include in a Process Monitor. Select one or more of the
following filters: the status of a Process in the queue, the remote nodes included in
a Process, the user who submitted a Process, or a Process name or number.
Procedure
1. Open a Process Monitor window.
2. Select Filter Using Selection Criteria Pages.
3. To include Processes in a Process Monitor based on TCQ queue:
a. Click Status.
b. Select the status types you want to monitor. You are not limited to the
number of status types you can request. The status types are defined in the
following table:
Status Description
Execution Processes that are being serviced by the session manager.
Pending Execution The Process was submitted with the maximum delay option set
to zero.
Waiting Connection The Process is ready to execute as soon as a session is available.
Waiting Start Time The Process is waiting in the Timer Queue because it was
submitted with a start time or date that has not expired. When
the start time is reached, the Process is placed in the Wait queue
to schedule for execution.
Held Suspension The operator issued a delete process request with hold set to
Yes.
Timer Retry The Process is waiting for a retry attempt.
Held for Call The Process was submitted with the Hold option set to Call. A
session started from either node moves the Process to the Wait
queue in WC status. The Process is placed in the Execution
queue when the Process is selected for execution.
Held Due to Error A session error or other abnormal condition occurred.
Held Initially The Process was submitted with the Hold option set to Yes.
Held by Operator A change process request with hold set to Yes has been issued.
Procedure
1. Select Files > Open.
2. From Files of Type, select Process Monitors (*.cdm) to display only Process
Monitor files.
3. Locate and select the Process Monitor file to open.
Saving a Process Monitor to a file lets you use the same format and monitor
criteria again. When you save a Process Monitor, you are saving the criteria and
the format of the Process Window; not the Process information displayed at the
time you save the monitor.
Field Content
Name Process name.
Number Process number.
Step Name Process step name currently executing.
Status Current status of the Process.
Queue Logical queue where the Process is currently located (Execution, Hold,
Wait, or Timer).
Byte Count Number of data bytes read or written.
Submit Node Node name from which the Process was submitted.
Submitter User ID of the person who submitted the Process.
Pnode Primary node in the Process.
Snode Remote or partner node in the Process.
Message Message associated with the current Process step.
Source File Name of the source file.
Submit Date/Time Date and time the Process was submitted.
Schedule Date and time the Process was scheduled to be submitted.
Date/Time
Retain Identifies if the Process is to be retained in the TCQ for future
submission.
Function Type of Process statement currently executing (COPY, RUNJOB,
RUNTASK, SUBMIT).
CC Completion Code.
0—Success
4—Warning
8—Error
16—Severe error
FDBK Feedback code.
Message Text Message short text.
Message Data The substitution variables with their values for the short text.
Log Date/Time The date and time the Process record was created.
Through the output display, you can accomplish the following tasks:
v View details associated with a Process
v View the condition that caused a warning flag on a Process
v Change the order of fields displayed
Procedure
Notification Methods
NT Broadcast
Sterling Connect:Direct for Microsoft Windows uses the msg command to
accomplish notification through NT Broadcast. The notification is sent to the
specified user or users attached to a particular computer or domain on behalf of
the user context that Sterling Connect:Direct is running in.
After the notification ID is specified from within the Process Control Options
category of the Process Definition dialog box, Sterling Connect:Direct supplies the
user as an argument in the msg command. If the specified recipient cannot be
located, or is not logged on, the notification fails and is not attempted again.
Procedure
1. Validate that the Sterling Connect:Direct service has been stopped by selecting
Start > Settings > Control Panel > Administrative Tools > Services and
making sure the Sterling Connect:Direct service is stopped. If not, select the
service and click Action > Stop.
2. Click Start > Programs > IBM Sterling Connect:Direct > v4.6.00 > CD Change
Notification Utility.
3. In the Node Name field, type or select the local node to configure. The current
notification for the node is displayed in the Transport field.
4. NT Broadcast is the default setting for the notification methods. If want to use
SMTP as the notification method, select SMTP in the Transport field and type
the following information in the fields provided:
v Host Address—SMTP server address, as the DNS name or IP address.
v Host Port—Port to connect to the SMTP server. Default=25.
v Sender—e-mail address uses for the sender.
v Turn on Authentication to enable it. Provide a user ID and password to sign
on to the SMTP server.
Sterling Connect:Direct for Microsoft Windows also uses the Microsoft Windows
Event Logging facility to log certain messages that the server generates during
execution. Sterling Connect:Direct selects specific record IDs or event types when
logging statistics. Sterling Connect:Direct assigns these record IDs severities and
passes them on to the Microsoft Windows Event Logging facility. The event.log
initialization parameter controls the statistics IDs that Sterling Connect:Direct sends
to the Microsoft Windows event log.
The statistics file stores information about all events that take place within the
Sterling Connect:Direct server for a specific period of time. The amount of time is
determined by the value specified for the stat.max.age initialization parameter.
Each record within the statistics file consists of fields that contain general
information about the record and a field that contains the statistics or audit
information to log.
In the fixed portion, the following fields are defined for the statistics files:
Field Description
EntryDateTime Date and time that the record was inserted into the statistics file. The
format is YYYYMMDD HHMMSSTTT.
SeqNum Sequence number.
RecID A 4-character ID that describes the type of record.
RecCat A 4-character ID that describes the category of record.
PrcName Name given to the Process when it is submitted.
PrcNumber Number assigned to the Process when it is submitted.
StartTime Start time of a Process step, if this is a Process step statistics record.
StopTime Stop time of a Process step, if this is a Process step statistics record.
SubmitterNode Node that the Process was submitted on.
SubmitterUserID User that submitted the Process.
RemoteNode Remote node for the Process.
ConditionCode Condition code for the statistics record.
AuditInfo Variable portion of the statistics record.
If the existing statistics file cannot be extended, the server issues a message to the
Microsoft Windows event log and terminates immediately. The server terminates
all activity as if issuing a stop command with the immediate parameter. Any
statistics records that are usually written during stop immediate processing are not
created in this situation.
Field Definition
Log Specifies the date and time the statistics record was created.
Date/Time
Type Specifies whether the record is event or Process related.
Each row is a statistics record. Select the row to view statistics record details. You
can also modify the appearance of the Statistics Monitor window.
The stat.max.age parameter controls the amount of time that the server retains the
statistics record in the database. When statistics records reach the value specified
by the stat.max.age parameter, the server automatically deletes them. To retain all
of your records, back up your database regularly or set stat.max.age= to disable
automatic deletion.
The Process number is the number assigned by Sterling Connect:Direct when the
Process is submitted.
Procedure
1. Open or create a Statistics Monitor.
2. Select Filter Using Selection Criteria Pages.
3. Click Add.
4. To view statistics based on Process name:
a. Click the Process tab.
b. Click the New icon.
c. Type the Process name and press Enter.
d. Continue the previous two steps until you have added all Process names
to monitor.
5. To view Statistics based on Process number:
a. Click the New icon.
b. Type the Process number and press Enter.
c. Repeat this step until you have added all Process numbers to monitor.
6. To view statistics based on a user ID:
Option Description
Conditional To limit the statistics based on error code values, select the condition
Code Range code delimiters in the first drop-down box including:
Delimiters v Equal to
v Greater than or equal to
v Greater than
v Less than or equal to
v Less than
v Not equal to
Conditional To limit the statistics to selected error codes, select the error code value
Code Range from this drop-down box including:
Error Codes v 0
v 4
v 8
v 16
v Any
Field Description
Log Date/Time The date and time the statistics record was created.
Type The record category.
Record ID Category
CHGP Event
COAC Event
CRHT Event
CSTP Event
CTRC Process
CTRM Event
CUKN Event
CXIT Event
After you close the reformatted display, that format becomes the default format.
Merging this critical error information with the event log enables the system
administrator to have a single point of focus for error information from all
Microsoft Windows subsystems. The Event Logging facility also allows for easy
correlation of the various error messages that both Sterling Connect:Direct and
Microsoft Windows generate.
The event log receives the following information from Sterling Connect:Direct for
Microsoft Windows:
The following sample uses the event.log initialization parameter to log Process
start and stop, Process flush, and Process errors to the event log.
event.log=PERR,PFLS,PRED,PSTR
If you want to view a category of events in the log, you can sort the event log by
using the Filter Events option. You can filter the event log by specifying settings
that control a range of events by date and time. You can also filter the event log by
particular event types, application source and category, particular user, computer,
and Event IDs. See the Microsoft Windows documentation for more information on
the Event Viewer and the filter functionality.
Note: You can also view messages with the select message command from the CLI.
Viewing Messages
About this task
Use the Sterling Connect:Direct Message Lookup Utility to view the short and long
text explanations for error messages.
To activate SNMP trapping, set the SNMP initialization parameter to Y. The default
is N.
The configuration file is used by both SNMP and event logging. It is specified by
the SNMP.DSN initialization parameter and the default file name is:
installation directory/snmp/snmp.ini
The configuration file enables you to customize the events that can be trapped. By
default, all events are enabled. If you want to disable some events or define other
messages to be trap events, edit this file with any standard editing tool.
When the server is started, the SNMP and EVENTLOG initialization parameters
are checked. If the SNMP and EVENTLOG parameters are not specified, SNMP
and event logging are not activated.
Alarm trap variables signal events that are critical to the operation of Sterling
Connect:Direct for Microsoft Windows. Status trap variables signal events that are
not critical to the operation of Sterling Connect:Direct for Microsoft Windows but
show valuable information. The tables in the following sections describe the
predefined traps, the message that triggers the trap, and a description of the trap
and associated text.
Valid values for all events are YES (or Y) to enable and NO (or N) to disable.
This section identifies the Sterling Connect:Direct traps supported and identifies
the messages associated with the trap. Sterling Connect:Direct traps are defined in
two groups: status traps and alarm traps.
v Status traps are not critical to the operations of Sterling Connect:Direct for
Microsoft Windows but display important information.
v Alarm traps are more serious.
Initialization Events
The following table details status events that occur at initialization.
Shutdown Events
The following table details status events that occur at shutdown.
The following table details the alarm event that occurs at shutdown:
API Events
The following table details the status event that occurs from the API.
Execution Events
The following table details status events that occur when a Process executes.
The following table details alarm events that occur when a Process executes:
Miscellaneous Events
The following table details other status events.
For example, when you save a file, the Save activity record is stored, with the file
name of the saved document. The Activity Log is created at startup. It is
minimized and located in the lower left-hand corner. You may create, save, open,
close, and print Activity logs. When you open a new activity log, the active Log
that is already open is deactivated.
The activity log information is lost when you close Sterling Connect:Direct
Requester unless you set the activity log information to write to a file.
Procedure
1. Select Tools > Options.
2. To display the activity log in the output window, check Enable the activity log
in the output window.
3. To write the activity log to a file:
a. Select Write the Activity Output to a File.
b. Type the name of the file.
c. To create a new activity log every time you start Requester, select Create
New File at Startup.
d. To append activity to the existing log file at start up, select Append to
Existing Activity File.
4. Click OK.
Type Events
Use the events in the following table to enable or disable all alarm or status events.
The main window contains an icon representing the local computer and a traffic
light icon for each Sterling Connect:Direct node on the computer. A running server
is represented by a green light, a stopped server is represented by a red light, and
a server in the process of starting or stopping is represented by a yellow light.
Select To
Start a server. The traffic light icon displays a green light when the server is starting
or running.
Stop a server. The traffic light icon displays a red light indicating the server is not
running.
Set general properties for a Sterling Connect:Direct for Microsoft Windows server.
Stop the server before setting general properties.
Display the About Admin Tool dialog box.
Click a menu bar or toolbar item, to access a description of its function. This action
does not work when a dialog box is open.
Use the Admin Tool utility to start and stop a Sterling Connect:Direct server.
Procedure
1. Select the server to start or stop.
To configure general, TCP/IP, SNA, and database properties for a server, use the
Properties dialog box.
CAUTION: You must stop the Sterling Connect:Direct service before you configure
properties. Stopping the service interrupts any Processes that are running.
Procedure
1. Click the server to configure.
2. If the server is running, click the stop icon to stop the server.
3. Select Server > Initialization Properties.
4. Select one of the following Service Startup methods from the pull-down
menu:
v Automatic to start Sterling Connect:Direct every time the system starts.
v Manual to start Sterling Connect:Direct manually.
v Disabled to prevent Sterling Connect:Direct from being started.
5. If necessary, change the settings on the General properties page. Refer to the
following table for a description of the fields:
6. Click the API tab. If necessary change the default values of API fields. Refer to
the following table for a description of the fields:
7. Click the TCP/IP tab. If necessary change the default values of TCP/IP fields.
Refer to the following table for a description of the fields:
9. Click the SNA tab. If necessary, change SNA field values. Refer to the
following table for a description of the SNA fields:
You can also view or print a report that lists all nodes that are registered in Active
Directory. In order to add or delete a node from Active Directory, you must be a
member of the Enterprise Admins group.
Note: You can only add or delete Active Directory entries if Active Directory
services have been implemented in your environment.
Procedure
1. Start the Admin Tool utility.
2. Select Active Directory > Create.
3. Select the node to add and click Add.
Procedure
1. Start the Admin Tool utility.
2. Select Active Directory > Delete.
3. Select the node to delete and click Remove.
Procedure
1. Start the Admin Tool utility.
2. Select Active Directory > Report. The Active Directory Report is displayed.
Refer to “Traceoff Command” on page 140 and Traceon Command for instructions
on using the CLI to define or turn off traces.
Defining a Trace
About this task
Procedure
1. Start Requester.
2. Select Admin > Tracing.
3. To set trace information for selected functions, turn on tracing for the specific
Sterling Connect:Direct events.
v CMGR—Capture the interaction between clients and the server.
v PMGR—Capture server Process changes.
v MAIN—Capture server initialization and termination.
v STAT—Capture statistics activity.
v SMGR—Capture the execution of Processes and the interaction of the server
with other nodes.
v COMM—Capture interactions with external communications facilities
invoked from Session Manager.
4. To set tracing for all available events, click Full Tracing.
5. Generate a configuration report is selected by default. If you do not want to
generate a configuration report, turn off this option.
6. To specify output file information:
a. Click the File tab.
Stopping a Trace
About this task
To stop a trace:
Procedure
1. Select Admin > Tracing.
2. Set the trace that you want to stop to OFF.
3. Click All Off to turn off all tracing.
4. Click OK.
p — Starts a Process Manager trace. This trace shows all events related
to the Process Manager and to Session Manager startup by the main
server executable.
b — Starts a basic trace that includes only module entry and exit
records. This is the default.
f — Starts a full trace that shows all trace data produced by i plus
certain Sterling Connect:Direct control blocks and internal information.
-twrp Specifies that the trace file should wrap once it reaches its maximum
size.
-tfil=filespec Specifies the fully qualified name of the trace file that receives output.
The default is CDTRACE.CDT in the directory where the Sterling
Connect:Direct for Microsoft Windows server executable resides.
Microsoft Windows Services treats a backslash (\) as an escape character,
so type two backslashes for each backslash in the file path.
Example:
-tfil=c:\\users\\default\\trace.it
bytesK: You can specify the file size by using the K (x1000) suffix.
bytesM: You can specify the file size by using the M (x1000000) suffix.
For Session Manager (s) or Communications (o) trace types, the following
parameters are also available:
Sterling Connect:Direct uses the following facilities to address errors for Process
recovery:
v Process step restart
v Automatic session retry
v Checkpoint/restart
v Run Task restart
When you release the Process for execution, Sterling Connect:Direct automatically
begins execution at the beginning of that statement. No user specification is
required for Process step restart. Sterling Connect:Direct always performs Process
step restart.
If a session error occurs, the Process moves to the Timer queue in retry (RE) status
and short-term and long-term wait times begin. After short-term and long-term
wait times expire, the Process is moved to the Hold queue.
The file sender provides positioning information to the receiver when a checkpoint
interval is reached. The receiver stores this information, along with its destination
file positioning information, in the checkpoint file. The last four sets of positioning
information are retained in the checkpoint file. At restart, each set of information is
used until the file is successfully repositioned. If repositioning fails, then the entire
file is retransmitted.
The checkpoint parameter in the Process copy statement specifies the byte interval
at which checkpoints are taken.
Note: See the IBM Sterling Connect:Direct Process Language Reference Guide for use of
the checkpoint parameter in the copy statement.
If a run task Process step restarts, the node where the operation executes attempts
to find the checkpoint information in the TCQ header. If the run task step is still
executing, the Process that is running for the restart of the step waits for the run
task operation to finish the first task and proceed to the next step of the Process, if
there is one.
When the first Process finishes, it determines that the session under which it was
running has been lost and terminates without logging statistics records that
indicate a session failure. The second Process records how the run task step that
was still executing ended and proceeds to the next step in the Process.
If Sterling Connect:Direct determines at restart that the run task operation ended
because it finished before the PNODE restarted the Process, then the run task step
does not execute again. However, if the run task operation did not finish and is not
currently running, then the value of the runtask.restart initialization parameter
determines whether to restart the Process.
Note: For a full description of all run task statement parameters, see the IBM
Sterling Connect:Direct Process Language Reference Guide.
If you are troubleshooting a Sterling Connect:Direct for z/OS server, gather the
following information:
v Network map parameter definitions
v Local Node source
v Remote Node source
v For SNA connectivity, provide the following:
– z/OS LU definition
– z/OS PU definition
– z/OS APPLID
– z/OS LOGMODE definition entry
Note: See “Define and Manage the Sterling Connect:Direct Network” on page 13
for field content.
Make a copy of this worksheet for each communications mode in the network.
Buffer Size
CRC
UDT Communications Mode Name
Buffer Size
CRC
APPC Communications Mode Name
Max RU Size
Max Sessions
Note: See “Define and Manage the Sterling Connect:Direct Network” on page 13
for field content.
Make a copy of this worksheet for each communications path in the network.
Communications
Path Information Needed
TCP/IP Communication Path Name
Communications Mode
Communications Mode
APPC Communications Path Name
Communications Mode
Transport Type
SDLC
v Local SNA Network
v LU Name
Use the information on this worksheet when you modify your network map. See
“Define and Manage the Sterling Connect:Direct Network” on page 13 for field
content.
Note: The components below correspond to the tabs on the Netmap Node
Properties dialog box.
Network Map
Component Information Needed
Main Options Node Name
Operating System
Default Class
Partner LU Name
APPC Mode
Communications Communications Path Names
Path
Note: You must designate at least one path.
Description Contact Name
Information
Contact Phone Number
Comment
See “Configuring the Sterling Connect:Direct Local Node” on page 1 for field
content. Make a copy of this worksheet for each Sterling Connect:Direct user.
Type of Authorization
Information Information Needed
Main Options Local User ID
Chapter 8. Worksheets 93
Type of Authorization
Information Information Needed
Administrative Indicate whether the administrator has the authority to update
the following:
v User Authorizations
v Upload
v Remote User Proxies
v Download
Directory Restrictions Specify the directory where you are allowed to perform the
specific tasks. If you do not specify a directory, you can
perform the specific task from any directory to which the
Microsoft Windows security enables access. This authority is
effective regardless of whether the request is submitted from
the local or remote system. However, the remote user proxy
can override the directory specification.
v Upload Directory
v Download Directory
v Process Directory
v Program Directory
Server Control Grants authority to perform the following tasks in Sterling
Connect:Direct:
v Stop (Sterling Connect:Direct)
v Refresh (initialization parameters)
v Trace
v Update Network Map
v Update Translation Table
Statements Authorization Grants authority to use the following statements in Sterling
Connect:Direct Processes:
v Trace
v Copy
v Run Job
v Run Task
v Submit
Process Control Submit Grants authority to manipulate and observe Processes in the
TCQ.
Overrides Authorization Grants authority to override the following Microsoft Windows
defaults:
v Execution Priority
v ACL Updates
v File Attributes
v Remote Node ID
v CRC
Type of Authorization
Information Information Needed
Main Options Remote Node Name
Remote User ID
Local User ID
Upload Directory
Download Directory
Process Directory
Program Directory
Chapter 8. Worksheets 95
96 IBM Sterling Connect:Direct for Microsoft Windows: System Guide
Chapter 9. Change Sterling Connect:Direct Settings
Change Sterling Connect:Direct for Microsoft Windows Settings
When you install Sterling Connect:Direct for Microsoft Windows, initialization
parameters are created in the Microsoft Windows registry and are used to
determine settings at initialization. Initialization parameters (also called initparms)
set the default values of Sterling Connect:Direct functions.
Category Description
Miscellaneous Miscellaneous commands describe server path, download and
upload directories, dialup entries, and security exits.
Statistics Information Statistics settings determine the maximum age that statistics
records are kept and what commands are logged in the
statistics file.
TCQ Information TCQ settings determine default values for the Process file
directory, remote node run task operations, the length of time
a Process is held in error, and how the TCQ handles Processes
during server startup.
Global Copy Parameters Global copy settings determine default checkpoint intervals,
translation tables and translation directories.
Local Node Characteristics Node settings define the name of the local node, and
determine default values for functions such as session class,
maximum connections, maximum API connections, buffer
sizes, and short- and long-term attempts and retries.
[Miscellaneous Commands]
server.path=C:\Program Files\Sterling\Connect Direct v4.6.00\Server\
proc.prio.default=10
exec.prio.default=7
download.dir=C:\Program Files\Sterling\Connect Direct v4.6.00\Server\DOWNLOAD\
upload.dir=C:\Program Files\Sterling\Connect Direct v4.6.00\Server\UPLOAD\
program.dir=C:\Program Files\Sterling\Connect Direct v4.6.00\Server\PROGRAM\
restrict.cmd=N
security.exit=<None>
notify.level=A
file.exit=<None>
event.log=All
snmp=N
snmp.eventlog=N
snmp.trapstat=Nsnmp.dsn=C:\Program Files\Sterling\Connect Direct v4.6.00\Server\
snmp\snmp.ini
certificate.directory=C:\Program Files\Sterling Commerce\Connect Direct v4.6.00\
Server\Secure+\Certificates
s+cmd.enforce.secure.connection=Y
[TCQ Information]
tcq.max.age=30
tcq.start=W
process.dir=C:\PROGRAM FILES\STERLING COMMERCE\CONNECT DIRECT V4.6.00\SERVER\
PROCESS\
runtask.restart=N
[Statistics Information]
stat.max.age=7
log.select=N
log.commands=Y
stat.sort=Y
Procedure
1. Click Start > All Programs > IBM Sterling Connect:Direct > v4.6.00 > CD
Requester.
2. In Sterling Connect:Direct Requester, select Admin > Initialization Parameters.
If you have not attached to Sterling Connect:Direct, the Connect:Direct Attach
dialog box is displayed.
3. Attach to the server.
4. In the initialization parameters file, place the cursor after the equal sign
following the parameter you want to change.
5. Type the new value. Refer to the parameters tables for the name, definition,
and valid values for each command parameter.
6. Select Initparms > Apply to update and save changes.
Miscellaneous Parameters
The miscellaneous parameters determine the server path, default Process priority,
event log values, and various restricted directories.
See the IBM Sterling Connect:DirectProcess Language Reference Guide for a description
of the copy Process statement.
Statistics Parameters
The Sterling Connect:Direct statistics facility logs information about Sterling
Connect:Direct operations. The statistics information parameters define the
characteristics of the statistics facility, such as the maximum age of a statistics
record.
You can enter IP addresses/host names and ports in several ways depending on
the field you are specifying:
v Address or host name only
v Port number only
v Address/host name with a port number
v Multiple address/host name and port combinations
IP Addresses
Sterling Connect:Direct for Microsoft Windows accepts both IPv4 and IPv6
addresses. Wherever an IP address is specified in Sterling Connect:Direct for
Microsoft Windows, you can use either IPv4 or an IPv6 addresses.
IPv4 Addresses
IPv6
2001:0db8:85a3:0000:1319:8a2e:0370:1337
can be shortened as
2001:0db8:85a3::1319:8a2e:0370:1337
v Any number of successive 0000 groups may be replaced with two colons (::), but
only one set of double colons (::) can be used in an address. For example:
001:0db8:0000:0000:0000:0000:1319:58ab
2001:0db8:0000:0000::1319:58ab
v Leading zeros in a four-zero group can be left out (0000 can be shortened to 0).
For example:
2001:0db8:0:0:0:0:1319:58ab
v You can write a sequence of 4 bytes that occur at the end of an IPv6 address in
decimal format using dots as separators. For example:
::ffff:102:304
or
0000:0000:0000:0000:0000:ffff:0102:0304
::ffff:1.2.3.4
Host Names
When you specify a host name rather than an IP address, Sterling Connect:Direct
for Microsoft Windows does a DNS lookup to get the IP address from the
operating system. The first IP address returned in the DNS lookup is used
regardless of whether it is in IPv4 or IPv6 format.
Port Numbers
Port numbers can be appended to the end of IP/host addresses when they are
preceded by a semicolon (;), for example, 10.23.107.5;1364. This convention is
specific to Sterling Connect:Direct for Microsoft Windows and is not an industry
standard.
A port number must be in the range of 0 through 65535. Port numbers lower than
1024 are designated as reserved and should not be used. The following examples
show port numbers appended to IP/host addresses using these conventions:
A space can be added after the comma for readability. For example:
You can also specify a port number for each address or host name. The port is
separated from its corresponding address/host name with a semicolon (;), and
each address/host name and port combination is separated by a comma (,). A
space may be added after the comma for readability. The following example shows
multiple address/host name and port combinations:
Multiple address/host names (and combinations with port numbers) are limited to
1024 characters.
Sterling Connect:Direct for Microsoft Windows supports masks for both IPv4 and
IPv6 addresses, as shown in the following sample entry from the initparms.cfg file:
(199.2.4.*, 1000)—Any IPv4 address that falls in the range from 199.2.4.0 through
199.2.4.255 and uses only port 1000.
(fd00:0:0:2015::0/48, 6000, 7000)—Any IPv6 address that falls in the range from
fd00:0:0:2015:0:0:0:0 through fd00:0:0:ffff:ffff:ffff:ffff:ffff and uses port 6000 or port
7000.
If you prefer to use a command line interface, use the CLI to issue requests
interactively, or you can submit them automatically from batch files or command
files. The CLI enables you to perform the following tasks:
v Connect to the Sterling Connect:Direct server
v Issue Sterling Connect:Direct commands
v Submit a Process
v Change a Process
v Delete a Process
v Retrieve Process status information
v Retrieve Process statistics records
If you want to connect to a Sterling Connect:Direct server using the CLI, use the
Logon Connection utility.
This utility can be used to run batch-oriented jobs. It enables you to identify the
parameters necessary to connect to a server. It then saves this information to a
configuration file. If you do not identify a directory, the file is saved in the root
directory.
After you create the configuration file, invoke the CLI and include the -f
parameter, to identify the location and file name for the configuration file. Then
define a user ID and password in the Microsoft Windows setup utility.
Procedure
1. Type the following command to run the LCU batch file:
LCU -fx:\directory\filename
where x:\directory is the location to save the configuration file and file name is
the name of the configuration file.
2. Enter the following information to identify the connection parameters for the
server:
Procedure
1. From a command prompt, navigate to the Common Utilities directory where
the CLI is installed or define the CLI location in the user's path.
2. To start the CLI, type the following command, including any of the parameters
you wish to specify:
Parameters Description
-fLogonFile File to use to automatically connect to a Sterling
Connect:Direct server.
-nNodeName Node name or IP address.
-uUserId User ID to use to connect to the node.
-pPassword Password to use connect to the Sterling Connect:Direct node.
-l By default, the CLI limits output to 128 characters per line.
Include this switch to display longer lines, such as file names
or sysopts strings.
-mScrollLineCount The number of lines to display before pausing the statistics
and Process output. Value is calculated automatically if
parameter is not defined.
To terminate the CLI, use the quit command followed by a semicolon as shown in
the following example:
CLI Commands
The following table provides a summary of all available commands that can be
used with the CLI.
Command Syntax
The following information describes the general conventions used in the command
syntax:
v All commands must be followed by a semicolon.
v User names, passwords, and parameters are case sensitive.
v Command keywords are not case sensitive.
v File names, group names, user IDs, and passwords are defined as variable-length
strings. Names referring to objects on other nodes can be subject to restrictions
imposed by the other node type.
v Length restrictions for Sterling Connect:Direct node names are specific to type of
field and data.
v If a parameter specifies the word generic as a parameter value, you can type a
string that includes an asterisk (*) or a question mark (?) to provide pattern
matching or wildcard matching for parameter values. The asterisk matches zero
or more characters, and the question mark matches any single character.
Chapter 11. Submit a Process Using the Command Line Interface 119
v When list is a parameter value in the syntax definition, you can specify multiple
parameter values by enclosing the group in parentheses and separating values
with commas. A list can also include generic values. An example follows:
pname=(payproc,arproc,ivproc,a?prod5*)
Piping Conventions
The Sterling Connect:Direct for Microsoft Windows CLI supports the following
piping conventions:
v <filename.ext uses the file for input
v >filename.ext uses the file for output
submit
test process snode=dsd.unix
cp copy from (file=testfile.dat pnode)
to (file=test.dat snode)
pend;
select statistics;
select process;
quit;
By typing the following command, you can execute all of the commands in the
COMMANDS.TXT file.
Note: A batch file can also be created containing the direct < commands.txt line if
you want to execute these commands from a batch file.
Parameters override the same parameters specified in the Process statement. The
submit command also enables you to resolve symbolic parameters found in the
Process.
The values for the execution priority range from 1 to 15 and are mapped to
Microsoft Windows Process priority classes and values. The highest priority
is 15.
yes—Places the Process in the Hold queue in HI (Held Initial) status until
you explicitly release it by a change process command. When you specify
both hold=yes and a startt value, the hold specification takes precedence. A
Process with hold=yes is placed in the Hold queue even if you specify a
start time.
no—Does not place the Process in the Hold queue. The Process executes as
soon as resources are available.
call—Holds the Process until the SNODE connects to the PNODE. At that
time, the software releases the Process for execution. It also releases the
Process when another Process on the PNODE connects to the SNODE.
pacct=“pnode accounting data” A string, up to 256 characters, to be used as accounting data for the
PNODE. Enclose the string in double quotation marks.
pnodeid=(id , pswd) Security user IDs and passwords at the PNODE. The subparameters can
contain 1 to 48 alphanumeric characters. You must specify both the ID and
the password.
maxdelay=unlimited | hh:mm:ss | 0 Causes the command processor to wait until the submitted Process
completes execution or the specified time interval expires.
If the time interval expires, the command processor returns a warning status
code and message ID. The Process is not affected by the time interval
expiration and executes normally.
Chapter 11. Submit a Process Using the Command Line Interface 121
Parameter Description
sacct=“snode accounting data” Accounting data, from 1 to 256 characters, for the SNODE. Enclose the
string in double quotation marks.
retain=yes | no | initial Determines whether a copy of the Process is retained in the TCQ for
re-execution after the Process executes.
yes—Specifies that the software retains the Process in the Hold queue in HR
status after execution. Issue a change process command to release the
Process for execution.
initial—Specifies that the software is to retain the Process in the Hold queue
in HR status for automatic execution every time Sterling Connect:Direct
initializes.
If startt is set, you must set retain=yes to execute the Process at regular
intervals based on the value of startt.
If retain=initial, do not use the startt parameter. This causes the submit
command to fail.
snode=[nodename] | [hostname | Identifies the SNODE. The SNODE name is a 1- to 16-character
IPaddress ; portnumber | alphanumeric string. Specify the node either on the submit command or
servicename] Process statement. If you specify the node in this submit command, it
overrides the node specified in the Process statement.
Specify the host name or IP address, a semicolon, and the port number or
service name. For more information on specifying valid IPv4 and IPv6
addresses and ports, see Specifying IP Addresses, Host Names, and Ports.
If you specify the password, you must also specify the ID. If you specify a
new password, you must also specify the existing password.
prty=nn The selection priority of the Process for execution. This priority parameter is
used for Process selection. A Process with a higher priority is selected for
execution before a Process with a lower priority. The priority value does not
affect the priority during transmission.
date—Specifies the day, month, and year, that you can code as
mm/dd/yyyy or mm-dd-yyyy. You can code month and day as one or two
digits and year as two or four digits. If you only specify date, the time
defaults to 00:00:00. The current date is the default.
day—Specifies the day of the week. Values are today, tomorrow, Monday,
Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
If the time you specify has already passed, Sterling Connect:Direct schedules
the Process for the next valid date and time. For example, if you set the
Process to start daily at 5:00 PM, or startt=(, 17:00), and the Process submits
at 5:30 PM, Sterling Connect:Direct schedules the Process to run the next
day.
If you specify only the day value, the time defaults to midnight (00:00:00).
This means that if you submit a Process on Monday, with Monday as the
only startt parameter, the Process does not run until the following Monday
at midnight.
Do not set the startt parameter if retain=initial. This causes the submit
command to fail.
&symbolic name n=“variable string A symbolic parameter assigned a value. The value is substituted within the
n” Process when the software encounters the symbolic parameter. The symbolic
within the Process must be enclosed within quotes.
Examples
The following command submits the Process named payroll.cdp. Because the
command specifies retain=yes, the Process is retained in the TCQ after execution.
The Process starts the next Monday at 00:00:00. The command specifies Process
accounting data for the PNODE.
The following command submits the Process named copyfil.cdp. Because the
command specifies startt, the Process executes on the first day of January 2003 at
11:45 a.m.
Chapter 11. Submit a Process Using the Command Line Interface 123
Change Process Command
Use the change process command to modify specified parameters for a
nonexecuting Process or Processes in the TCQ.
Select the Processes to change by Process name, Process number, SNODE name,
submitter ID, or a combination of these.
Note: All changes affect the Process in the TCQ, not the original text of the Process
as submitted.
Command Parameters
change process /* Search Criteria */
[pname=Process name | generic | (list)]
[pnumber=Process number | (list)]
[snode=snode name | generic | (list)]
[submitter=(node name, userid) | generic | (list)]
/* The following parameters specify the characteristics of Sterling
Connect:Direct Processes that you can modify. */
class= | session number
execprty=nn
hold=yes | no | call
newsnode=new snode name
release
prty=nn
Search Parameters
Parameter Description
pname=Process name | generic | The name of the Process or Processes. The name can
(list) be 1 to 8 alphanumeric characters long.
pnumber=Process number | (list) The Process number of the Process. The Process
numbers are assigned when you submit the Process.
Valid Process numbers range from 1 to 99999.
snode=snode name | generic | Searches for a Process or Processes by the SNODE
(list) (partner) name. The SNODE name can contain 1 to 16
alphanumeric characters. You can use the IP address
of the SNODE as your SNODE name.
Change Parameters
Parameter Description
class=nn | session number Changes the node-to-node session on which the
Process can execute. A Process can execute on the
specified class or any higher session class.
execprty=nn The execution priority of the Process. The values for
the execution priority range from 1 to 15 and are
mapped to Microsoft Windows Process priority
classes and values. The highest priority is 15.
Example
The following command changes the SNODE name for any nonexecuting Process
named cdproc to a new SNODE name, paris.
Chapter 11. Submit a Process Using the Command Line Interface 125
change process pname=cdproc newsnode=paris;
You can select the Processes to delete by Process name, Process number, SNODE
name, submitter, or a combination of these. The format for the delete process
command follows:
Command Parameters
delete process /* Search Criteria */
[pname=Process name | generic | (list)]
[pnumber=Process number | (list)]
[snode=snode name | generic | (list)]
[submitter=(node name, userid) | generic | (list)]
/* Processing Parameters */
[force=yes | no]
[hold=yes | no]
Search Parameters
Use the parameters to identify the Processes you want to delete. You can delete
Processes by name, number, node, or a combination of the criteria.
Parameter Description
pname=Process name | generic | The name of the Processes, from 1–8 alphanumeric
(list) characters, to delete.
pnumber=Process number | (list) The number of the Process to delete. The Process
number is assigned when the Process is submitted.
snode=snode name | generic | The SNODE name of the Processes to delete. The
(list) SNODE name can be 1 to 16 alphanumeric characters
long.
submitter=(node name, userid) | The submitter node name and user ID of the
generic | (list) Processes to delete. The maximum combined length,
including the node name and user ID, is 66
characters.
Processing Parameters
Define one or more of the following parameters to identify how the deleted
Processes are managed:
Examples
The following command deletes all Processes submitted by userid cduser on node
dallas. If the Processes are executing, it stops and removes them from the TCQ.
The following command deletes all Processes named rome from the TCQ. If the
Processes are executing, the command forcibly terminates them.
Chapter 11. Submit a Process Using the Command Line Interface 127
Format
Command Parameters
select process /* Selection Criteria */
[pname=Process name | generic | (list)]
[pnumber=Process number | (list)]
[queue=all | exec | hold | wait | timer]
[snode=snode name | generic | (list)]
[status=ex | hc | he | hi | ho | hr | hs | pe | re | wa | wc | ws
| (list)]
[submitter=(node name, userid) | generic | (list)]
/* Display option */
[detail=yes | no]
Selection Parameters
Specify one or more of the following selection parameters. If you do not specify
one of the following selection parameters, all Processes in the TCQ you are
authorized to access are selected.
Parameter Description
pname=Process name | generic | Identifies the Process name, up to 8 alphanumeric
(list) characters long.
pnumber=Process number | (list) Identifies Processes numbers to select. The Process
number is assigned when you submit the Process.
Valid Process numbers range from 1–99999.
queue=all | exec | hold | wait | Identifies queue names to select.
timer
all—Selects all queues. This is the default.
Display Parameter
The following display parameter generates a detailed report of the select process
command.
Parameter Description
detail=yes | no Specifies the type of report generated for the selected Process or
Processes. The default is no.
Examples
The following example shows the report information returned when specifying
detail=yes.
Chapter 11. Submit a Process Using the Command Line Interface 129
==================================================================
SELECT PROCESS
==================================================================
Process Name =>SAMPLE Class =>
Process Number =>38 Priority =>
Submitter Node =>CSDPUBS Pnode CSGPUBS
Submitter user1 Snode CSGPUBS
Retain Process =>N
Submit Time =>09:54:33 Schedule Time =>
Submit Date =>10/30/2002 Schedule Date =>
Queue =>HOLD
Process Status =>HI
Message Text =>
--------------------------------------------------
Process Name =>SAMPLE Class =>
Process Number =>39 Priority =>0
Submitter Node =>CSGPUBS Pnode =>CSGPUBS
Submitter user Snode =>CSGPUBS
Retain Process =>N
Submit Date =>09:54:35 Schedule Time =>
Submit Date =>10/30/2002 Schedule Date =>
Queue =>HOLD
Process Status =>HI
Message Text =>
--------------------------------------------------
The following example shows the report information returned when specifying
detail=no or omitting the detail parameter.
==================================================================
SELECT PROCESS
==================================================================
PROCESS NAME NUMBER USER SUBMITTER NODE QUEUE STATUS
----------------------------------------------------------------
SAMPLE 39 user CSGPUBS HOLD HI
SAMPLE 39 user CSGPUBS HOLD HI
Command Parameters
select message Selection Criteria
msgid=message ID
Parameter Description
msgid=message id The Sterling Connect:Direct message ID of
the message request. Do not use generic
specifications. This parameter is required.
Example
Type the following command at the CLI prompt to retrieve the text of Sterling
Connect:Direct message LCCC00I:
select message msgid=LCCC00I;
When using the select statistics command, specify your selection criteria carefully
to avoid displaying excessive volumes of records. If you do not provide selection
criteria, all records for the day are retrieved.
Chapter 11. Submit a Process Using the Command Line Interface 131
Format
Command Parameters
select statistics /* Selection Criteria */
[ccode=(operator, code)]
[dfile=destination filename | (list)]
[pname=Process name | generic | (list)]
[pnumber=Process number | (list)]
[reccat=caev | capr | (caev,capr)]
[recids=record id | (list)]
[snode=snode name | generic | (list)]
[sfile=source filename | (list)]
[startt=([date | day][, hh:mm:ss[am|pm]])]
[stopt=([date | day][, hh:mm:ss[am|pm]])]
[submitter=(node name, userid) | generic | (list)]
Note: To use a wildcard within the submitter parameter, you must
have administrator access.
/* Display option */
[detail=yes | no]
Parameters
Provide one or more of the following parameters to determine what statistics are
returned:
ne | != Not equal
Chapter 11. Submit a Process Using the Command Line Interface 133
Parameter Description
reccat=caev | capr | (caev , capr) Selects statistics based on whether the record category
is related to events or to a Process.
COAC—Communication activated
LIOK—Listen okay
PPER—Pipe error
PRED—Process ended
PRIN—Process interrupted
Chapter 11. Submit a Process Using the Command Line Interface 135
Parameter Description
QCEX—A Process moved from another queue to the
EXEC queue
SBED—Submit complete
SERR—System error
SNMP—SNMP
TCPI—TCP started
Chapter 11. Submit a Process Using the Command Line Interface 137
Parameter Description
startt=([date | day] [, time]) Selects statistics starting with records logged since the
specified date, day, or time. The date, day, and time
are positional parameters. If you do not specify a
date or day, type a comma before the time.
Provide this optional parameter if you want to generate a report of the statistics
that are generated:
Parameter Description
detail=yes | no Specifies the type of report generated for the selected Processes.
The default is no.
Example
The following example shows the report information returned when specifying
detail=yes.
==================================================================
SELECT STATISTICS
==================================================================
PROCESS RECORD Record Id=>SUBP
Process Name =>SAMPLE Stat Log Time =>09:54:33
Process Number =>38 Stat Log Time =>07/30/2003
Submitter Id =>user1
Snode =>CSGPUBS
Completion Code =>0
Message Id =>
Short Text =>
---------------------------------------------------------
PROCESS RECORD Record Id=>SUBp
Process Name =>SAMPLE Stat Log Time =>09:54:33
Process Number =>39 Stat Log Time =>07/30/2003
Submitter Id =>user1
Snode =>CSGPUBS
Completion Code =>0
Message Id =>
Short Text =>
---------------------------------------------------------
The following example shows the report information returned when specifying
detail=no or omitting the detail parameter.
Chapter 11. Submit a Process Using the Command Line Interface 139
==================================================================
SELECT STATISTICS
==================================================================
P RECID LOG TIME PNAME PNUMBER STEPNAME CCOD FDBK MSGID
P RECID LOG TIME MESSAGE TEXT
-----------------------------------------------------------------
P SUBP 07/30/2003 09:54:33 SAMPLE 38 0 0
P SUBP 07/30/2003 09:54:35 SAMPLE 39 0 0
The following command generates statistics output for Process number 7. The
output consists of all records for that Process starting with those generated on July
11, 2003.
Traceoff Command
The Sterling Connect:Direct server provides a comprehensive trace facility that
assists in the diagnosis of problems relating to any facet of the operation of the
server. Use the traceoff command to disable a trace started with the traceon
command.
Format
Command Parameter
traceoff [file=filename]
[type=cmgr | pmgr | smgr | comm | (list)]
[dest=destination | (list)]
[pnode | snode]
[pname=process name | (list)]
[pnum=process number | (list)]
Note: The dest, pnode, pname, and pnum parameters are valid for smgr and
comm traces only.
Specify one or more of the following parameters to identify the trace to turn off
including the output file of the trace, the type of trace, the destination, the node,
and the Process name or number.
Parameter Description
file=filename The name of the trace output file. The
default is CDTRACE.CDT.
The following parameters are valid for SMGR and COMM trace types only. The
dest, pnode, snode, pname, and pnum parameters are mutually exclusive.
Parameter Description
dest=destination | (list) The destination node name of the Process you want to stop
tracing or a list of up to four node names.
pnode | snode The PNODE or SNODE session managers.
Example
The following command turns off the full SMGR trace for the Process named
payroll.
Traceon Command
Use the traceon command to enable the trace facility. The trace facility enables you
to capture information to assist in the diagnosis of Sterling Connect:Direct
problems.
Chapter 11. Submit a Process Using the Command Line Interface 141
Format
Command Parameters
traceon [file=filename]
[filesize=nnK | nnM | 0]
[level=basic | intermediate | full]
[type=cmgr | pmgr | smgr | comm | (list)]
[wrap=yes | no]
[dest=destination | (list)]
[pnode | snode]
[pname=process name | (list)]
[pnum=process number | (list)]
Note: The dest, pnode, pname, and pnum parameters are valid for smgr and
comm traces only.
Parameters
Parameter Description
file=filename The name of the output file if you want to
write the trace information to a file. The size
of the name can range from 1 to 256
characters. The default is CDTRACE.CDT in
the Sterling Connect:Direct directory.
filesize=nnnK | nnnM | 0 The maximum file size as a number of
kilobytes (K) or megabytes (M). A value of 0
indicates that the file can grow indefinitely.
level=basic | intermediate | full The level of trace detail.
Chapter 11. Submit a Process Using the Command Line Interface 143
Help Command
Use the help command to receive a list of the commands supported by the Sterling
Connect:Direct CLI.
Any command with a –? or /? will display the syntax for the command's usage.
command /?;
or
command -?;
Format
Command Parameters
stop [force | immediate | step| quiesce]
Parameters
Parameter Description
force Forcibly terminates the Sterling
Connect:Direct server with no attempt to
terminate executing Processes in an orderly
fashion or write statistics to disk. Sterling
Connect:Direct releases all server resources,
including connections, LU 6.2 sessions,
memory, and semaphores. It retains all
active Processes in the TCQ and restarts
them when you restart the Sterling
Connect:Direct server.
immediate Begins an immediate, but orderly, shutdown
of all activity and terminates Sterling
Connect:Direct. The software terminates
connections, writes statistics records, closes
files, and shuts down. It retains all active
Processes in the TCQ and restarts them
when you restart the Sterling Connect:Direct
server.
Example
stop force;
Chapter 11. Submit a Process Using the Command Line Interface 145
146 IBM Sterling Connect:Direct for Microsoft Windows: System Guide
Chapter 12. Modify Translation Tables
Translation Tables
Sterling Connect:Direct translates data from one character set to a different
character set, such as from ASCII to EBCDIC, using character translation tables.
These translation tables provide greater flexibility in the translation of data when
copying data to or from a Sterling Connect:Direct node.
Default translation tables are defined in the initialization parameters for the
Sterling Connect:Direct node. You also have the ability to specify a different
translation table in the sysopts parameter with each Copy statement. Sterling
Connect:Direct provides two standard translation tables for use when sending or
receiving data to or from a remote Sterling Connect:Direct node:
v XLATERCV translates data from EBCDIC to ASCII.
v XLATESND translates data from ASCII to EBCDIC.
Translation is only performed when the data type is text. No translation is done if
the data type is binary.
Procedure
1. Select Admin > Translation Table.
2. Type the name of the translation table file, or select one of the following default
translation tables from the drop-down list:
v XLATERCR.CDX
v XLATESND.CDX
3. Click OK.
Each cell stores the character value for the target character set. The source
character set is used as an index into the table. For example, an ASCII blank
(Hex 0) would fetch the byte at offset Hex 0 in the translation table. If the byte
at location Hex 0 contains Hex code 40, that would translate to an EBCDIC
code indicating a blank character.
4. To view the shortcut menu, right-click in the Translation Table dialog box.
5. Select one of the following representations for the table element:
v Hex
v Dec
v Oct
6. Select the elements in the table you want to modify and type in the new
values.
7. Right-click to see the shortcut menu and click Apply to save your changes.
8. Click OK to save your changes to the selected Sterling Connect:Direct node.
To use Sterling Connect:Direct Requester, refer to “Define and Manage the Sterling
Connect:Direct Network” on page 13 for instructions.
The Sterling Connect:Direct for Microsoft Windows client software uses the
Microsoft Windows Registry to store its configuration information. The Client
Connection Utility allows you to update the connection settings within the
Registry.
CAUTION: Use the Client Connection Utility to update any Registry settings
rather than editing them directly.
You can view, edit, and update Sterling Connect:Direct for Microsoft
Windowsconnection settings in the Microsoft Windows Registry with the Client
Connection Utility. These settings enable communication between the user
interfaces and the Sterling Connect:Direct server. You can set up and update
connection settings in the following ways:
v Add and delete a node
v Add and delete a user
v Configure node and user properties
v Define a default node or user
To facilitate updating connection settings on multiple servers, you can import and
export connection settings using the Client Connection Utility. After you configure
the connection for a server, you can export the server's settings for use on other
servers. You can then import the settings into the target server's Registry. You can
also print connection settings.
Procedure
1. Click Start > All Programs.
2. Click IBM Sterling Connect Direct > v4.6.00 > CD Client Connection Utility.
The Client Connection Utility main window is displayed.
The Client Connection Utility lets you add new Sterling Connect:Direct nodes and
identify the properties of the nodes, such as node name, TCP/IP address, and port
number. These properties establish a node so you can access it from Sterling
Connect:Direct Requester or the Command Line Interface (CLI).
Procedure
1. Select File > New Node.
2. To add a node registered in the Active Directory, follow these steps:
a. Select Windows in the Operating System field.
b. Select the node to add from Active Directory Nodes.
Note: Click Refresh to update the address and port stored on the local
computer with the values from the Active Directory listing.
3. To add a node that is not registered in the Active Directory, follow these steps:
a. In the Name field, type the name of the Sterling Connect:Direct node you
want to add.
b. If necessary, change the operating system value in the Operating System
field.
c. In the Address field, type the TCP/IP address of the new node.
d. The Port field automatically defaults to 1363; if necessary, type in a different
port number.
4. To specify the new node as the default node, click Set as the default node.
5. Click OK to save your settings and close Node Properties.
6. Select File > Save to save the new settings.
Attention: Changes made to the node settings are not written to the Registry
until you select Save.
Deleting a Node
About this task
To delete a node:
Procedure
1. In the Client Connection Utility main window, select the node you want to
delete.
2. Select Edit > Delete.
3. Select File > Save to delete the node.
Attention: Changes made to the node settings are not written to the Registry
until you select Save.
To add a new Sterling Connect:Direct user from the Client Connection Utility:
Note: Changes made to the node settings are not written to the Registry until
you select Save.
To delete a user from the node using the Client Connection Utility:
Procedure
1. Click the plus (+) sign next to the node containing the user you want to delete.
2. Select the user you want to delete.
3. From the Edit menu, select Delete.
4. From the File menu, select Save to delete the user.
Note: Changes made to the node settings are not written to the Registry until
you select Save.
Procedure
1. Do one of the following:
v To update a node, highlight the node you want to configure.
v To update a user, highlight the user you want to configure.
2. Select File > Properties.
The Client Connection Utility allows you to define a default node or default user.
The default node and user will be used by the Sterling Connect:Direct Requester
and the CLI.
Procedure
1. Do one of the following:
v To define a default node, highlight the node you want to designate as the
default.
v To define a default user, highlight the user you want to designate as the
default.
2. Select File > Save to save the settings.
Attention: Changes made to the node and user settings are not written to the
Registry until you select Save.
The Sterling Connect:Direct Client Connection Utility allows you to import and
export connection settings to a file. These settings can be saved and used on
another computer or node.
Procedure
1. Select the node to which to import the Registry settings.
2. Select File > Import.
CAUTION:
Importing a Registry settings file causes all current changes to the selected
node to be lost if they have not been saved.
3. Select the Registry settings file you want to import (.REX extension) and click
OK.
4. Select File > Save to save the settings.
Attention: Changes made to the node settings are not written to the Registry
until you select Save.
Procedure
1. Select File > Print.
2. Configure the print settings and click OK. A report of all Registry settings is
generated.
3. Select File > Print Preview to preview the Registry settings report.
4. Click Zoom In to enlarge the text and read the report.
5. Click Print to print the report, or click Close to close without printing the
report.
Note: Additional node detail is provided if the node has been used at least
once by the client software.
You can enable test mode for production instances of Sterling Connect:Direct for
Microsoft Windows to perform the following functions:
v Test new applications and customer connections
v Prevent future production work from executing until testing is complete after
you have terminated all active production work using the Flush Process
command
v Resume regular production work after testing
v Control individual file transfers by application
v Enable and disable individual nodes and applications
You enable the testing mode using the quiesce.resume initialization parameter and
specify which Sterling Connect:Direct Processes to run and not run by storing your
preferences as text records in a parameter table named NDMPXTBL. A sample
parameters file, NDMPXTBL.sample, is located in the /Server/samples directory.
Note: You can modify the quiesce.resume initialization parameter while the server
is active.
You can specify the following criteria that are used to find matches for one or more
Processes to include (using the “I” command code) or exclude (“X” command
code) from execution:
v A partial or full Process name
v A partial or full remote node name
v A partial or full Sterling Connect:Direct submitter ID and submitter node
combination
In addition to telling Sterling Connect:Direct which Processes to run, you tell the
system what to do with the Processes which do not get executed. You can specify
the following dispositions for Processes not permitted to run:
v Place the Process in the Hold queue
v Place the Process in the Timer queue for session retry
v Flush the Process from the queue
For more information on how the testing mode can be used, see “Sample Test
Scenarios” on page 158 in this section.
Note: For Processes initiated on remote nodes, the testing mode functions in the
same manner as it does for Processes submitted on the local Sterling
Connect:Direct node except that the remote node is the PNODE (Process owner)
for that Process, and the local node is the SNODE (secondary node). The
NDMPXTBL Parameter Table is searched for a matching entry, and the
remotely-initiated Process is either permitted to execute or is excluded from
execution. Because the local node is the SNODE for this type of transfer, it cannot
enforce the Process disposition setting in the NDMPXTBL parameter table. The
remote PNODE determines how the Process is handled. Typically, the remote node
places the Process in the Hold queue with a status of “HE” (Held in Error).
You can create or update the parameter table file while the server is active. Any
changes made to the file take effect for sessions that begin after the changes are
made.
Procedure
1. To modify the sample NDMPXTBL parameter table supplied with Sterling
Connect:Direct for Microsoft Windows, open any text editor.
2. Change the table using the following commands.
SACTQ0ACD@*—Matches ID
ACTQ0ACD from all nodes
Chapter 14. Use Sterling Connect:Direct for Microsoft Windows in a Test Mode 157
Command Code Description Subparameters/Examples
I Includes Processes for execution that match the ER
patterns in the table which follow this command
code. Either “I” or “X” must be the second I
non-comment entry in the table. Processes which
do not match a pattern in the table are not NCD.BOSTON
executed.
Includes Processes for execution on
Note: To choose which command code to use to
the CD.BOSTON node only. Processes
select Processes, determine which group is smaller
destined for all other remote nodes
and use the corresponding command Code. For
are placed in the Timer queue in
example, if the number of Processes to be executed
session retry.
is smaller than the number of Processes to exclude
from execution, specify “I” as the command code
and add patterns to match that group of Processes.
X Excludes from execution those Processes that match EH
the patterns in the table which follow this
command code. Either “X” or “I” must be the X
second non-comment entry in the table. Processes
which do not match a pattern in the table are DALLASOPS@*
executed.
Excludes Processes for execution
submitted by the ID SDALLASOPS
from any node.
L Last entry in table.
3. When you update the parameter table, name it NDMPXTBL and save it to the
Server directory of the installation.
In this example, Sterling Connect:Direct executes all Processes that start with ACH
or are named DITEST01 or DITEST02. All other Processes are placed in the Hold
queue.
In this example, Sterling Connect:Direct does not execute any Process that starts
with ACH or is named DITEST01 or DITEST02. All other Processes are executed.
In this example, Sterling Connect:Direct executes all Processes that match one of
the following criteria:
v The specific secondary node (SNODE) name is DI.NODE1
v An SNODE whose name starts with DI0017
v Any Sterling Connect:Direct submitter ID from node DI0049
v The specific Sterling Connect:Direct submitter ID SACHAPP from any node
All Processes not matching one of the above criteria are flushed from the queue.
In this example, no Processes will not be executed, and a non-zero return code will
be displayed, which signifies an error along with message ID LPRX003E. The
remainder of the table is ignored (including the “F” code to flush Processes from
the queue), and all Processes are placed in the Hold queue.
* Execute no processes at all. Put them in the hold queue and return.
DF
I
PACH*
PDITEST01
PDITEST02
L
Chapter 14. Use Sterling Connect:Direct for Microsoft Windows in a Test Mode 159
160 IBM Sterling Connect:Direct for Microsoft Windows: System Guide
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
IBM Corporation
Armonk, NY 10504-1785
U.S.A.
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
J46A/G4
U.S.A.
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows:
© IBM 2014. Portions of this code are derived from IBM Corp. Sample Programs. ©
Copyright IBM Corp. 2014.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at “Copyright and
trademark information” at http://www.ibm.com/legal/copytrade.shtml.
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered
trademarks or trademarks of Adobe Systems Incorporated in the United States,
and/or other countries.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo,
Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or
registered trademarks of Intel Corporation or its subsidiaries in the United States
and other countries.
Notices 163
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Java™ and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
Linear Tape-Open, LTO, the LTO Logo, Ultrium and the Ultrium Logo are
trademarks of HP, IBM Corp. and Quantum in the U.S. and other countries.
Other company, product, and service names may be trademarks or service marks
of others.
Product Number:
Printed in USA