35cd Ovms User Guide
35cd Ovms User Guide
for OpenVMS
User’s Guide
Version 3.5
Connect:Direct for OpenVMS User’s Guide
Version 3.5
First Edition
Copyright © 1989 - 2010.
Sterling Commerce, Inc.
ALL RIGHTS RESERVED
CDOVMSUG1011
Contents
Using Placeholders......................................................................................................... 25
Access Control Considerations ...................................................................................... 27
Deleting Processes................................................................................................................. 41
Reviewing the Command Format .................................................................................. 41
Parameters ...................................................................................................................... 42
Qualifiers........................................................................................................................ 42
Examples ........................................................................................................................ 43
Required Parameter........................................................................................................ 49
Qualifiers ....................................................................................................................... 49
Stopping Connect:Direct....................................................................................................... 69
Reviewing the Command Format .................................................................................. 70
Parameters...................................................................................................................... 70
Qualifiers ....................................................................................................................... 70
Examples........................................................................................................................ 70
Submitting a Process............................................................................................................. 70
Reviewing the Command Format .................................................................................. 71
Required Parameters ...................................................................................................... 71
Qualifiers ....................................................................................................................... 72
Examples........................................................................................................................ 75
Glossary
Index
8 Connect:Direct for OpenVMS User’s Guide
Chapter 1
The Connect:Direct product links technologies and moves all types of information between networked
systems/computers. It manages high-performance transfers by providing such features as: automation,
reliability, efficient use of resources, application integration, and ease of use. Connect:Direct software offers
choices in communications protocols, hardware platforms, and operating systems. It provides the flexibility to
move information among mainframes, midrange systems, desktop systems, and LAN-based workstations.
The Connect:Direct for OpenVMS product supports connectivity between OpenVMS systems and the
following systems:
IBM systems (z/OS, VM, and VSE) using Transmission Control Protocol/Internet Protocol (TCP/IP)
Alpha AXP systems using DECnet and TCP/IP
HP NonStop, UNIX, NT, and OS/400 systems using TCP/IP
Refer to the Connect:Direct for OpenVMS Release Notes for enhancement and release-specific information.
Chapter 4, Using Connect:Direct for OpenVMS Commands, details the Connect:Direct for OpenVMS
commands, presented in alphabetical order.
Chapter 5, Using the Application Programming Interface, describes the API, its functions and supported
routines, and its usage.
Appendix A, Event Logging Facility-Event Information, describes event information relating to the event
logging facility.
Glossary defines Connect:Direct terms used in this manual.
Convention Description
UPPERCASE Uppercase letters in the command format indicate that you type in information as shown.
LETTERS
UPPERCASE and A statement, command, or parameter in uppercase letters followed by lowercase letters indicates
lowercase Letters an alternative to typing the entire command. For example, SELect PROCess means that you
need only type SEL PROC for the command to be valid.
lowercase letters Lowercase letters or words in commands or syntax boxes require substitution by the user. For
example, PNODE=primary-node-name indicates that you must provide the name of the primary
node.
Bold Letters Bold print in syntax boxes indicates Connect:Direct commands and required parameters. For
example, DSN=filename indicates that the parameter DSN is required.
Underlined Letters Underlining indicates default values for parameters and subparameters. For example,
RETAIN=Yes|No|Initial specifies that the default for RETAIN is NO.
Vertical Bars (|) Vertical bars indicate that you can supply one of a series of values separated by the vertical bars.
For example HOLD=Yes|No|Call specifies that Yes or No or Call is valid.
Italics Italic letters are placeholders for information you must provide. Italic font also indicates book,
chapter, and section titles and is used for emphasis in the text.
Monospaced Monospaced characters represent information for screens, commands, Processes, and
characters reports.
(characters of equal
width)
This chapter summarizes how to use Connect:Direct for OpenVMS through the user interface. The command
syntax is also discussed.
$ NDMUI:==$NDM$$DIRECTORY:NDMUI
Include the previous line in your LOGIN.COM file to avoid entering this string after each login.
With the DCL RUN command, enter the following at the command line:
$ RUN NDM$$DIRECTORY:NDMUI
Interactive Mode
You can invoke interactive mode by entering NDMUI at the DCL command-line prompt. The prompt
changes to Connect:Direct>. You can then enter a series of Connect:Direct commands. Press the
RETURN key at the end of each command to execute the command. The EXIT command returns control
to DCL.
The user interface maintains an internal command recall buffer. By using the up-arrow and down-arrow keys
on the keyboard, you can recall up to 20 previously issued commands. The command can be reissued as is, or it
can be modified and reissued.
Using Abbreviations
Abbreviations allow you to use as few keystrokes as possible to enter commands, required parameters, and
qualifiers.
Commands can be abbreviated to the shortest unique length, as with DCL. For example, you can abbreviate the
SHOW PROCESS command to SHO PROC, because no other Connect:Direct command begins with the
letters SHO and PROC. Similarly, you can abbreviate the /OUTPUT qualifier as /OUT, because no other
qualifier begins with OUT.
The following example shows the use of the SHO PROC and /OUT abbreviations:
Using Comments
Comments within Connect:Direct command procedures are denoted by asterisk (*). Command procedures are
discussed in the @FILENAME Command section of Chapter 4, Using Connect:Direct for OpenVMS
Commands. The following is a sample of commented text:
This chapter contains information about the following Connect:Direct for OpenVMS features:
Logicals
Type file records
Security
Process Status Checking
Checkpoint-restart
Online messages
Case sensitivity
Remote procedure execution
Script compilation
Event logging facility
$ HELP topic
16 Connect:Direct for OpenVMS User’s Guide
Symbols Status
Symbols Status
These symbols correspond to the status message displayed upon completion of a command issued in either
interactive or noninteractive mode. An example of a status message for a Process named SEND_VB that
submitted successfully follows:
If this Process is submitted within your command procedure, the previous status message is assembled into the
following status symbols:
NDM$$FDBK 0
NDM$$MSGID VSRV101I
NDM$$PNAME SEND_VB
NDM$$PNUM 6
NDM$$RC 0
Note: You can display Connect:Direct symbols by issuing the following OpenVMS command:
SHOW SYMBOL NDM$$*
If a Process is not submitted successfully, a Process name and Process number is not assigned. Therefore, the
values of the symbols representing PNAME and PNUMBER are NDM_NOPNAME and NDM_NOPNUM,
respectively. If the operation does not have a status, the value of NDM$$MSGID is NDM_NOMSGID.
msgid
is the message identifier.
msgfile
is the C:D OpenVMS message file.
If the message file parameter (p2) is not specified, the default value is ndm$$directory:msgfile.dat.
There is no default for the message identifier parameter (p1). If the message identifier does not exist, no
diagnostic information is displayed.
SET CASE defines a logical NDM$$PRESERVE_CASE. SET NOCASE clears the logical. There are no
parameters or qualifiers for these commands.
Note: You can define the NDM$$PRESERVE_CASE logical in the process table outside of
Connect:Direct.
If you define NDM$$PRESERVE_CASE, the /CASE qualifier becomes the default and need not be specified
explicitly when issuing commands. To override the default, you must specify the /NOCASE qualifier when
issuing commands. If you do not define NDM$$PRESERVE_CASE, the /NOCASE qualifier becomes the
default.
If you define the NDM$$PRESERVE_CASE logical but specify /NOCASE, Connect:Direct converts all
characters to uppercase. If you do not define the NDM$$PRESERVE_CASE logical but specify /CASE,
Connect:Direct preserves case for all characters that Digital Command Language (DCL) does not convert, for
example, characters enclosed in quotation marks.
Note: The RPX facility does not affect existing functionality. No changes to existing inbound execution
requests to OpenVMS systems are required.
Note: The procedure directory path must be readable by the specified user.
stepname
is an optional label assigned to the Connect:Direct for OpenVMS script statement.
20 Connect:Direct for OpenVMS User’s Guide
@rpx
indicates that the procedure executes asynchronously. In other words, the initiator does not wait until
the procedure is completed. The initiator only waits until the procedure begins execution.
@rpw
indicates that the procedure executes synchronously. In other words, the initiator waits until the
procedure is complete and receives the completion status.
procedure
specifies the name of the procedure to be executed.
p1-p8
specifies optional procedure parameters.
sacct
may be used to optionally extend the 'file I dsn' field when subnode=snode.
pacct
may be used to optionally extend the 'file | dsn' field when subnode=pnode.
subnode
specifies the system on which the procedure is to be executed. There is no default.
The length of the 'file | dsn' specification is limited to to 255 characters, however, the actual command
procedure execution request is obtained by appending the 'pacct' or 'sacct' fields to the 'file | dsn' specification
depending on the value of the 'subnode' field and the 'file' field must at least specify either '@rpxf or 'C@rpxwf.
Some Connect:Direct for OpenVMS platforms use the 'file' keyword and others use 'dsn' as a keyword to
specify the platform filename of the Connect:Direct for OpenVMS script or the type of construct to be
executed.
Parameters are delimited by spaces. Quote marks ( ‘ , " ) are removed. Null parameters are specified by an
exclamation point (!).
OpenVMS Configuration
A procedure name must:
have a filetype of '.COM’.
reside in the procedure directory specified by the NDM$$RPX-PROCEDURE-DIRECTORY system
logical name.
A procedure name may be up to 39 characters in length.
The context procedure defines the following reserved symbols:
rpx$node
specifies the name of the requesting node.
rpx$user
specifies the name of the requesting user.
rpx$pnam
specifies the session name assigned by the requesting node.
rpx$pnum
specifies the session number assigned by the requesting node.
Chapter 3 / Using Additional Features 21
rpx$step
specifies the session label assigned by the requesting node.
These symbols may be referenced by the user procedure to further qualify the execution context. The following
script requests that a procedure named 'sync_procedure' be executed on the OpenVMS system referenced by
the Connect:Direct for OpenVMS node name of 'vms.node.name'.
If this script is executed namel by a user named 'syncuser' and is assigned a session sequence number of 12345,
the procedure context symbol definitions will be as follows:
rpx$node = "SYNC.NODE.NAME”
rpx$user = "SYNCUSER"
rpx$pnam = "SYNCPROC"
rpx$pnum = "12345"
rpx$step = "SYNC0001"
The Remote Procedure Execution server process may be used optionally by any number of Connect:Direct
OpenVMS server processes and the startup of this optional facility should precede the startup of any
Connect:Direct OpenVMS server process which intends to use it.
Additionally, any Connect:Direct OpenVMS server process may be started or shut down independently of the
Remote Procedure Execution server process and the presence of the Remote Procedure Execution server
process does not automatically imply usage. In other words, one Connect:Direct OpenVMS server process may
employ this facility and another may not.
ndm$$rpx_procedure_directory
specifies the procedure directories. There is no default.
ndm$$rpx_procedure_queue
specifies the queue used to execute a procedure. The default is "SYS$BATCH".
ndm$$rpx_procedure_log
specifies whether a log file is to be produced. The default value specifies that no log files are to
produced. The default is " /nolog".
ndm$$rpx_procedure_start_tmo
specifies the maximum time in minutes to wait for the procedure to start execution from the time it is
queued. The maximum time is 24 hours. The default is 15 minutes.
ndm$$rpx_procedure_finish_tmo
specifies the maximum time in minutes to wait for the procedure to finish execution from the
procedure start time. The maximum time is 72 hours. The default is 60 minutes.
ndm$$rpx_procedure_nodelete
specifies that the context procedure should not be deleted. The default is "/delete”.
22 Connect:Direct for OpenVMS User’s Guide
ndm$$rpx_procedure_event_notify
specifies that RPX server trace opcom messages be generated which indicate the progress of a
procedure execution request. It is used for troubleshooting. The default specifies that no RPX server
trace opcom messages are generated.
ndm$$rpx_process-priority
specifies the RPX server process priority. The default is the system default process priority.
With the exception of 'ndm$$rpxgrocessgriority', these logical names may be defined dynamically. For
example, one may enable the generation of procedure log files to troubleshoot a problem and then deassign the
logcal name to prevent the logging of subsequent requests. The 'ndm$rpx_setparams.com' template startup
parameter file may be modified to define these logcal names at process startup.
Although the specification of a queue is optional, it is recommended that a site define a queue dedicated to
Connect:Direct OpenVMS RPX requests when using this facility. An example definition is provided in the
'ndm-sampsrc.tlbl example source library. The 'ndm$rpx_example_create_queue.com procedure creates the
execution queue 'ndm$$rpx-queue' with a job limit of 255 and a base priority of 6.
In general, the procedure directory and all components leading to it should be readable (and in the case of the
Connect:Direct OpenVMS Run Task statement, writeable as well) by the uic of the effective username under
which the procedure is actually run.
ndm$$rpx_translate_runjob_enable y
ndm$$rpx_translate_runtask_enable y
Procedure Testing
You may want to occasionally test a procedure external to Connect:Direct for OpenVMS. Use the
NDM_RPX_TEST.EXE image to test a procedure external to Connect:Direct for OpenVMS. The prompts
issued by this facility when run interactively are as follows along with the corresponding procedure execution
context parameter values:
Compiling a Script
By using a compiled script, you can:
reduce the time-to-execution overhead
increase security by concealing the remote access control stored in script files or in DCL procedures
enhance your ability to use the native OpenVMS queuing and scheduling facilities
use it repeatedly without modifying
The resulting compiled script is written to a file named ndm.csx. You can rename the file if desired.
Note: The /CSO qualifier does not execute the script; it just requests that a script object file be produced for
later use.
This form of script execution is faster and less resource-intensive than using the user interface (ndmui)
program. This is because no server process connection being is required and repetitive parsing is eliminated.
You can execute a compiled script directly within a DCL procedure or by the API routines. For information on
executing a compiled script using the API, refer to CSX Application Programming Interface on page 80.
24 Connect:Direct for OpenVMS User’s Guide
Execute a compiled script within a DCL procedure by using the ndm_csx_script_submit.exe image in either
of the following methods:
$ run ndm$$directory:ndm_csx_script_submit.exe
$ run ndm_csx_script_submit.exe
ndm$$csx_script_submit_filename
the filename of the script to be submitted. This parameter is required.
ndm$$csx_script_submit_environment
the optional environment name. The default value is NDM.
ndm$$csx_script_submit_waitcomplete
this optional definition specifies that the process is to await completion of the script. The value of this
parameter is irrelevant. The default action is to proceed.
ndm$$csx_script_submit_waittimeout
this optional definition specifies the maximum time (in minutes) to await script completion. The
default value is indefinite.
Note: A compiled script cannot be the object of a Connect:Direct for OpenVMS Submit statement
regardless of whether it is issued by the ndmui (user interface) program or whether it appears
as a language statement in a script file.
If the compiled script is successfully submitted, the following primary symbols will be defined:
ndm$$csx_sx_rqid
the request identifier assigned to the script by Connect:Direct for OpenVMS
ndm$$csx_sx_name
the request name assigned to the script by the user.
ndm$$csx_sx_number
the request number assigned to the script by Connect:Direct for OpenVMS
If the ndm$$csx_script_submit_waitcomplete parameter is specified, you can define a symbol
(ndm$$csx_sx_term) that reflects script termination status. Use the following Run Job clause to define the
termination status:
Double-quotes ("") must delimit the string and the pnode must be specified as part of the Run Job clause. An
example follows:
The previous script language statement returns a status of file-not-found to the process awaiting completion.
Usually the termination status returned to the process awaiting completion should be an OpenVMS completion
code; however, this is not enforced. If you did not define this symbol, or if an unrecoverable error occurred
(such as a remote authorization failure), Connect:Direct for OpenVMS will define this symbol. If
Connect:Direct for OpenVMS defines this symbol, it will always be a valid OpenVMS system completion
code.
Completion status is not and cannot be returned in the same manner and context as in standard OpenVMS
constructions and command procedures. Successful submission does not imply successful execution.
As a result, the primary symbols could be defined to reflect successful script submission, but the script
execution may actually fail.
Although not required to produce a script object file, OPER privilege is required to execute a compiled script.
Using Placeholders
To allow a compiled script to serve as a template, you can use placeholder specifications.
A placeholder is specified by a three-character reserved word sequence (trigraph) symbol of the form ?xn
which is replaced by its value at execution time.
The trigraphs are as follows:
An & can be used instead of an ? and the symbol case is ignored. That is, ?p1 is equivalent to &P1.
This type of a pattern is replaced by its value at execution time. The value of an undefined symbol reference is
a null string.
The value of a placeholder is obtained as follows (progressing in order of failure):
1. Translate the symbol name as a symbol.
2. Translate the symbol name as a logical name.
3. Translate the derived name as a logical name.
4. The placeholder value is null.
If Step (2) fails, a derived name of the form ndm$$csx_$symbol$_[placeholder] is translated as a logical
name.
For example, if the name q3 did not exist as either a symbol name or as a logical name, the logical name
ndm$$csx_$symbol$_q3 would be translated. If this logical name does not exist, the value of the ?q3
placeholder would be the zero-length (null) string.
26 Connect:Direct for OpenVMS User’s Guide
The following sample script (sample.txn) and procedure fragment indicates one of several methods for
generating unique filenames when transmitting to a remote node.
$!
$! Lookup Remote Node Name
$!
$ s1 = "sci.remote.node"
$!
$! Generate Filename Identifiers
$!
$ tm = f$cvtime ( "" )
$ q1 = f$extract ( 0, 4, tm ) + -
f$extract ( 5, 2, tm ) + -
f$extract ( 8, 2, tm )
$ q2 = f$extract ( 11, 2, tm ) + -
f$extract ( 14, 2, tm ) + -
f$extract ( 17, 2, tm ) + -
f$extract ( 20, 2, tm )
$!
$! Issue Request to C:D OpenVMS
$!
$ ndm$$csx_submit_filename = "sample.txn"
$ run ndm$$directory:ndm_csx_script_submit
$ if .not. $status
$ then
$ say "C:D Submit Failure"
$ endif
$ exit $status
A placeholder can be specified anywhere in the source script that a syntactically valid token may appear, as in
the following example:
- script name P1
- remote node name P2
- remote user name R1
- name of COPY step S1
- name of source file T1
- name of destination file T2
- name of Run Job Step S2
- name of Run Job procedure file T3
Chapter 3 / Using Additional Features 27
In the following example, the remote access control of the compiled script is constant.
To specify remote access control in a more flexible manner, the ?_actl placeholder should be specified as in the
following example:
This placeholder (or alternatively, &_actl) is used exclusively for this purpose and cannot appear more than
once in a compiled script. Unlike other reserved word placeholder specifiers, the placeholder value is subject to
further processing.
Specifically, the character sequences %#, and %@ are considered to be introducers when they appear at the at
the beginning of an access control placeholder value.
The access control placeholder allows you to specify remote access control directly, indirectly, immediately, or
not at all in the following forms:
A) Direct username
B) Indirect %@access_control_identifier
C) Immediate %#username:password
D) NULL NULL
In (A) the effective specification is as follows:
If the introducers appear as part of the actual username, you can use a script with another placeholder specifier
or multiple scripts each with constant remote access control.
In (B) the text following the %@ is considered to be an access control identifier used to retrieve the remote
username and encrypted password from a previously generated password file. The effective specification is as
follows:
If the identifier is undefined or the password file does not exist, this condition is processed as if no access
control had been specified.
In (C) the text following the %# is considered to be a plain-text username and password separated by a :
(colon). This form will be used by programs that define the remote access control placeholder, but which do not
28 Connect:Direct for OpenVMS User’s Guide
make this information ordinarily visible. The password is then encrypted as if it had been directly specified.
The effective specification is as follows:
In (D) the placeholder is specified but is undefined. This case is treated as if no access control were specified
at all. The effective specification is as follows:
$!
$! [Direct] Specify The Remote Username
$!
$ _actl = "usr" ! Specify Remote Username
$!
$! [Indirect] Retrieve Username/Password Of
$! "RemoteNode::RemoteUser" Entry
$!
$ _actl = "%@RemoteNode::RemoteUser"
$!
$! [Immediate] Specify Username/Password Explicitly
$!
$ _actl = "%#usr:pwd"
$!
$! [NULL] Remove All Remote Access Control
$!
$ delete /symbol _actl
Note: These considerations do not apply to the PNODEID clause nor do they apply to SNODEID clauses of
the form snodeid=(usr,pwd,new).
Using reserved word placeholders is optional. You can compile a script to conceal the access control of a
remote system and then archive the original script file. In this case, security is enhanced because plain-text
passwords are not present in script files. By using the password file, security can be further enhanced since
remote plain-text passwords do not need to be present in script files or in DCL procedures.
@ ndm$event_process_startup
@ ndm$event_process_shutdown
The event process startup parameter file (ndm$event_process_setparams.com) describes the startup
parameters. The ndm$$event_process_log_file_startup_disable parameter disables event message recording.
You may want to disable event message recording for the following situations:
to forward generated messages to a remote sink node
to place such functionality into site-written event procedures
to process events with site-written programs that use the event API
Event messages are logged in files that can only be displayed directly through site-written programs or
indirectly through site-written event procedures.
Statistics files recording is still supported, however, you should disable this function when using the event
logging facility. This will further reduce any unnecessary system overhead. To disable the recording of
statistics files, specify the following parameter in the initial parameter file (initparms.dat):
ndm$$stat_shutdown y
Note: The format of the event log files will not change in future releases of Connect:Direct for OpenVMS.
Each record/message in a Connect:Direct for OpenVMS event log/stream has the following format:
0 8 16 18 20 24 28 32
--------------------------------------------------------------------------------------_------
Event Time | Reserved | Event | Event | Event | Event | Reserved | Event
| (SBZ) | Class | Type | Node | Flags | (SBZ) oooooo| Data
30 Connect:Direct for OpenVMS User’s Guide
The field (decimal) displacement is displayed above each field. The following table lists descriptions for each
field.
Field Description
Event Time A signed quadword that specifies the source node local absolute system
time of the event.
Event Class An unsigned word which specifies the class of the event.
Event Type An unsigned word which specifies the type of the event.
Event Node An unsigned longword which specifies the site-specified source node
context value of the event. The value 0 is reserved.
Event Flags An unsigned flags longword used by the Connect:Direct for OpenVMS
event facility.
Event Data The event message data in binary [itemcode,value] format. The length of
the event message data is the message/record record length less 32.
The following are descriptions of the event message/record format in selected languages:
* C structure event_message
{
unsigned int event_time [ 2 ] ;
unsigned char reserved_1 [ 8 ] ;
unsigned short event_class ;
unsigned short event_type ;
unsigned int event_node ;
unsigned int event_flags ;
unsigned int reserved_2 ;
unsigned char event_data [2016 ] ;
} ;
Chapter 3 / Using Additional Features 31
Local systems can receive event messages through site-written event procedures and event stream listener
programs.
Event Procedures
A site-written procedure that executes whenever a particular event occurs is termed an event procedure. The
content of an event message is specified to an event procedure in such a way that it is easily processed by a
DCL. An event procedure driver process is supplied to assist in writing site-written event procedures. The
event procedure driver process is executed as follows:
@ ndm$event_procedure_startup
32 Connect:Direct for OpenVMS User’s Guide
$!
$! C:D OpenVMS Event Procedure Parameter Template File
$!
$!define ndm$$event_procedure_filename procedure_filename
$!
$! This parameter defines the procedure to be
$! executed when an event occurs and must be defined.
$!
$! Default: None
$!
$!define ndm$$event_procedure_directory procedure_directory_name
$!
$! This parameter defines the directory from which
$! the constructed procedures will be executed.
$!
$! Default: None
$!
$!define ndm$$event_procedure_queue sys$batch
$!
$! This parameter defines the queue to which the
$! procedure is to be submitted for execution.
$!
$! Default: SYS$BATCH
$!
$!define ndm$$event_procedure_queue_001 queue_001
$! ...
$!define ndm$$event_procedure_queue_255 queue_255
$!
$! These parameters define additional queues to which
$! procedures may be submitted for execution in turn.
$!
$! Default: None
$!
$!define ndm$$event_procedure_queue_username startup_username
$!
$! This parameter defines the username under which
$! the procedure is to be submitted for execution.
$!
$! Default: The event procedure process username.
$!
$!define ndm$$event_procedure_logfile Y
$!
$! This parameter specifies that a procedure execution
$! log file is to be generated and is the equivalent
$! of /LOG. This parameter would normally be defined
$! externally to the Event Procedure process startup
$! and then deassigned when procedure log files are no
$! longer desired.
$!
$! Default: /NOLOG
$!
$!define ndm$$event_procedure_priority 6
$!
$! This parameter defines the priority at which
$! the event procedure process executes.
$!
$! Default: 6
$!
(continued)
Chapter 3 / Using Additional Features 33
$!define ndm$$event_procedure_keep Y
$!
$! This parameter specifies that the event context
$! procedure file is to be retained after the event
$! procedure terminates. This logical name is dynamic
$! and may be defined and deassigned as desired.
$!$! Default: The event context procedure is deleted.
$!
$!define ndm$$event_procedure_trigger_CCCTTT Y
$! ...
$!define ndm$$event_procedure_trigger_001002 Y
$!
$! These parameters define the events which trigger
$! the execution of the event procedure. Only those
$! events defined as triggers will cause the event
$! procedure to be executed.
$!
$! Default: All events are trigger events if no
$! definitions are specified.
$!
$!define ndm$$event_procedure_trigger$filter Y
$!
$! This parameter specifies that event trigger names
$! actually specify event filter names. That is, only
$! those events NOT defined in the event list will
$! cause the event procedure to be executed.
$!
$! Default: The logical names specify an event trigger
$! list as opposed to an event filter list.
$!
$!define ndm$$event_procedure_noreference_list Y
$!
$! This parameter specifies that no event data item
$! reference list is to be generated by the driver
$! procedure.
$!
$! Default: An event data item list of the form
$! ’NDMEVL$EVENT_DATA_nn’ is generated.
$!
$!define ndm$$event_procedure_item_description Y
$!
$! This parameter specifies that a symbol of the form
$! ’ITEM_NAME’_ specifying the description of
$! ’ITEM_NAME’ is to be generated for each event data
$! item.
$!
$! Default: No data item description is generated.
The event procedure driver process performs the following actions when an event message is received:
1. The list of event procedure triggers (event filter) is examined; if the event message does not pass the filter,
it is discarded.
The event procedure triggers (event filter) are listed in a specific form to expedite processing. For
example, event 13.8 would be written as 013008. This format is used to specify the P1 parameter when
invoking the event procedure.
2. If the event passes the filter, a driver procedure is created in the directory specified by the
ndm$$event_procedure_directory parameter. This in turn invokes the site-written event procedure
specified by the ndm$$event_procedure_filename parameter.
34 Connect:Direct for OpenVMS User’s Guide
$ NDMEVL$I$S_REMOTENODENAME="remote.node.name"
As a result, the event procedure can determine whether a particular data item (a step name) is present in the
message as in the following examples:
In addition, a reference symbol is defined for each data item symbol so that the item list can easily be
displayed, as follows:
For example, if the remote node name appeared as the fourth data item and the step name as the eleventh
data item, the reference symbols would be defined as follows:
...
$ ndmevl$event_data_4 = "NDMEVL$I$S_REMOTENODENAME"
...
$ ndmevl$event_data_11 = "NDMEVL$I$S_SESSIONSCRIPTSTEP"
...
Chapter 3 / Using Additional Features 35
The symbol ndmevl$event_description is also defined to specify the descriptive name/text associated with
the event.
1. The created driver procedure is submitted to the next queue based on:
the values of the ndm$$event_procedure_queue
the ndm$$event_procedure_queue_nnn parameters under the username based on the value of the
ndm$$event_procedure_queue_username parameter
The ndm$$event_procedure_logfile, which can be defined at any time, is translated. If defined, a
procedure log file is specified.
2. The created driver procedure executes.
3. The created driver procedure file is deleted unless the ndm$$event_procedure_keep parameter is defined.
For information on processing event messages using the API, refer to Event Application Programming
Interface on page 87.
logfile
specifies the filename of the event log to be replayed. The default is None.
after
specifies the beginning absolute time. The default is Today.
before
specifies the ending absolute time. The default is Tomorrow.
remote
specifies if messages are broadcast to remote nodes. The default is No Broadcast.
Note: Event messages received in this manner are received with the replay indicator set. The P6
(replay) event procedure argument would be set to REPLAY. Otherwise, the P6 argument is
not specified.
To determine if events would be replayed in a given time interval, without actually replaying them, define a
logical name as follows:
$ define ndm$$event_log_replay_readonly y
In the previous example, the events between the times will be displayed, but not replayed.
36 Connect:Direct for OpenVMS User’s Guide
Chapter 4
This chapter describes Connect:Direct for OpenVMS command functions, syntax, parameters, and qualifiers.
Examples of the commands are provided at the end of each command section.
Some commands have parameters and qualifiers associated with them. Other commands have either
parameters or qualifiers, but not both. Qualifiers are indicated with a forward slash character (/).
Modifying Processes
Use the CHANGE PROCESS command to modify Process priority and queue status or to change such job
characteristics as destination node, start time, and start date of a nonexecuting Process.
Command Qualifiers
†/AFTER
/DEST=destination_nodename
/HOLD=No | Yes
/PNAME=name|(list)
† Specify this time-based qualifier in the same format as other standard OpenVMS commands.
38 Connect:Direct for OpenVMS User’s Guide
Command Qualifiers
/PNUMBER=number|(list)
/PRTY=number
/RELEASE
/SERVER=server_alias
/STARTT=([date|day][,hh:mm:ssXM])
/SUBMITTER=("submitter_node,submitter_id")|(list)
† Specify this time-based qualifier in the same format as other standard OpenVMS commands.
Parameters
There are no parameters associated with the CHANGE PROCESS command.
Required Qualifiers
You must specify one or more of the following qualifiers: /DEST, /HOLD, /PRTY, /RELEASE, /SERVER,
or /STARTT.
If /PNAME, /PNUMBER, or /SUBMITTER are not specified, then the command will act on all processes
that are accessible by the user.
Qualifiers
/[NO]CASE
allows for case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/DEST=destination_nodename
specifies a new destination node and changes the name of the node in the TCQ.
destination_nodename is the name of the destination node. Nodes that you can communicate with
are listed in your network map.
/HOLD=No|Yes
delays the execution of a nonexecuting Process in the TCQ, releases a held Process for execution, or
delays execution until called.
When you specify both HOLD=YES and a STARTT (start time and/or start date) value, the Process is
placed in the Hold queue. If start time has not passed once you release the Process, the Process begins
at the specified start time.
No (default) specifies that the Process is executed immediately.
Yes specifies that the Process remains in the Hold queue until you take one of the following actions:
Release the Process with the CHANGE PROCESS /HOLD=NO command.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 39
Remove the Process from the TCQ with the DELETE PROCESS command.
Release the Process for execution with the CHANGE PROCESS /RELEASE command.
/PNAME=name|(list)
searches for the Process by Process name. The length of Process names can range from 1–8
alphanumeric characters.
name specifies the name of a specific Process.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER=number|(list)
searches for the Process by Process number.
number specifies the Process number. Process numbers are assigned by Connect:Direct when
Processes are submitted successfully. Process numbers can range from 1–99999.
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/PRTY=number
allows you to change the priority of a Process in the TCQ. Priority is used for Process selection and
does not affect the OpenVMS priority during transmission.
number is an integer ranging from 0–15.
/RELEASE
allows you to release a Process that has been suspended or held, that is, a Process in the Hold queue.
/SERVER=server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
/STARTT=([date|day][,hh:mm:ssXM])
allows you to change the start time and either the day or date of a nonexecuting Process in the TCQ.
Note that date, day, and time are positional; therefore, if the date or day is not specified, a null string
and a comma must precede time. For example, the following translates to the Process running at 8:00
a.m. on the current date:
/STARTT=("",8:00:00AM)
Day, date, and time are handled as a unit, so a change to one will affect the other two. Therefore, when
you change the date, day, or time, you also must specify the information that you do not change.
date ensures that the Process executes on the specified date. You can specify dates in either Gregorian
or Julian format.
Gregorian dates always include numeric values for the month (m), day (d), and year (y).
Connect:Direct for OpenVMS only accepts the month-day-year format for Gregorian dates.
40 Connect:Direct for OpenVMS User’s Guide
Enter Gregorian dates with either a two-digit or a four-digit year. You can use periods and backslashes
(/) to separate the values.
mmddyy
mm/dd/yy or mm/dd/yyyy
mm.dd.yy or mm.dd.yyyy
You can use periods and backslashes (/) to separate the values. Connect:Direct for OpenVMS
processes the following Julian date formats:
yyddd or yyyyddd
yy/ddd or yyyy/ddd
yy.ddd or yyyy.ddd
If you specify only the date, time defaults to 00:00.
Note: If you are using a date format with slashes, start values should be enclosed within double
quotation marks; for example:
/STARTT=(“09/21/1998”)
day releases the Process for execution on the specified day of the week.
If you specify a day of the week and you have used /RETAIN=YES, then the Process executes the
same day every week.
You can specify TODAY, which releases the Process for execution today, or TOMORROW, which
releases the Process for execution the next day.
hh:mm:ssXM indicates the time of day in hours (hh), minutes (mm), and seconds (ss) that the
Process is to be released. XM can be set to AM or PM. You do not have to specify minutes and
seconds.
You can express time using the 24-hour clock or the 12-hour clock. If you use the 24-hour clock, valid
times are from 00:00 through 24:00. If you use the 12-hour clock, you must express time using AM or
PM; therefore, the 24-hour clock is assumed if you do not use AM or PM.
If you specify hh:mm:ssXM and you use /RETAIN=YES, then the Process executes the same time
every day.
You can specify NOON, which releases the Process for execution at noon, or MIDNIGHT, which
releases the Process for execution at midnight.
/SUBMITTER=(“submitter_node,submitter_id”)|(list)
searches for the Process by the submitter node and submitter id of the Process submitter.
submitter_node is a 1–16 alphanumeric character name that specifies the symbolic node name of the
node.
submitter_id is the alphanumeric character name that specifies the OpenVMS user name of the
Process submitter.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 41
You can specify a list of submitter nodes and submitter ids. Each submitter_node and submitter_id
pair is enclosed in double quotes and is separated by a comma; for example:
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
Examples
The following commands are examples of the CHANGE PROCESS command in noninteractive mode.
The following command changes the Process named TEST1 (in the Wait queue) from executing only once to
executing every time the server is initialized:
The following command changes the Process named TEST2 (in the Wait queue) to a new destination node
(SNODE) of SC.VMS.VXNED1:
The following command changes Process number 3 named TEST3 on the Wait queue to start at 8:00 p.m. on
Tuesday:
Deleting Processes
The DELETE PROCESS command allows you to remove nonexecuting Processes from the TCQ.
Command Qualifiers
/PNAME=name|(list)
/PNUMBER=number|(list)
/SUBMITTER=("submitter_node,submitter_id")|(list)
/SERVER=server_alias
42 Connect:Direct for OpenVMS User’s Guide
Parameters
There are no parameters associated with the DELETE PROCESS command.
If /PNAME, /PNUMBER, or /SUBMITTER are not specified, then the command will act on all processes
that are accessible by the user.
Qualifiers
/[NO]CASE
allows for the case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/PNAME=name|(list)
searches for the Process by Process name.
name specifies the name of a specific Process. Process names can be from 1–8 alphanumeric
characters long.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER=number|(list)
searches for the Process by Process number. Process numbers can range from 1–99999.
number specifies the specific number of a Process. Process numbers are assigned by Connect:Direct
when Processes are submitted successfully.
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/SUBMITTER=("submitter_node,submitter_id")|(list)
searches for Processes by submitter node and submitter id of the Process submitter.
submitter_node is a 1–16 alphanumeric character name that specifies the symbolic node name of the
node.
submitter_id is the alphanumeric character name that specifies the OpenVMS user name of the
Process submitter.
You can specify a list of submitter nodes and submitter ids. Each submitter_node and submitter_id
pair is enclosed in double quotes and is separated by a comma; for example:
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
/SERVER=server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 43
Examples
The following examples illustrate the use of DELETE PROCESS commands in noninteractive mode.
The following command deletes a nonexecuting Process named TEST1 from the TCQ:
The following command deletes the nonexecuting Process number 3 from the TCQ:
The following command deletes all nonexecuting Processes submitted by nodename SC.VMS.QA4 with a user
id of QA11 from the TCQ:
Command
EXIT
Parameters
There are no parameters associated with the EXIT command.
Qualifiers
There are no required qualifiers for the EXIT command
Example
Executing the EXIT command returns you to the DCL command-line prompt from interactive mode.
Connect:Direct> EXIT
44 Connect:Direct for OpenVMS User’s Guide
Command Qualifiers
/PNAME=name|(list)
/PNUMBER=number|(list)
/SUBMITTER=("submitter_node,submitter_id")|(list)
/SERVER=server_alias
Parameters
There are no parameters associated with the FLUSH PROCESS command.
If /PNAME, /PNUMBER, or /SUBMITTER are not specified, then the command will act on all processes
that are accessible by the user.
Qualifiers
/FORCE
flushes the Process by stopping the session manager. This qualifier is useful if a Process is in an
unsatisfied wait state (hanging condition).
/PNAME=name|(list)
searches for the Process by Process name.
name specifies the name of a specific Process. Process names can range from 1–8 alphanumeric
characters.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER= number|(list)
searches for the Process by Process number.
number specifies the specific number of a Process. The Process number is assigned by
Connect:Direct when Processes are successfully submitted. Process numbers can range from
1–99999.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 45
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/SERVER= server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
/SUBMITTER=(“submitter_node,submitter_id”)|(list)
searches for the Process by the submitter node and submitter id of the Process submitter.
submitter_node is a 1–16 alphanumeric character name that specifies the symbolic node name of the
node.
submitter_id is the alphanumeric character name that specifies the OpenVMS user name of the
Process submitter.
You can specify a list of submitter nodes and submitter ids. Each submitter_node and submitter_id
pair is enclosed in double quotes and is separated by a comma; for example:
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
Examples
The following are examples of using the FLUSH PROCESS command in noninteractive mode:
The following command flushes an executing Process named TEST1 from the TCQ:
The following command flushes an executing Process number 3 from the TCQ:
The following command flushes an executing Process submitted by nodename SC.VMS.QA4 user id QA11
from the TCQ:
The following command flushes a hung Process named TEST1 from the TCQ:
Command Parameters
HELP
Examples
This command displays a list of topics for which help is available.
$ NDMUI HELP
Note: If the Connect:Direct for OpenVMS Help File was copied into the OpenVMS Help Library at
installation, then Help can also be accessed through the OpenVMS Help Facility under the topic
NDMUI. For example, the following command will display help about the SUBMIT command:
$ HELP NDMUI SUBMIT
The following figure shows an example of the Help Main Topic Screen. This screen displays when you request
HELP.
NDMUI
Invokes the User Interface
NDMUI Subtopic?
Chapter 4 / Using Connect:Direct for OpenVMS Commands 47
The following figure shows an example of displaying a subtopic from the Help Topic Screen. This screen is
obtained by entering the subtopic STOPNDM at the prompt on the Help Main Topic Screen.
NDMUI
STOPNDM
Format:
NDMUI STOPNDM
Command qualifiers
/FORCE /IMMEDIATE /QUIESCE /STEP
By using the OpenVMS Help Facility, you can bypass the screens shown in the previous examples and display
help information on a particular subtopic. The following figure shows an example of what you would type at
the command line to get help information on the subtopic qualifier /FORCE for STOPNDM.
The following figure shows the output from the previous command.
NDMUI
STOPNDM
/FORCE
Command Parameters
Required Parameters
server_alias
specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
Note: To set the default server back to the local server, specify the server_alias parameter to be the
local server environment name-NDM, for example, in a production environment.
Qualifiers
There are no qualifiers associated with the SET SERVER command.
Example
This example shows an output from the SET SERVER command.
Note: To see the results of using this SET SERVER command, see Example on page 56.
Command
SHOW LAST
Parameters
There are no parameters associated with the SHOW LAST command.
Qualifiers
There are no qualifiers associated with the SHOW LAST command.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 49
Example
This example shows an output from the SHOW LAST command.
SHOW LAST
Last Assigned Process Number: 12
Command Parameters
SHOW
MESSAGE message_id
Required Parameter
message_id
is the 8-character alphanumeric message id.
Qualifiers
There are no qualifiers associated with the SHOW MESSAGE command.
Note: You can substitute SELECT NETMAP for SHOW NETMAP. CTRL C terminates output from all
SELECT/SHOW commands.
50 Connect:Direct for OpenVMS User’s Guide
Command Qualifiers
/NODE=nodename|*|(list)
/OUTPUT=filename
/SERVER=server_alias
Parameters
There are no parameters associated with the SHOW NETMAP command.
Qualifiers
If you do not specify any of the following qualifiers, all are shown:
/LOCAL_NODE
/NODE
/LOCAL_NODE
is the node on which your OpenVMS process is running; it is not necessary to refer to the nodename
of the local node.
/NODE=nodename|*|(list)
is an adjacent node as defined in your network map.
nodename is a 1–16 character name of an adjacent node.
Asterisk (*) is a wildcard character used to indicate the names of all nodes.
You can specify a list of node names. The list is enclosed in parentheses, and each node name is
separated by a comma; for example:
/NODE=(node1,node2,node3. . .)
/OUTPUT=filename
specifies the name of a file to which you want to direct the output of the SELECT/SHOW PROCESS
command. The output is formatted in tabular form.
filename is the name of a file based on OpenVMS file naming conventions.
/PRINT
routes the output of the SELECT/SHOW PROCESS command to the default printer. The output will
be formatted in tabular form as it would be displayed interactively.
/SERVER=server_alias
specifies the particular server to receive the command.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 51
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
Examples
The following examples illustrate the use of the SHOW NETMAP command in noninteractive mode.
The following command displays the network map parameters for the adjacent node named SC.MVS.USER1.
Notice that adjacent is omitted when selecting the network map for an adjacent_node.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
SELECT NETWORK MAP
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Communications Paths
NAME=DECPTH TYPE=DECNET DECNET.NODE=NDM DECNET.OBJ=TEK_SRVR
The following command displays the NETMAP parameters for the local node from a network map. Notice that
the name of the local_node is omitted when selecting the network map for a local_node.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
SELECT NETWORK MAP
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Note: You can substitute SELECT PROCESS for SHOW PROCESS. Output from all SELECT and SHOW
commands can be terminated with CTRL-C.
52 Connect:Direct for OpenVMS User’s Guide
Command Qualifiers
/DEST=destination_nodename|(list)
/DETAIL
/LAST
/OUTPUT=filename
/PNAME=name|(list)
/PNUMBER=number|(list)
/QUEUE=All|B|E|H|R|S|W|Y|(list)
/SERVER=server_alias
/SUBMITTER=("submitter_node,submitter_id")|(list)
Parameters
There are no parameters associated with the SHOW PROCESS command.
Required Qualifiers
You do not have to specify a qualifier with the SHOW PROCESS command. However, if you do not specify a
qualifier, all Processes are selected.
Qualifiers
/[NO]CASE
allows for the case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/DEST=destination_nodename|(list)
searches for the Process by destination node, as well as other selection criteria as you choose to
specify. Destination nodename is used interchangeably with SNODE (secondary node). This qualifier
is especially useful when you need to monitor a Process but several have the same PNAME with
different SNODEs.
destination_nodename is the name of the node with which you are communicating. Refer to the
network map of your system for node names.
You can specify a list of destination node names. The list is enclosed in parentheses, and each
destination node name is separated by a comma.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 53
/DETAIL
shows additional details, such as; submitter class, priority, scheduled start time, scheduled start day
and/or date, Process file name, and the value associated with the /RETAIN qualifier. If /RETAIN was
not specified, a value is not displayed.
/LAST
selects records for the last Process submitted.
/OUTPUT=filename
specifies the name of a file to which you want to direct the output of the SELECT/SHOW PROCESS
command. The output will be formatted in tabular form.
filename is the name of a file based on OpenVMS file naming conventions.
/PNAME=name|(list)
searches for the Process by Process name.
name specifies the name of a specific Process. Process names can range from 1–8 alphanumeric
characters.
Asterisk (*) lists all Processes in the TCQ.
Note: The * is valid as a wildcard character with the /PNAME qualifier in the SELECT/SHOW
PROCESS command.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER=number|(list)
searches for the Process by Process number.
number specifies the specific Process number of a Process. Process numbers are assigned by
Connect:Direct when Processes are submitted successfully. Process numbers can range from 1–99999.
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/PRINT
routes the output of the SELECT/SHOW PROCESS command to the default printer. The output is
formatted in tabular form.
/QUEUE=A|B|E|H|R|S|W|Y|(list)
searches for a Process on the specified queue. Possible values are A, B, E, H, R, S, W, and Y. The
default is A, which stands for All.
The following table defines each of the /QUEUE values.
Queue Definition
A (All) All Processes in the TCQ will be displayed. All is the default.
54 Connect:Direct for OpenVMS User’s Guide
Queue Definition
B (Bad) An error occurred during initiation of Process execution. This can occur because of
a security error of some other unrecoverable error.
H (Hold) The Process will remain on the Hold queue until an operator releases it by
specifying CHANGE PROCESS where /PNAME=filename and /HOLD=NO.
/RELEASE can be used in place of /HOLD=NO.
R (Retain) The Process will be retained after execution. A copy of this Process can be
released for execution by specifying CHANGE PROCESS where
/PNAME=filename and /RELEASE.
S (Suspend) The Process is suspended by the SUSPEND PROCESS command. The Process
can be released from the Suspend queue by specifying CHANGE PROCESS
where /PNAME=filename and /RELEASE.
Y (Retry) The Process is retried after a certain interval if the error that occurred is
recoverable.
You can specify a list of queues. The list is enclosed in parentheses, and each queue is separated by a
comma; for example:
/QUEUE=(A,E,W. . .)
/SERVER= server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
/SUBMITTER=(“submitter_node, submitter_id”)|(list)
searches for the Process by the submitter node and submitter id of the Process submitter.
submitter_node is a 1–16 alphanumeric character name that specifies the adjacent node name of the
node.
submitter_id is the alphanumeric character name that specifies the OpenVMS user name of the
Process submitter.
You can specify a list of submitter nodes and submitter ids. Each submitter_node and submitter_id
pair is enclosed in double quotes and is separated by a comma; for example:
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
Examples
The following examples illustrate the use of the SHOW PROCESS command in noninteractive mode.
The following command selects the Process named TEST1 with a destination node of SC.VMS.VXNED1:
The following command selects all Processes and prints the results in tabular form on the default printer:
The following examples show samples of the displays available for monitoring the progress of your
transmission.
The following is an example of the SHOW PROCESS display:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
PNAME PNUMBER SUBMITTER NODE SUBMITTER ID OTHER NODE QUEUE
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
TODALLAS 1 SC.VMS.BOSTON BOSTON11 SC.VMS.DAL Exec
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
SELECT PROCESS
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Process Name=> TODALLAS Submitter => SC.VMS.BOSTON BOST11
Process Number => 1 Pnode => SC.VMS.DAL Queue => Exec
Submitter Class => NON Priority => 10 Retain =>
Schedule Time => Date/Day =>
Process File => STEP
Execution Class => 3 State => Exec Prc+PC\File Write
Executing SM =>
Step Name => STEP01 Function => COPY Exec Node =>
RECEIVING
Sent:Bytes => 0 Recs => 0 RUs => 0 Xmit Bytes => 0
Rcvd:Bytes => 23440 Recs => 293 RUs => 12 Xmit Bytes => 24576
FROM FILE => SCQA1.FDATA
TO FILE => NDM$$OUTPUT:MVS_TES1.OUT
Command
SHOW SERVER
56 Connect:Direct for OpenVMS User’s Guide
Parameters
There are no parameters associated with the SHOW SERVER command.
Qualifiers
There are no qualifiers associated with the SHOW SERVER command.
Example
The following example shows the results of using the SHOW SERVER command after changing the default
server (see Example on page 48).
Note: You can substitute SELECT STATISTICS for SHOW STATISTICS. Output from all SELECT/SHOW
commands can be terminated with CTRL-C.
Command Qualifiers
†/AFTER
†/BEFORE
† Specify these time-based qualifiers in the same format as other standard OpenVMS commands.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 57
Command Qualifiers
/CCODE=(condition,completion code)
/DETAIL
/EXCLUDE=(MEMBER|MCR|WTO|NOTWTO)
/LAST
/OUTPUT=filename
/PNAME=name|(list)
/PNUMBER=number|(list)
/SERVER=server_alias
†/SINCE
/STARTT=([date|day][,hh:mm:ssXM])
/STOPT=([date|day][,hh:mm:ssXM])
/SUBMITTER=("submitter_node,submitter_id")|(list)
† Specify these time-based qualifiers in the same format as other standard OpenVMS commands.
Parameters
There are no parameters associated with the SHOW STATISTICS command.
Required Qualifiers
There are no required qualifiers for the SHOW STATISTICS command.
Qualifiers
/[NO]CASE
allows for the case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/CCODE=(condition,completion code)
searches for records by completion codes for each step of a Process.
condition allows you to set limits on the record search by completion code. The options for specifying
a condition are: GT (greater than), LT (less than), EQ (equal), NE (not equal), GE (greater than or
equal), or LE (less than or equal).
completion code specifies a completion code value. For example, if CCODE = (GT,0) is specified,
you will see statistics records in which the step completion code is greater than zero, as long as the
records also meet other specified criteria. A zero completion code indicates that the step was
successful.
The standard completion codes are as follows:
58 Connect:Direct for OpenVMS User’s Guide
/DETAIL
shows additional details such as: submitter class, priority, scheduled start time, scheduled start day
and date, Process name, return code, message id, and feedback.
/EXCLUDE=(MEMBER|MCR|WTO|NOTWTO)
specifies that certain statistics records are not selected. If this qualifier is not entered, all statistics are
selected.
MEMBER or MCR specifies that copy steps involving library modules are excluded.
WTO specifies that informational messages are excluded from the SHOW STATISTICS command.
NOTWTO specifies that all normal statistics are excluded.
/LAST
show statistics records for the last Process submitted. It cannot be specified if the /STARTT qualifier
is specified.
/OUTPUT=filename
directs the output of the SHOW STATISTICS command to the specified filename or device. The
output is formatted in tabular form, that is, as it is typically displayed online.
filename specifies a filename that conforms to standard OpenVMS naming conventions.
/PNAME=name|(list)
searches for the Process by Process name.
name specifies the name of a specific Process. Process names can range from 1–8 alphanumeric
characters.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER=number|(list)
searches for Processes by Process number.
number specifies the specific Process number of a Process. Process numbers are assigned by
Connect:Direct when Processes are successfully submitted. Process numbers can range from
1–99999.
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/PRINT
routes the output of the SHOW STATISTICS command to the default printer. The output is formatted
in tabular form as it would be displayed online.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 59
/SERVER=server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
/STARTT=([date|day][,hh:mm:ssXM])
searches for statistics by start time and either the day or date. Note that date, day, and time are
positional parameters. If the date or day is not specified, a null string and a comma must precede the
time; for example:
/STARTT=("",8:00:00AM)
date indicates the beginning date for the records search. You can specify dates in either Gregorian or
Julian format.
Gregorian dates always include numeric values for the month (m), day (d), and year (y).
Connect:Direct for OpenVMS only accepts the month-day-year format for Gregorian dates.
Enter Gregorian dates with either a two-digit or a four-digit year. You can use periods and backslashes
(/) to separate the values.
mmddyy
mm/dd/yy or mm/dd/yyyy
mm.dd.yy or mm.dd.yyyy
You can use periods and backslashes (/) to separate the values. Connect:Direct for OpenVMS
processes the following Julian date formats:
yyddd or yyyyddd
yy/ddd or yyyy/ddd
yy.ddd or yyyy.ddd
If only the date is specified, the time will default to 00:00.
Note: If you are using a date format with slashes, start values should be enclosed within double
quotation marks; for example:
/STARTT=(“09/21/1998”)
day indicates the beginning day for the record search. If only the day is specified, the time defaults to
00:00. You can also specify TODAY.
hh:mm:ssXM indicates the time of day in hours (hh), minutes (mm), and seconds (ss) that the
Process executed. XM can be set to AM or PM. You do not have to specify minutes and seconds.
You can express the time using the 24-hour clock or the 12-hour clock. If you use the 24-hour clock,
valid times are from 00:00 through 24:00. If you use the 12-hour clock, you would express time using
AM or PM; therefore, the 24-hour clock is assumed if you do not use AM or PM. You can also specify
NOON or MIDNIGHT.
If the STARTT qualifier is not specified, the search criterion consists of any time before the STOPT
qualifier.
If the /LAST qualifier is specified, you cannot specify STARTT.
60 Connect:Direct for OpenVMS User’s Guide
/STOPT= [date|day][,hh:mm:ssXM])
specifies that statistics records are searched for up to and including the designated date, day, and time.
Date, day, and time are positional parameters. If the date or day is not specified, a null string and a
comma must precede the time; for example:
/STOPT=("",8:00:00AM)
date indicates the beginning date for the records search. You can specify dates in either Gregorian or
Julian format.
Gregorian dates always include numeric values for the month (m), day (d), and year (y).
Connect:Direct for OpenVMS only accepts the month-day-year format for Gregorian dates.
Enter Gregorian dates with either a two-digit or a four-digit year. You can use periods and
backslashes (/) to separate the values.
mmddyy
mm/dd/yy or mm/dd/yyyy
mm.dd.yy or mm.dd.yyyy
You can use periods and backslashes (/) to separate the values. Connect:Direct for OpenVMS
processes the following Julian date formats:
yyddd or yyyyddd
yy/ddd or yyyy/ddd
yy.ddd or yyyy.ddd
If only the date is specified, the time will default to 00:00.
Note: If you are using a date format with slashes, stop values should be enclosed within double
quotation marks; for example:
/STOPT=(“09/21/1998”)
day indicates the ending day for the records search. You can also specify TODAY.
hh:mm:ssXM indicates the time of day in hours, minutes, and seconds that the last statistics record is
selected. XM can be set to AM or PM.
You can express the time using the 24-hour clock or the 12-hour clock. If you use the 24-hour clock,
valid times are from 00:00 through 24:00. If you use the 12-hour clock, you would express time using
AM or PM; therefore, the 24-hour clock is assumed if you do not use AM or PM. Minutes and
seconds need not be specified. You also can specify NOON or MIDNIGHT.
The default for the time is 24:00:00, the end of the day. If the STOPT qualifier is not specified,
statistics are selected until the present.
/SUBMITTER=(“submitter_node, submitter_id”)|(list)
searches for statistics of a Process by the submitter node and submitter id of the Process submitter.
submitter_node is a 1–16 alphanumeric character name that specifies the symbolic nodename of the
node.
submitter_id is the alphanumeric character name that specifies the OpenVMS user name of the
Process submitter.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 61
You can specify a list of submitter nodes and submitter ids. Each submitter_node and submitter_id
pair is enclosed in double quotes and is separated by a comma; for example:
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
Examples
The following examples illustrate the use of the SHOW STATISTICS command in noninteractive mode.
The following command selects all statistics records for the Process named TEST1 that executed today:
The following command selects all statistics records for Processes that executed between 8:00 a.m. and 10:00
p.m. today:
The following command selects Processes with the criteria: completion codes greater than 0, Process number
equal to 1, executed since Wednesday at 1:00 p.m.:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
DATE TIME PNUM PNAME EVENT DESCRIPTION
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
09.15.1998 08:06:09 1 COPYVMS SUBMIT SC.VMS.DAL
The following Process generates the statistics records shown in the figure on page 62.
If the above Process was submitted today and assigned Process number 1, then the following command will
select all its statistics records.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
SELECT STATISTICS
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Date => 01.24.1999 Time => 16:27:51.18 PROCESS-SUBMIT
Pnumber => 1 Node => SC.MVS.BOSTON 1
Pname => STEPTEST Submitter => SC.VMS.DAL DLSS
Rtncd => 0 Message ID => VSRV101I Feedback => 0
File STEP
VSRV101I: Feedback: 0 Reply: 0 Function: dtf_submit
Process submitted successfully. Process number: 1
..........................................................................................
Date => 01.24.1999 Time => 16:28:19.92 PROCESS-PROCSTART
Pnumber => 1 Snode => SC.MVS.BOSTON Xnode => P 2
Pname => STEPTEST Submitter => SC.VMS.DAL DLSS
SM Name => QA4_AT_026 Class => 4
..........................................................................................
Date => 01.24.1999 Time => 16:28:29.50 PROCESS-STEPSTART
Pnumber => 1 Snode => SC.MVS.BOSTON Xnode => P 3
Pname => STEP_TEST Submitter => SC.VMS.DAL DLSS
Function => COPY Step Name => STEP01
..........................................................................................
Date => 01.24.1999 Time => 16:30:55.45 PROCESS-STEPEND
Pnumber => 1 Xlate => Start Date => 01:24.1999 4
Pname => STEPTEST Compress => YES Start Time => 16:27:51.18
Msgid => SCPA000I Restart => NO End Date => 01:24.1999
Rtncd => 0 Link Stat => OK End Time => 16:30:48.21
FDBK => 0 Snode => SC.MVS.BOSTON Direction => RECEIVE
Step => STEP01 Submitter => SC.VMS.DAL DLSS
From Snode DSN= SCQA1.FDATA RUsize= 2048
I/O Bytes=> 80000 Xmit Bytes=> 78483
I/O Recs => 1000 Xmit RUs=> 39 Comp%=> 1.90
To Pnode DSN= U1:<DLSS.TEST>:MVS.OUT
I/O Bytes=> 80000 Xmit Bytes=> 78483
I/O Recs=> 1000 Xmit RUs=> 39 Comp%=> 1.90
SCPA000I: Feedback: 0 Reply: 0 Function: copy_function
COPY successfully completed.
..........................................................................................
Date => 01.24.1999 Time => 16:30:58.98 MESSAGE-MSG
Pnumber => 1 Node => SC.MVS.BOSTON SM Name => QA4_AT_02G 5
Pname => STEPTEST Submitter => SC.VMS.DAL DLSS
Exit step, ending process execution - (execute_process)
..........................................................................................
Date => 01.24.1999 Time => 16:31:04.40 PROCEND
Pnumber => 1 Snode => SC.MVS.BOSTON Xnode => P 6
Pname => STEPTEST Submitter => SC.VMS.DAL DLSS
Rtncd => 0 Message ID => VSMT000I Feedback => 0
VSMT000I: Feedback: 0 Reply: 0 Function: execute_process
End of Process.
The various elements of the statistics log shown in the previous figure are divided into six records: SUBMIT,
PROCSTART, STEPSTART, STEPEND, MSG, and PROCEND. Each section in the previous figure is labeled.
A description of each line in the records is provided.
Note: If Secure+ Option is enabled, protocol and cipher information is included in the STEPEND and
PROCEND records.
1 PROCESS-SUBMIT
PROCESS-SUBMIT provides statistics about the submittal of the Process.
Date
indicates the date the Process was submitted to the TCQ.
Time
indicates the time the Process was submitted to the TCQ.
PROCESS-SUBMIT
is the label that describes this phase of the submitted Process.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 63
Pnumber
is the Process number that was assigned by Connect:Direct when the Process was submitted
successfully.
Node
is the secondary nodename.
Pname
is the label on the PROCESS statement.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s OpenVMS user name.
Rtncd
is the completion code for the step. A zero (0) indicates successful completion of a step. The field
can be shown in decimal or hexadecimal format.
Message ID
is the identification number of the message in the online message file.
Feedback
is optional information for diagnostic purposes.
File
is the name of the file containing the Process that you are submitting.
VSRV101I
is the identification number of the message in the online message file. A short version follows the
message id number. In this case, the Process submitted successfully.
Feedback
is repeated as part of the short message text and provides optional information for diagnostic
purposes.
Reply
is the return code that is repeated as part of the short message. It is the completion code for the step.
A zero (0) translates to successful completion of a step.
Function
is the subroutine name for the particular step in the Process. It is a name that is part of Connect:Direct
internals and is used for diagnostic purposes.
Process number
is repeated as part of the short message text and is the number assigned by Connect:Direct when the
Process was submitted successfully.
2 PROCESS-PROCSTART
PROCESS-PROCSTART provides statistics about the start of the Process.
Date
indicates the date the Process actually started running.
64 Connect:Direct for OpenVMS User’s Guide
Time
indicates the time the Process started running.
PROCESS-PROCSTART
is the label that describes this phase of the submitted Process.
Pnumber
is the number assigned by Connect:Direct when the Process was submitted successfully.
Snode
is the secondary nodename.
Xnode
indicates the node with Process control. In this example, the Xnode is the PNODE.
Pname
is the label on the PROCESS statement.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s OpenVMS user name.
SM Name
is the OpenVMS process name of the session manager that is executing the Process.
Class
defines the session used.
3 PROCESS-STEPSTART
PROCESS-STEPNAME provides statistics about the start of a step of a Process.
Date
indicates the date the particular step of a Process actually started running.
Time
indicates the time the particular step of a Process started running.
PROCESS-STEPSTART
is the label that describes this phase of the submitted Process.
Pnumber
is the number assigned by Connect:Direct when the Process was submitted successfully.
Snode
is the secondary nodename.
Xnode
indicates the node that is transmitting the data during this step. In this example, the Xnode is the
PNODE.
Pname
is the label on the PROCESS statement.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s OpenVMS user name.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 65
Function
is the subroutine name for the particular step in the Process. It is a name that is part of Connect:Direct
internals and is used for diagnostic purposes. In this case, it identifies the COPY statement entered as
part of the Process.
Step Name
is the label in the Process.
4 PROCESS-STEPEND
PROCESS-STEPEND provides statistics about the end of a step of a Process.
Date
indicates the date the particular step of a Process stopped running.
Time
indicates the time the particular step of a Process stopped running.
PROCESS-STEPEND
is the label that describes this phase of the submitted Process.
Pnumber
is the number assigned by Connect:Direct when the Process was submitted successfully.
Xlate
indicates that you are converting from EBCDIC to ASCII.
Start Date
indicates the date the Process actually started running.
Pname
is the label on the PROCESS statement.
Compress
indicates whether you have requested data compression of the data that was transmitted.
Start Time
indicates the time the Process started running.
Message ID
is the identification number of the message in the online message file.
Restart
indicates whether the transmission was interrupted and the Process was restarted.
End Date
is the ending date for the particular step in the Process.
Rtncd
is the completion code for the step. A zero (0) translates to successful completion of a step. The field
can be shown in decimal or hexadecimal format.
Link Stat
indicates the status of the communications link to the node to which you are transmitting. Values for
this field include OK and failed.
66 Connect:Direct for OpenVMS User’s Guide
End Time
is the ending time for the particular step in the Process.
FDBK (feedback)
is optional information for diagnostic purposes.
Snode
is the secondary nodename.
Direction
is the direction of the files transfer. Values for this field are SEND and RECEIVE.
Step
is the label name as assigned by the user as part of the Process.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s user id.
To Pnode DSN
is the name of the data set that is receiving the transmission. In this example, the Process is received
at the PNODE.
I/O Bytes
fields indicate the number of bytes that are read or written from disk or tape. This information is
provided for both SNODE and PNODE.
Xmit Bytes
fields indicate the number of bytes sent or received during the session, including Connect:Direct
control information. This information is provided for both SNODE and PNODE.
Comp%
indicates the compression percentage. This information is provided for both SNODE and PNODE.
I/O Recs
indicate the number of actual records transmitted. This information is provided for both SNODE and
PNODE.
Xmit RUs
indicate the number of request units transmitted. This information is provided for both SNODE and
PNODE.
SCPA000I
is the identification number of the message in the online message file. A short version follows the
message id number. In this example, the COPY successfully completed.
Feedback
is repeated as part of the short message text and provides optional information for diagnostic
purposes.
Reply
is the return code that is repeated as part of the short message; it is the completion code for the step. A
zero (0) translates to successful completion of a step.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 67
Function
is the subroutine name for the particular step in the Process; it is a name that is part of Connect:Direct
internals and is used for diagnostic purposes.
5 MESSAGE-MSG
MESSAGE-MSG provides statistics about informational messages.
Date
indicates the date of the message.
Time
indicates the time of the message.
MESSAGE-MSG
is the label that describes this phase of the submitted Process.
Pnumber
is the number assigned by Connect:Direct when the Process was submitted successfully.
Node
is the secondary nodename.
SM Name
is the OpenVMS process name of the session manager that is executing the Process.
Pname
is the label on the PROCESS statement.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s OpenVMS user name.
6 PROCEND
PROCEND provides statistics about the end of the Process.
Date
indicates the date the Process ended.
Time
indicates the time the Process ended.
PROCEND
is the label that describes this phase of the submitted Process.
Pnumber
is the number assigned by Connect:Direct when the Process was submitted successfully.
Snode
is the secondary nodename.
68 Connect:Direct for OpenVMS User’s Guide
Xnode
indicates the node that is transmitting the data during this step. In this case, the Xnode is the PNODE.
Pname
is the label on the PROCESS statement.
Submitter
is the name of the node submitting the Process. DLSS is the submitter’s OpenVMS user name.
RTNCD
is the completion code for the step. A zero (0) translates to successful completion of a step. The field
can be shown in decimal or hexadecimal format.
Message ID
is the identification number of the message in the online message file.
Feedback
is optional information for diagnostic purposes.
VSTM000I
is the identification number of the message in the online message file. A short version follows the
message id number.
Feedback
is repeated as part of the short message text and provides optional information for diagnostic
purposes.
Reply
is the return code that is repeated as part of the short message; it is the completion code for the step. A
zero (0) translates to successful completion of a step.
Function
is the subroutine name for the particular step in the Process; it is a name that is part of Connect:Direct
internals and is used for diagnostic purposes.
End of Process
is the short version of the message text. If you need additional information, refer to the online
message file, using the message id number that is provided as part of this record.
Command Parameters
SHOW VERSION
Chapter 4 / Using Connect:Direct for OpenVMS Commands 69
Parameters
There are no parameters associated with the SHOW VERSION command.
Qualifiers
There are no qualifiers associated with the SHOW VERSION command.
Example
Results of the SHOW VERSION command are displayed as follows:
Command
SPAWN
Stopping Connect:Direct
The STOPNDM command allows you to stop Connect:Direct while it is executing. If you are issuing
commands in interactive mode and issue the STOPNDM command, you also need to exit the NDMUI by
issuing the EXIT command.
70 Connect:Direct for OpenVMS User’s Guide
Command Qualifiers
STOPNDM /FORCE
Parameters
There are no parameters associated with the STOPNDM command.
Qualifiers
There are no required qualifiers for the STOPNDM command
/FORCE
stops Connect:Direct immediately; the server immediately cancels all session managers.
Examples
The following examples illustrate the STOPNDM command in noninteractive and interactive modes.
In noninteractive mode, STOPNDM stops Connect:Direct upon completion of the executing Processes. The
prompt returns to the OpenVMS prompt.
$ NDMUI STOPNDM
In interactive mode, STOPNDM stops Connect:Direct upon completion of the executing Processes. The
prompt returns to user interface after the STOPNDM command is executed. The EXIT command is required in
order to return to the OpenVMS prompt.
$ NDMUI
Connect:Direct> STOPNDM
Connect:Direct> EXIT
$
Submitting a Process
Use the SUBMIT command to place a Process in the TCQ for execution.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 71
SUBMIT filename
†/AFTER
/[NO]CASE
/CLASS=number
/DEFCONN_MODE=FIRST|SCAN|name
/HOLD=No|Yes
/LOG[=file]
/MAIL=[username|(list)]
/NOKEEP
/NORESTART
/NOTIFY=[username|(list)]
/PNAME=name
/PRTY=number
/RETAIN=No|Yes|Initial
/RETRY_LIMIT=number
/SACCT=‘snode-accounting-data’
/SERVER=server_alias
/SNODE=nodename
/STARTT=([date|day] [,hh:mm:ssXM])
/SYMBOLICS=(symbol=value [,symbol1=value1])
/TEST
/[NO]WAIT
/XSID=REMOTE_ACCT_IDENTIFIER
† Specify this time-based qualifier in the same format as other standard OpenVMS commands.
Required Parameters
filename
names the file you are submitting that contains the Process. The filename can be any valid OpenVMS
filename. An extension of NDM is not required; however NDM is assumed if an extension is not
provided.
72 Connect:Direct for OpenVMS User’s Guide
Qualifiers
There are no required qualifiers for the SUBMIT command.
/[NO]CASE
allows for the case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/CLASS=number
determines the node-to-node session on which a Process can execute. If CLASS is not specified in
your Process, it will default to the class value specified for PARSESS in the network map.
/DEFCONN_MODE=FIRST|SCAN|name
specifies the default method of selecting a communication path that is used to establish a session for
Process execution.
FIRST specifies that Connect:Direct uses only the first COMM_PATH specification to establish a
connection.
SCAN specifies that Connect:Direct uses each COMM_PATH specification in turn until a connection
is successfully made.
name specifies an actual COMM_PATH name which Connect:Direct uses when establishing a
connection.
/HOLD=No|Yes
delays execution of a Process until it is released or until it is called by a remote node.
If you specify both HOLD=YES and a STARTT (start time and/or start date) value, the Process is
placed in the Hold queue. If the start time has not passed once you release the Process, the Process
begins execution at the specified start time.
If you specify RETAIN=YES and HOLD=NO, HOLD is ignored.
No specifies that the Process is executed immediately. The default is No.
Yes specifies that the Process remains in the Hold queue until you take one of the following actions:
Release the Process with the CHANGE PROCESS /HOLD=NO command.
Delete the Process with the DELETE PROCESS command.
Release the Process with the CHANGE PROCESS /RELEASE command.
/LOG[=file]
causes Process termination status messages to be written to a file.
file is the user-defined specific log file. The default file specification is
SYS$LOGIN:NDM_EVENT.LOG.
/MAIL=[username|(list)
causes Process termination status messages to be mailed to the specified user name or list of user
names.
username is the user name to receive the status message. The default user name is the command
issuer.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 73
You can specify a list of user names. The list is enclosed in parentheses, and each user name is
separated by a comma.
/MAIL=(username1,username2 ,username3. . .)
/NOKEEP
indicates that the Process is not to be retained in the Hold queue when it has exhausted its retry limit.
/NORESTART
indicates that the Process cannot be restarted in case of node or server failure.
/NOTIFY=[username|(list)
causes Process termination status messages to be broadcast to a user name or list of user names.
username is the user name to receive the status broadcast. The default user name is the command
issuer.
You can specify a list of user names. The list is enclosed in parentheses, and each user name is
separated by a comma.
/NOTIFY=(username1, username2. . .)
/PNAME=name
overrides the label on the PROCESS statement in the statistics records for this operation.
name is the 1–8 character alphanumeric name of the Process.
/PRTY=number
sets the priority of the Process in the TCQ. This priority is used for Process selection and does not
affect the OpenVMS priority. The default priority is defined during installation of Connect:Direct.
number is an integer in the range 0–15.
/RETAIN=No|Yes|Initial
keeps a copy of the Process in the TCQ after it executed and establishes other times and days that it
will execute. The Process number of the copy is incremented by 100,000.
If you enter the SUBMIT command with /RETAIN=YES, a date cannot be used with /STARTT. You
can only specify a start time and day or start time or day.
If you enter the SUBMIT command with /RETAIN=YES and a STARTT (start time only) value, the
Process executes at the same time every day.
If you enter the SUBMIT command with /RETAIN=YES and STARTT (start time and day) values, a
Process executes at the specified time and day each week.
If you enter the SUBMIT command with only /RETAIN=YES, the Process is placed on the Hold
queue and can be released with the CHANGE PROCESS /RELEASE command.
The /STARTT qualifier is not valid with /RETAIN=INITIAL.
No deletes the Process after execution. The default is No.
Yes keeps a copy of the Process in the TCQ after execution and executes it as instructed by the
STARTT values.
Initial keeps a copy of the Process and executes it every time that Connect:Direct is initialized.
/RETRY_LIMIT=number
is used to override the default server table value.
74 Connect:Direct for OpenVMS User’s Guide
/SACCT=’snode-accounting-data’
specifies the accounting data for the secondary node.
snode-accounting-data has a maximum length of 256 characters. If special characters or blanks are
part of the accounting data, the string must be enclosed in double quotation marks.
/SERVER=server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
/SNODE=nodename
overrides the default SNODE (secondary node) assigned in the Process on the PROCESS statement.
nodename is the alphanumeric character name of the secondary node. It can contain up to 16
characters.
/STARTT=([date|day][,hh:mm:ssXM])
specifies the start time and either the date or day the Process is to execute. Note that date, day, and
time are positional; therefore, if the date or day is not specified, a null string and a comma must
precede the time. The following example specifies the Process runs on the current date at 8:00 a.m. If
8:00 a.m. is already past, the Process will run immediately.
/STARTT=("",8:00:00AM)
mmddyy
mm/dd/yy or mm/dd/yyyy
mm.dd.yy or mm.dd.yyyy
Chapter 4 / Using Connect:Direct for OpenVMS Commands 75
You can use periods and backslashes (/) to separate the values. Connect:Direct for OpenVMS
processes the following Julian date formats:
yyddd or yyyyddd
yy/ddd or yyyy/ddd
yy.ddd or yyyy.ddd
If only the date is specified, the time will default to 00:00.
Note: If you are using a date format with slashes, start values must be enclosed within double
quotation marks; for example:
/STARTT=("09/21/1998")
day releases the Process for execution on the specified day of the week.
If only the day is specified, the time will default to 00:00; therefore, if you submit a Process on
Monday, with Monday as the only /STARTT qualifier, the Process will not run until the following
Monday.
You also can specify TODAY, which releases the Process for execution today, or TOMORROW,
which releases the Process for execution the next day.
hh:mm:ssXM indicates the time of day in hours (hh), minutes (mm), and seconds (ss) that the
Process is to be released. XM can be set to AM or PM. You do not have to specify minutes and
seconds.
You can express the time using the 24-hour clock or the 12-hour clock. If you use the 24-hour clock,
valid times are from 00:00 through 24:00. If you use the 12-hour clock, you would express time using
AM or PM; therefore, the 24-hour clock is assumed if you do not use AM or PM.
If you specify hh:mm:ssXM and you use /RETAIN=YES, then the Process will execute the same time
every day.
You can also specify NOON, which releases the Process for execution at noon, or MIDNIGHT,
releases the Process for execution at midnight.
/TEST
allows you to check the syntax and modal logic of a Process without having to actually submit the
Process for execution.
/[NO]WAIT
causes the operation to be performed asynchronously. NOWAIT is the default.
/[XSID=REMOTE_ACCT_IDENTIFIER
a string identifier that references a specific [username,password] entry in a password file.
Examples
The following example illustrates the SUBMIT command and the /SYMBOLICS qualifier in noninteractive
mode.
76 Connect:Direct for OpenVMS User’s Guide
SEND PROCESSNODE=MVS.NODE
STEP01 COPY FROM(DSN=&FROM PNODE)-
TO (DSN=&TO DISP=RPL)
The following command submits the Process. The values for the TO and FROM data set names specified in
the /SYMBOLICS qualifier will be substituted in the Process.
Command Qualifiers
/PNAME=name|(list)
/PNUMBER=number|(list)
/SUBMITTER=("submitter_node,submitter_id")|(list)
/FORCE
/SERVER=server_alias
Parameters
There are no parameters associated with the SUSPEND PROCESS command.
Required Qualifiers
If /PNAME, /PNUMBER, or /SUBMITTER are not specified, then the command will act on all processes
that are accessible by the user. Additional qualifiers are optional.
Qualifiers
/[NO]CASE
allows for the case sensitivity as follows:
/CASE ensures that case is preserved for all characters enclosed in quotation marks.
Chapter 4 / Using Connect:Direct for OpenVMS Commands 77
/NO CASE ignores the case of characters enclosed in quotation marks and converts them to
uppercase.
/PNAME=name|(list)
searches for the Process by Process name.
name specifies the name of a specific Process. Process names can range from 1–8 alphanumeric
characters.
You can specify a list of Process names. The list is enclosed in parentheses, and each Process name is
separated by a comma; for example:
/PNAME=(PROC1,PROC2,PROC3. . .)
/PNUMBER=number|(list)
searches for the Process by Process number.
number specifies the specific number of a Process. These numbers are assigned by Connect:Direct
when Processes are submitted successfully. Process numbers can range from 1–99999.
You can specify a list of Process numbers. The list is enclosed in parentheses, and each Process
number is separated by a comma; for example:
/PNUMBER=(1,2,3. . .)
/SUBMITTER=("submitter_node1,submitter_id1"-
,"submitter_node2,submitter_id2", . . .)
/FORCE
suspends the Process by stopping the session manager. You can use this qualifier to terminate the
OpenVMS process that is executing the Connect:Direct script. The Connect:Direct script is then
retained in the TCQ.
/SERVER=server_alias
specifies the particular server to receive the command.
server_alias specifies the 1–16 alphanumeric character name of the server as defined in
NDM$$DIRECTORY:SERVER.DAT.
Examples
The following examples illustrate the use of the SUSPEND PROCESS command in noninteractive mode.
78 Connect:Direct for OpenVMS User’s Guide
The following command suspends an executing Process named TEST1 and places it on the TCQ:
The following command suspends an executing Process number 3 and places it on the TCQ:
The following command suspends an executing Process submitted by nodename SC.VMS.QA4 and userid of
QA11 and places it in the TCQ:
The following command suspends a hanging Process named TEST1 and places it on the TCQ:
The Application Programming Interface (API) provides a precise and controlled interface to Connect:Direct for
OpenVMS. The API does replace the user interface program, but rather supplements it. It does not provide all
the features and functions of Connect:Direct for OpenVMS; however, the provided capabilities cover the vast
majority of normal situations.
The following compiled script routines are currently supported:
NDM_CSX_API_SCRIPT_EXEC_SUBMIT
NDM_CSX_API_SCRIPT_TERM_NOTIFY
The following event API routines are currently supported:
NDM_EVENT_API_RECEIVE STREAM
NDM_EVENT_API_DECODE_MESSAGE
NDM_EVENT_API_DECODE_ITEM
NDM_EVENT_API_WRITE_MESSAGE
NDM_EVENT_API_MSGFILE_OPEN
NDM_EVENT_API_MSGFILE_DISPLAY
NDM_EVENT_API_MSGFILE_CLOSE
NDM_EVENT_API_GET_VERSION
This chapter describes the API, its functions and supported routines, and its usage.
Routine Arguments
NDM_CSX_API_SCRIPT_EXEC_SUBMIT sx_file
[sx_env]
[sx_notify]
sx_rqid
rqid_size
sx_name
sx_number
reserved_1
reserved_2
Return Values
The following are values returned in register zero (0) for the NDM_CSX_API_SCRIPT_EXEC_SUBMIT
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Chapter 5 / Using the Application Programming Interface 81
Arguments
The following are descriptions for each argument for the NDM_CSX_API_SCRIPT_EXEC_SUBMIT routine:
sx_file
the filename of the script to be submitted for execution. This is the address of a descriptor pointing to
the script filename.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
sx_env
the Connect:Direct for OpenVMS server process environment name. This is the address of a
descriptor pointing to the environment name.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
sx_notify
the address of a longword that contains a notification context identifier created by a previous call to
NDM_CSX_API_SCRIPT_TERM_NOTIFY.
OpenVMS Usage: identifier
type: longword (unsigned)
access: read only
mechanism: by reference
sx_rqid
the address of a descriptor pointing to a character string where
NDM_CSX_API_SCRIPT_EXEC_SUBMIT writes the request identifier. The request identifier can
be up to 64 bytes in length.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
rqid_size
the length of the request identifier returned by NDM_CSX_API_SCRIPT_EXEC_SUBMIT. The
rqid_size argument is the address of a unsigned word integer into which
NDM_CSX_API_SCRIPT_EXEC_SUBMIT writes the length.
OpenVMS Usage: word_unsigned
type: word (unsigned)
access: write only
mechanism: by reference
82 Connect:Direct for OpenVMS User’s Guide
sx_name
the address of a descriptor pointing to a character string into which
NDM_CSX_API_SCRIPT_EXEC_SUBMIT writes the name assigned the script by the user. The
script name can be up to 8 bytes in length.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
name_size
the length of the script name returned by NDM_CSX_API_SCRIPT_EXEC_SUBMIT. This is the
address of a unsigned word integer into which NDM_CSX_API_SCRIPT_EXEC_SUBMIT writes
the length.
OpenVMS Usage: word_unsigned
type: word (unsigned)
access: write only
mechanism: by reference
sx_number
the address of a signed longword into which NDM_CSX_API_SCRIPT_EXEC_SUBMIT writes the
number assigned to the execution of the script by Connect:Direct for OpenVMS.
OpenVMS Usage: longword_signed
type: ongword integer (signed)
access: write only
mechanism: by reference
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Note: Any condition value returned by RMS, $QIO, $CREMBX, or LIB$ANALYZE_SDESC is also stored
in register zero (0).
Routine Arguments
NDM_CSX_API_SCRIPT_TERM_NOTIFY notify_procedure
[notify_context]
notify_ident
reserved_1
reserved_2
Return Values
The following are values returned in register zero (0) for the NDM_CSX_API_SCRIPT_TERM_NOTIFY
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
84 Connect:Direct for OpenVMS User’s Guide
Arguments
The following are descriptions for each argument for the NDM_CSX_API_SCRIPT_TERM_NOTIFY routine:
notify_procedure
the address of a user-supplied routine that NDM_CSX_API_SCRIPT_TERM_NOTIFY calls when a
message indicating script termination is received.
OpenVMS Usage: procedure
type: procedure value
access: function call (before return)
mechanism: by value
notify_context
the user-supplied argument that NDM_CSX_API_SCRIPT_TERM_NOTIFY passes to the
notification procedure. Whatever mechanism is used to pass notify_context to
NDM_CSX_API_SCRIPT_TERM_NOTIFY is also used to pass it to the notify routine. If this
argument is omitted, a zero value is passed.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
notify_ident
the address of an unsigned longword that receives a notify process identifier. The address of this
argument can be specified in subsequent script submissions for which notification of termination is
desired.
OpenVMS Usage: identifier
type: longword (unsigned)
access: write only
mechanism: by reference
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
notification of script termination is desired, this routine is called prior to any subsequent calls to
NDM_CSX_API_SCRIPT_EXEC_SUBMIT.
Routine Arguments
notify_procedure notify_context
term_status
process_id
process_name
procesS_user
sx_rqid
sx_name
sx_number
reserved_1
reserved_2
Arguments
The following are the arguments for the notify routine:
notify_context
value passed by NDM_CSX_API_SCRIPT_TERM_NOTIFY to the notify routine. The same passing
mechanism that was used to pass notify_context to NDM_CSX_API_SCRIPT_TERM_NOTIFY is
used by NDM_CSX_API_SCRIPT_TERM_NOTIFY to pass notify_context to the notify routine.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
term_status
value assigned by the user or by Connect:Direct for OpenVMS at the termination of the compiled
script.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
86 Connect:Direct for OpenVMS User’s Guide
process_id
the process identifier of the process that submitted the script to be executed.
OpenVMS Usage: process_identifier
type: longword (unsigned)
access: read only
mechanism: by value
process_name
the process name of the process that submitted the script to be executed. The process_name
argument is the address of a descriptor that points to a character string containing the process name.
OpenVMS Usage: process_name
type: character-coded text string
access: read only
mechanism: by descriptor - fixed length string
descriptor
process_user
the process user name of the process that submitted the script to be executed. The process_user
argument is the address of a descriptor that points to a character string containing the process user
name.
OpenVMS Usage: char_string
type: character-coded text string
access: read only
mechanism: by descriptor - fixed length string
descriptor
sx_rqid
the request identifier assigned to the script at the time of submission. The sx_rqid argument is the
address of a descriptor that points to a character string containing the request identifier.
OpenVMS Usage: char_string
type: character-coded text string
access: read only
mechanism: by descriptor - fixed length string
descriptor
sx_name
the name assigned to the script by the user. The sx_name argument is the address of a descriptor that
points to a character string containing the script name.
OpenVMS Usage: char_string
type: character-coded text string
access: read only
mechanism: by descriptor - fixed length string
descriptor
sx_number
the number assigned to the execution of the script by Connect:Direct for OpenVMS.
OpenVMS Usage: user_arg
type: longword (signed)
access: read only
mechanism: by value
Chapter 5 / Using the Application Programming Interface 87
reserved_1
placeholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
Note: Any condition value returned by $QIO, $CREMBX, LIB$GET_VM, $GETDVI, LIB$GET_EF is also
stored in register zero (0).
Symbol Function
NDMEVL$I$x_ Symbols with this prefix specify event item type codes of type x as follows:
NDMEVL$I$F_ Logical Flag Value
NDMEVL$I$B_ Unsigned Byte
NDMEVL$I$W_ Unsigned Word
NDMEVL$I$L_ Unsigned Longword
NDMEVL$I$Q_ Unsigned Quadword
NDMEVL$I$T_ OpenVMS Time Quadword
NDMEVL$I$S_ ASCII String
NDMEVL$I$V_ Vector Block
88 Connect:Direct for OpenVMS User’s Guide
* Macro
.external NDMEVL$C$_EVENT_FACILITY
.external display_longword
...
pushl #NDMEVL$C$_EVENT_FACILITY
calls #1,L^display_longword
...
ret
* C
globalvalue int NDMEVL$C$_EVENT_FACILITY ;
display_longword ( NDMEVL$C$_EVENT_FACILITY ) ;
return
* Fortan
EXTERNAL NDMEVL$C$_EVENT_FACILITY
DISPLAY_LONGWORD ( %LOC(NDMEVL$C$_EVENT_FACILITY ))
RETURN
The following template equate files are defined in the NDM_SAMPSRC.TLB library:
NDM$EVENT_CLASS.EQU
Class Code Equates
NDM$EVENT_TYPE.EQU
Type Code Equates
NDM$EVENT_ITEM.EQU
Item Code Equates
You can process event messages as they are received or later by reading the event log files.
To process event messages in near real-time, a process calls NDM_EVENT_API_RECEIVE_STREAM.
When a message arrives, the caller’s action routine is called with the event message class and type to enable the
caller to more efficiently filter messages without first having to decode them. In this way, only those messages
that pass the caller’s event filter need to be decoded. To discard a message, the caller’s action routine simply
returns.
Alternatively, you can process event messages on a deferred basis by reading the event message log files. After
an event log record has been retrieved, the process normally calls NDM_EVENT_API_DECODE_MESSAGE
to decode the event message. The event message class and type can be retrieved directly using the Event
Message Format described previously. The information contained in the event message record header is in
native OpenVMS format.
To process Connect:Direct for OpenVMS message identifier strings, the calling process must open the
Connect:Direct for OpenVMS message file by calling the NDM_EVENT_API_MSGFILE_OPEN routine.
This routine would normally be called only once at process initialization before subsequent event message
processing. However, this is not enforced and the Connect:Direct for OpenVMS message file may be
opened/closed at any time and as many times as necessary.
The calling process obtains the text associated with a Connect:Direct for OpenVMS message identifier string
by calling the NDM_EVENT_API_MSGFILE_DISPLAY routine. This routine invokes the caller’s action
routine for each line of text associated with the message identifier.
Chapter 5 / Using the Application Programming Interface 89
The calling process closes the Connect:Direct for OpenVMS message file by calling the
NDM_EVENT_API_MSGFILE_CLOSE routine.
Note: The Connect:Direct for OpenVMS message file is not a standard OpenVMS message file.
Routine Arguments
NDM_EVENT_API_RECEIVE_STREAM action_procedure
action_context
reserved_1
reserved_2
90 Connect:Direct for OpenVMS User’s Guide
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_RECEIVE_STREAM
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are descriptions for each NDM_EVENT_API_RECEIVE_STREAM routine argument.
action_procedure
the address of a user-supplied action routine called when an event message is received.
OpenVMS Usage: procedure
type: procedure value
access: function call (before return)
mechanism: by value
action_context
a user-supplied argument that NDM_CSX_API_SCRIPT_TERM_NOTIFY passes to the action
procedure. The method used to pass action_context to NDM_EVENT_API_RECEIVE_STREAM is
also used to pass it to the action routine. If this argument is omitted, a zero is passed by value.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Routine Arguments
action_procedure action_context
message
sequence
class
type
replay
reserved_1
reserved_2
Arguments
The following are the arguments for the action routine:
action_context
value passed by NDM_EVENT_API_RECEIVE_STREAM to the action routine. The same passing
method used to pass action_context to NDM_EVENT_API_RECEIVE_STREAM is used by
NDM_EVENT_API_RECEIVE_STREAM to pass action_context to the action routine.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
message
the event message as received from the Connect:Direct for OpenVMS event logger process. The
message argument is the address of a descriptor that points to a buffer containing the event message.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
sequence
the received message counter sequence number of the message.
OpenVMS Usage: user_arg
type: longword (signed)
access: read only
mechanism: by value
92 Connect:Direct for OpenVMS User’s Guide
class
specifies the event message class.
OpenVMS Usage: user_arg
type: word (unsigned)
access: read only
mechanism: by value
type
specifies the event message type.
OpenVMS Usage: user_arg
type: word (unsigned)
access: read only
mechanism: by value
replay
specifies whether the event is a replay as follows:
0-Original Message
1-Replayed Message
OpenVMS Usage: user_arg
type: longword (signed)
access: read only
mechanism: by value
reserved_1
placeholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
reserved_2
laceholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
Note: Any condition value returned by $ASSIGN, $QIO, $CREMBX, LIB$GET_VM, $GETDVI,
LIB$GET_EF, LIB$FREE_VM is also stored in register zero (0).
Chapter 5 / Using the Application Programming Interface 93
Routine Arguments
NDM_EVENT_API_DECODE_MESSAGE message
[time]
[class]
[type]
[node]
[name]
[name_length]
[data_procedure]
[data_context]
reserved_1
reserved_2
reserved_3
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_DECODE_MESSAGE
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Argument
The following are descriptions for each NDM_EVENT_API_DECODE_MESSAGE routine argument:
message
the address of a descriptor that points to a buffer containing the event message.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
94 Connect:Direct for OpenVMS User’s Guide
time
the address of a quadword to receive the system time of the event.
OpenVMS Usage: date_time
type: quadword (signed)
access: write only
mechanism: by reference
class
the address of a word to receive the event message class.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
type
the address of a word to receive the event message type.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
node
the site-specified source node context value of the event message.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: write only
mechanism: by reference
name
the address of descriptor that points to a character string that receives the descriptive name associated
with the event. An event name can be up to 64 characters.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
name_length
the address of a word that receives the length of the descriptive name.
OpenVMS Usage: ser_arg
type: word (unsigned)
access: write only
mechanism: by reference
data_procedure
the address of a user-supplied action routine that NDM_EVENT_API_DECODE_MESSAGE calls
for each message data item found.
OpenVMS Usage: procedure
type: procedure value
access: function call (before return)
mechanism: by value
Chapter 5 / Using the Application Programming Interface 95
data_context
user-supplied argument that NDM_EVENT_API_DECODE_MESSAGE passes to the data action
procedure. The same method used to pass data_context to
NDM_EVENT_API_DECODE_MESSAGE is also used to pass it to the data action routine. If this
argument is omitted, a zero is passed by value.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: ongword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_3
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Routine Arguments
data_procedure data_context
message
sequence
item_code
96 Connect:Direct for OpenVMS User’s Guide
Routine Arguments
item_name
item_type
item_data
item_value
item_desc
reserved
Arguments
The following are the arguments for the action routine:
data_context
value passed by NDM_EVENT_API_DECODE_MESSAGE action routine. The same passing
method used to pass data_context to NDM_EVENT_API_DECODE_MESSAGE is used by
NDM_EVENT_API_DECODE_MESSAGE to pass data_context to the action routine.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
message
the event message as received from the Connect:Direct for OpenVMS event logger process. The
message argument is the address of a descriptor that points to a buffer containing the event message.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
sequence
the sequence number of the data item in the event message.
OpenVMS Usage: user_arg
type: longword (signed)
access: read only
mechanism: by value
item_code
specifies the binary identifier code of the data item.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
Chapter 5 / Using the Application Programming Interface 97
item_name
the address of a descriptor that points to a string containing the name of the data item.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
item_type
specifies the data item type.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
item_data
the address of a descriptor that points to the binary data item.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
item_value
the address of a descriptor that points to a string containing the converted ASCII value of the data
item.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
item_desc
the address of a descriptor that points to a string containing the descriptive text associated with the
data item.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
reserved
placeholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
98 Connect:Direct for OpenVMS User’s Guide
Note: Any condition value returned by LIB$ANALYZE_SDESC is also stored in register zero (0).
Routine Arguments
NDM_EVENT_API_DECODE_ITEM message
[sequence]
item_code
[name]
[name_length]
[item_type]
[item_data]
[data_length]
[item_value]
[value_length]
[item_desc]
[desc_length]
reserved_1
reserved_2
Chapter 5 / Using the Application Programming Interface 99
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_DECODE_ITEM routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are descriptions for each NDM_EVENT_API_DECODE_ITEM routine argument:
message
the address of a descriptor that points to a buffer containing the event message.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
sequence
the address of a longword that receives the sequence number of the item in the event message.
OpenVMS Usage: user_arg
type: longword (signed)
access: write only
mechanism: by reference
item_code
the binary item code identifier value.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
name
the address of descriptor that points to a character string that receives the name of the item. An item
name can be up to 31 bytes.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
name_length
the address of a word that receives the length of the item name.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
100 Connect:Direct for OpenVMS User’s Guide
item_type
the address of a longword that receives the binary item type.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: write only
mechanism: by reference
item_data
the address of descriptor that points to a character string that receives the binary item data. A data
item can be up to 255 bytes.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
data_length
the address of a word that receives the length of the binary data item.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
item_value
the address of descriptor that points to a character string that receives the converted ASCII value of
the binary data item. The data item value can be up to 255 bytes.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
value_length
the address of a word that receives the length of the converted ASCII value of the binary data item.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
item_desc
the address of descriptor that points to a character string that receives the descriptive text associated
with the data item. The descriptive text can be up to 64 bytes.
OpenVMS Usage: char_string
type: character string
access: write only
mechanism: by descriptor
desc_length
the address of a word that receives the length of the descriptive text.
OpenVMS Usage: user_arg
type: word (unsigned)
access: write only
mechanism: by reference
Chapter 5 / Using the Application Programming Interface 101
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Note: Any condition value returned by LIB$ANALYZE_SDESC is also stored in register zero (0).
Routine Arguments
NDM_EVENT_API_WRITE_MESSAGE [message]
reserved_1
102 Connect:Direct for OpenVMS User’s Guide
Routine Arguments
reserved_2
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_WRITE_MESSAGE
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are descriptions for each NDM_EVENT_API_WRITE_MESSAGE routine argument:
message
the address of a descriptor that points to a buffer containing the event message.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Note: Any condition value returned by $ASSIGN, $QIO, LIB$ANALYZE_SDESC, $TRNLNM is also
stored in register zero (0).
Routine Arguments
NDM_EVENT_API_MSGFILE_OPEN msg_file
msg_fctx
reserved_1
reserved_2
reserved_3
reserved_4
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_MSGFILE_OPEN routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are descriptions for each NDM_EVENT_API_MSGFILE_OPEN routine argument:
message
the address of a descriptor that points to a character string containing the filename of a Connect:Direct
for OpenVMS message file.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
104 Connect:Direct for OpenVMS User’s Guide
msg_fctx
the address of a longword that receives the Connect:Direct for OpenVMS message file open context
identifier.
OpenVMS Usage: context
type: longword (unsigned)
access: write only
mechanism: by reference
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_3
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_4
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Routine Arguments
NDM_EVENT_API_MSGFILE_DISPLAY msg_fctx
msg_key
msg_procedure
msg_context
reserved_1
reserved_2
reserved_3
reserved_4
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_MSGFILE_DISPLAY
routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are the arguments for the routine:
msg_fctx
the value of the Connect:Direct for OpenVMS message file identifier returned by the
NDM_EVENT_API_MSGFILE_OPEN routine.
OpenVMS Usage: context
type: longword (unsigned)
access: read only
mechanism: by value
106 Connect:Direct for OpenVMS User’s Guide
msg_key
the address of a descriptor that points to a character string containing the message identifier to be
found. The message identifier can be up to 8 characters in length.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor
msg_procedure
the address of a user-supplied action routine that NDM_EVENT_API_MSGFILE_DISPLAY calls for
each line of associated message file text.
OpenVMS Usage: procedure
type: procedure value
access: function call (before return)
mechanism: by value
msg_context
user-supplied argument that NDM_EVENT_API_MSGFILE_DISPLAY passes to the message file
text action procedure. The same method used to pass msg_context to
NDM_EVENT_API_MSGFILE_DISPLAY is also used to pass it to message file text action routine.
If this argument is omitted, a zero is passed by value.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_3
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Chapter 5 / Using the Application Programming Interface 107
reserved_4
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
Routine Arguments
msg_procedure msg_context
msg_text
reserved
Arguments
The following are the arguments for the action routine:
msg_context
value passed by NDM_EVENT_API_MSGFILE_DISPLAY action routine. The same passing
method used to pass msg_context to NDM_EVENT_API_MSGFILE_DISPLAY is used by
NDM_EVENT_API_MSGFILE_DISPLAY to pass msg_context to the action routine.
OpenVMS Usage: user_arg
type: longword (unsigned)
access: read only
mechanism: by value
msg_text
the address of a descriptor that points to a buffer containing a line of the associated message file text.
OpenVMS Usage: char_string
type: character string
access: read only
mechanism: by descriptor - fixed length string
descriptor
108 Connect:Direct for OpenVMS User’s Guide
reserved
placeholding argument reserved to Sterling Commerce.
OpenVMS Usage: null_arg
type: longword (unsigned)
access: read only
mechanism: by value
SS$_NORMAL Success.
Note: Any condition value returned by RMS, LIB$ANALYZE_SDESC is also stored in register zero (0).
Routine Arguments
NDM_EVENT_API_MSGFILE_CLOSE msg_fctx
reserved_1
reserved_2
reserved_3
reserved_4
Chapter 5 / Using the Application Programming Interface 109
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_MSGFILE_CLOSE routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are descriptions for the NDM_EVENT_API_MSGFILE_CLOSE routine arguments:
msg_fctx
the value of the Connect:Direct for OpenVMS message file identifier returned by the
NDM_EVENT_API_MSGFILE_OPEN routine.
OpenVMS Usage: context
type: longword (unsigned)
access: read only
mechanism: by value
reserved_1
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
reserved_2
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
SS$_NORMAL Success.
Note: Any condition value returned by RMS, LIB$FREE_VM is also stored in register zero (0).
110 Connect:Direct for OpenVMS User’s Guide
Routine Arguments
NDM_EVENT_API_GET_VERSION version
reserved
Return Values
The following are values returned in register zero (0) for the NDM_EVENT_API_GET_VERSION routine:
OpenVMS usage: cond_value
type: longword (signed)
access: write only
mechanism: by value
Arguments
The following are the descriptions for the NDM_EVENT_API_GET_VERSION routine arguments:
version
the address of a longword that receives the API version number.
OpenVMS Usage: user_arg
type: longword (signed)
access: write only
mechanism: by reference
reserved
placeholding argument reserved to Sterling Commerce. This argument must be specified as zero.
OpenVMS Usage: null_arg
type: longword integer (unsigned)
access: read only
mechanism: by value
SS$_NORMAL Success.
This appendix lists the following Event Logging Facility event information:
Event list
Event class
Event types
Event item description
Event item codes
Sample event message formats
Event List
The current event list is as follows:
Event Description
Event Description
Event Description
Event Description
NDMEVL$C$_USER_INTERFACE %X00000009
NDMEVL$C$_OPERATIONAL %X0000000B
NDMEVL$C$_SESSION_REQUESTER %X0000000D
NDMEVL$C$_SESSION_RESPONDER %X0000000F
NDMEVL$C$_EVENT_FACILITY %X00000081
NDMEVL$C$_CUSTOMER_DEFINED %X00000100
Event Types
The following are the currently defined event type codes:
NDMEVL$T$_PROCESSSTARTUP %X00000001
NDMEVL$T$_STARTUPCOMPLETE %X00000002
NDMEVL$T$_UILINKCOMPLETE %X00000003
NDMEVL$T$_UILINKLOST %X00000004
NDMEVL$T$_UIACCESSCOMPLETE %X00000005
NDMEVL$T$_UIACCESSFAILURE %X00000006
NDMEVL$T$_UIPROXYACCESSCOMPLETE %X00000007
NDMEVL$T$_UIPROXYACCESSREQUEST %X00000008
NDMEVL$T$_UIPROXYACCESSFAILURE %X00000009
NDMEVL$T$_SUBMITREQUESTCOMPLETE %X0000000A
NDMEVL$T$_SUBMITREQUESTFAILURE %X0000000B
NDMEVL$T$_NETMAPCHANGEREQUESTED %X0000000C
NDMEVL$T$_STATUSCHANGEREQUESTED %X0000000D
NDMEVL$T$_PROCESSCREATEFAILURE %X0000000E
NDMEVL$T$_PROCESSTIMEOUTFAILURE %X0000000F
NDMEVL$T$_PROCESSTERMABNORMAL %X00000011
NDMEVL$T$_DECNETREQUESTRECEIVED %X00000012
NDMEVL$T$_RETRYLIMITREACHED %X00000013
NDMEVL$T$_CDSERVERPRCDIAGNOSTIC %X00000014
NDMEVL$T$_PROCESSCREATECOMPLETE %X00000001
NDMEVL$T$_ACCESSCOMPLETE %X00000002
NDMEVL$T$_ACCESSFAILURE %X00000003
NDMEVL$T$_PROXYACCESSREQUEST %X00000005
NDMEVL$T$_PROXYACCESSREJECTED %X00000007
NDMEVL$T$_LINKCOMPLETE %X00000008
NDMEVL$T$_LINKFAILURE %X00000009
118 Connect:Direct for OpenVMS User’s Guide
NDMEVL$T$_LINKLOST %X0000000A
NDMEVL$T$_SESSIONREJECTED %X0000000B
NDMEVL$T$_TRANSMITSTARTED %X0000000E
NDMEVL$T$_TRANSMITCOMPLETE %X0000000F
NDMEVL$T$_TRANSMITFAILURE %X00000010
NDMEVL$T$_RECEIVESTARTED %X00000013
NDMEVL$T$_RECEIVECOMPLETE %X00000014
NDMEVL$T$_RECEIVEFAILURE %X00000015
NDMEVL$T$_RUNTASKLOCALSTARTED %X00000018
NDMEVL$T$_RUNTASKLOCALCOMPLETE %X00000019
NDMEVL$T$_RUNTASKLOCALFAILURE %X0000001A
NDMEVL$T$_RUNTASKLOCALREJECTED %X0000001B
NDMEVL$T$_RUNTASKREMOTESTARTED %X0000001D
NDMEVL$T$_RUNTASKREMOTECOMPLETE %X0000001E
NDMEVL$T$_RUNTASKREMOTEFAILURE %X0000001F
NDMEVL$T$_RUNJOBLOCALSTARTED %X00000021
NDMEVL$T$_RUNJOBLOCALCOMPLETE %X00000022
NDMEVL$T$_RUNJOBLOCALFAILURE %X00000023
NDMEVL$T$_RUNJOBLOCALREJECTED %X00000024
NDMEVL$T$_RUNJOBREMOTESTARTED %X00000026
NDMEVL$T$_RUNJOBREMOTECOMPLETE %X00000027
NDMEVL$T$_RUNJOBREMOTEFAILURE %X00000028
NDMEVL$T$_SUBMITLOCALSTARTED %X0000002A
NDMEVL$T$_SUBMITLOCALCOMPLETE %X0000002B
NDMEVL$T$_SUBMITLOCALFAILURE %X0000002C
NDMEVL$T$_SUBMITLOCALREJECTED %X0000002D
NDMEVL$T$_SUBMITREMOTESTARTED %X0000002F
NDMEVL$T$_SUBMITREMOTECOMPLETE %X00000030
NDMEVL$T$_SUBMITREMOTEFAILURE %X00000031
NDMEVL$T$_SESSIONPERSONACHANGE %X00000033
NDMEVL$T$_SESSIONCOMPLETE %X00000034
NDMEVL$T$_CDSESSIONDIAGNOSTIC %X00000035
NDMEVL$T$_LOGFILESTARTED %X00000001
NDMEVL$T$_LOGFILEERROR %X00000002
Appendix A / Event Logging Facility-Event Information 119
NDMEVL$T$_SHUTDOWNRECEIVED %X00000003
NDMEVL$T$_SERVERPRCTERMINATED %X00000004
NDMEVL$T$_CUSTOMERDATA %X00000001
NDMEVL$I$F_CHECKPOINTRESTART Checkpoint/Restart
NDMEVL$I$M_ %XF0000000
NDMEVL$I$F_ %X10000000
NDMEVL$I$B_ %X20000000
NDMEVL$I$W_ %X30000000
NDMEVL$I$L_ %X40000000
Appendix A / Event Logging Facility-Event Information 121
NDMEVL$I$Q_ %X50000000
NDMEVL$I$T_ %X60000000
NDMEVL$I$S_ %X70000000
NDMEVL$I$V_ %X80000000
NDMEVL$I$L_LOCALNODESTATUS %X40000002
NDMEVL$I$L_LOCALNODESTATUSVALUE %X40000004
NDMEVL$I$S_REQUESTIDENTIFIER %X70000006
NDMEVL$I$S_SESSIONSCRIPTNAME %X70000008
NDMEVL$I$L_SESSIONSCRIPTNUMBER %X4000000A
NDMEVL$I$S_SESSIONSCRIPTSTEP %X7000000C
NDMEVL$I$S_SESSIONSCRIPTFILE %X7000000E
NDMEVL$I$S_SCRIPTSUBMITUSERNAME %X70000010
NDMEVL$I$S_SESSIONLINKTYPE %X70000012
NDMEVL$I$S_SESSIONDECNETNODE %X70000014
NDMEVL$I$S_SESSIONDECNETTASK %X70000016
NDMEVL$I$S_SESSIONTCPADDRESS %X70000018
NDMEVL$I$S_SESSIONTCPPORTNUMBER %X7000001A
NDMEVL$I$S_REMOTENODENAME %X70000020
NDMEVL$I$S_REMOTENODEUSER %X70000022
NDMEVL$I$B_REMOTENODERC %X20000024
NDMEVL$I$S_REMOTENODEMSGID %X70000026
NDMEVL$I$L_REMOTENODEFDBK %X40000028
NDMEVL$I$S_LOCALNODENAME %X7000002A
NDMEVL$I$S_LOCALNODEUSER %X7000002C
NDMEVL$I$B_LOCALNODERC %X2000002E
NDMEVL$I$S_LOCALNODEMSGID %X70000030
NDMEVL$I$L_LOCALNODEFDBK %X40000032
NDMEVL$I$S_SOURCEFILENAME %X70000034
NDMEVL$I$S_DESTINATIONFILENAME %X70000036
NDMEVL$I$Q_RECEIVERECORDCOUNT %X50000038
NDMEVL$I$Q_RECEIVEBYTECOUNT %X5000003A
NDMEVL$I$Q_TRANSMITRECORDCOUNT %X5000003C
NDMEVL$I$Q_TRANSMITBYTECOUNT %X5000003E
NDMEVL$I$F_DATACOMPRESSION %X10000040
122 Connect:Direct for OpenVMS User’s Guide
NDMEVL$I$F_CHECKPOINTRESTART %X10000042
NDMEVL$I$S_PROCESSNAME %X70000044
NDMEVL$I$L_PROCESSIDENTIFIER %X40000046
NDMEVL$I$S_RELEASEVERSIONSTRING %X70000048
NDMEVL$I$S_DECNETDEVICENAME %X7000004A
NDMEVL$I$S_PROCESSNODENAME %X7000004C
NDMEVL$I$S_REQUESTERUSERNAME %X7000004E
NDMEVL$I$S_REQUESTERUSERNODE %X70000050
NDMEVL$I$S_REQUESTERACTION %X70000052
NDMEVL$I$B_CDDIAGNOSTICRC %X20000056
NDMEVL$I$S_CDDIAGNOSTICMSGID %X70000058
NDMEVL$I$L_CDDIAGNOSTICFDBK %X4000005A
NDMEVL$I$F_SESSIONRESTART %X1000005C
NDMEVL$I$T_TRANSFERSTARTTIME %X6000005E
NDMEVL$I$T_TRANSFERSTOPTIME %X60000060
NDMEVL$I$V_CUSTOMERDEFINEDDATA %X80001000
A
Adjacent Node
An adjacent node is an entry in the Network Map that defines a Connect:Direct node with which the local
Connect:Direct node can communicate. The adjacent node is also referred to as a remote node.
C
Checkpoint Restart
The Checkpoint Restart feature eliminates the need to re-transmit an entire file in the event of a transmission
failure. If a copy procedure is interrupted, Connect:Direct restarts that copy at the last checkpoint.
Commands
Connect:Direct commands initiate and monitor activity within the Connect:Direct system.
I
Interactive Mode
The interactive mode of operation allows you to input multiple commands with one invocation of the user
interface (NDMUI).
126 Connect:Direct for OpenVMS User’s Guide
L
Local Node
The local node is the Connect:Direct server.
N
NDMUI
is the command that invokes the user interface. The user interface is one of the windows through which you
communicate with Connect:Direct for OpenVMS.
Node
A node is any site in a network from which information distribution can be initiated.
Noninteractive Mode
The noninteractive mode of operation allows you to issue a single command in one invocation of the NDMUI.
P
Primary Node (PNODE)
The Primary Node (PNODE) is the Connect:Direct node on which the Process is submitted. The primary node
can also be referred to as the controlling node or initiating node, but should not necessarily be interpreted as the
sending node, since PNODE can be the receiver. In every Process, there is one PNODE and one SNODE
specified. The submitter of a Process is always the PNODE.
Process
A Process is a series of statements that initiate Connect:Direct activity, such as copying files, running jobs, and
so on.
Process Statements
Process Statements are instructions for transferring files, running operating system jobs, executing programs,
or submitting other Connect:Direct Processes. They are used to build a Connect:Direct Process.
R
127
Remote Node
A remote node is an entry in the Network Map that defines a Connect:Direct node with which the local
Connect:Direct node can communicate. The remote node is also referred to as an adjacent node.
Retry Interval
The retry interval is the interval at which retries are performed if the Process encounters nonfatal errors.
S
Secondary Node (SNODE)
The secondary node (SNODE) is the Connect:Direct node that interacts with the primary node (PNODE)
during Process execution. SNODE can also be referred to as the participating (non-controlling) or partner node.
Every Process has one PNODE and one SNODE.
Server
The server accepts command requests, communicates with the session manager when work is placed in the
Transmission Control Queue (TCQ), and accepts session establishment requests from remote nodes.
Session Manager
The session manager establishes communication sessions, performs standard session management functions,
and executes Processes.
Statistics File
The statistics file holds Connect:Direct statistics records that document the history of a Process.
Statistics Facility
The Connect:Direct Statistics Facility records Connect:Direct activities.
T
Transmission Control Queue (TCQ)
The Transmission Control Queue (TCQ) holds information about Connect:Direct Processes that are currently
executing or scheduled to execute in the future.
U
User Interface (NDMUI or UI)
The communications process used to interface with the server. Commands are issued through the user interface
when you want to work with the Connect:Direct product.
128 Connect:Direct for OpenVMS User’s Guide
Index
T
type file records 15
U
underlined letters, notational conventions 10
uppercase and lowercase letters, notational
conventions 10
uppercase letters, notational conventions 10
user interface 11
description 12
invoking 11
V
version 68
vertical bars, notational conventions 10
W
wildcard 50, 53
134 Connect:Direct for OpenVMS User’s Guide