CDZ OSUser
CDZ OSUser
CDZ OSUser
User Guide
Version 5.1.1
User Guide
Version 5.1.1
Note
Before using this information and the product it supports, read the information in Notices on page 169.
This edition applies to version 5.1.1 of IBM Connect:Direct for z/OS and to all subsequent releases and
modifications until otherwise indicated in new editions.
Copyright IBM Corporation 1999, 2012.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Chapter 1. Introduction to Sterling
Connect:Direct commands. . . . . . . 1
Supported commands . . . . . . .
Writing Sterling Connect:Direct commands
Native format . . . . . . . . .
Command example . . . . . . .
Command syntax . . . . . . . .
Indicating case sensitivity . . . . .
Indicating selection criteria . . . .
Indicating output destination . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
2
2
3
3
6
7
7
.
.
.
.
.
.
. 9
. 9
. 10
. 10
. 11
. 11
. 12
.
.
.
.
.
.
.
.
15
17
18
18
19
19
20
21
. 22
. 22
. 23
. 24
.
.
.
.
.
.
.
.
.
.
.
.
.
.
25
26
27
29
32
32
34
z/OS
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
37
37
38
40
45
. 46
. 48
. 48
49
. 49
. 49
. 50
. 50
54
54
55
55
56
60
62
70
71
71
71
72
72
74
75
75
76
76
77
78
. 83
. 83
. 83
. 83
. 88
. 88
. 89
. 89
. 90
iii
. 91
. 92
.
.
.
.
.
.
.
.
.
.
. 97
. 97
92
94
94
96
. 135
. 135
Notices . . . . . . . . . . . . . . 169
. 136
. 137
Index . . . . . . . . . . . . . . . 173
Logical Queues . . . . . . . . . . . . .
Queuing Parameters . . . . . . . . . .
TCQ Status and State Values . . . . . . .
Process Recovery . . . . . . . . . . . .
COPY Statement Checkpoint/Restart Facility
Checkpoint/Restart Examples for TCP/IP, UDT,
or LU6.2 Transfers . . . . . . . . . . .
RUN TASK Checkpoint/Restart . . . . . .
103
103
104
110
111
113
114
iv
. 137
141
141
142
143
145
146
146
147
147
149
150
150
151
151
152
153
153
154
155
155
156
156
156
157
157
162
163
163
Description
Batch Interface
Interactive User
Some command options which you can select through the IUI do not have a batch
equivalent. The documentation notes these exceptions in option descriptions.
Supported commands
The following table lists Sterling Connect:Direct commands, which perform various
administrative and user functions.
Command
IUI
Function
CHANGE PROCESS
CP
DELETE PROCESS
DP
DELETE TYPE
DT
DELETE USER
DU
FLUSH PROCESS
FP
FLUSH TASK
TF
INQUIRE1
INQ
INQUIRE SNMP
INQ
SNMP
INSERT TYPE
IT
INSERT USER
IU
MODIFY
MD
SELECT MESSAGE
SEL MSG
Command
IUI
Function
SELECT NETMAP
NM
SELECT PROCESS
SP
SELECT STATISTICS
SS
SELECT TASK
TS
SELECT TCPXLAT
NM
SELECT TYPE
ST
SELECT USER
SU
SIGNON
SIGNOFF
STATISTICS
STAT
STOP CD
SN
SUBMIT
SB
SUSPEND PROCESS
SUS
SWAP NODE
SW
UPDATE NETMAP
UNM
UPDATE TYPE
IT
UPDATE USER
IU
Native format
The following table shows the structure of a Sterling Connect:Direct command in
its native format.
Label
Command
Component
Description
Label (optional)
Component
Description
Command
Parameters or
Subparameters
Command example
The following CHANGE PROCESS command changes a preexisting Process named
PAYROLL so that the new destination node is DALLAS1 and the Process executes
every Friday:
CH PROC
WHERE (PNAME=PAYROLL)
DEST=DALLAS1
RETAIN=Y
STARTT=(FR)
Command syntax
This section describes the syntax used to construct Sterling Connect:Direct
commands and Processes.
For a complete description of Process syntax and examples, see the IBM Sterling
Connect:Direct Process Language Reference Guide.
Asterisks
Use asterisks to indicate generic specifications of parameters in the SELECT
commands. With generics, you request information by specifying just a single
asterisk (*) or a character string plus an asterisk.
To examine records for users whose user IDs begin with ST, specify the following
parameter:
USERID=ST*
Chapter 1. Introduction to Sterling Connect:Direct commands
Commas
Commas function to separate items within a list (except in the case of symbolic
substitution. Refer to Symbolic Substitution), and to control the order of values
specified as positional parameters. You must use a comma to indicate omission of a
positional parameter. In the following example, the omission of the pswd
subparameter is indicated by the extra comma.
SIGNON USERID=(ID,,newpswd)
Continuation Marks
A command can continue across multiple lines. Use the hyphen (-), preceded and
followed by a space, to indicate that the command continues on the following line.
The hyphen can appear anywhere in positions 3-79. The following command is
continued on a second line.
CHANGE PROCESS WHERE (PNAME=PAYROLL) DEST=DALLAS1
Parentheses
In the following example, parentheses enclose lists and associate a group of values.
SIGNON USERID=(MYUID1,MYPSWD)
Symbolic Substitution
Use symbolic substitution to substitute information in a Sterling Connect:Direct
Process. The substitution is represented by an ampersand (&) plus 1-8
alphanumeric characters. In the following example, the value for &DATA is
resolved when you submit the Process.
DSN=&DATA
If you have multiple symbolics, separate them with one or more spaces.
The following example shows the use of double quotation marks to allow for the
resolution of symbolic substitution.
SIGNON PACCT="JOB FOR SYSMAINT,DEPT. &DEPND"
Single quotation marks are not valid for symbolic substitution in a Sterling
Connect:Direct command but can be used with a keyword parameter in a Process
statement (refer to the IBM Sterling Connect:DirectProcess Language Reference Guide
For example, the following SUBMIT Process command, which uses single
quotation marks:
&DCB=DCB=(LRECL=80,BLKSIZE=3120,RECFM=FB)
The following example which uses the same Process information as the example
above but this time with double quotation marks:
SUB PROC=DCB HOLD=YES &DCB=DCB=(LRECL=80,BLKSIZE=3120,RECFM=FM)
resolves to:
SUB PROC=DCB HOLD=YES
&DCB=DCB=(LRECL=80,BLKSIZE=3120,RECFM=FB)
Comments
Comments allow you to include descriptive information within a command.
Comments are available for your convenience and do not affect Sterling
Connect:Direct. Use the following formats for comments:
v Preceded by a slash-asterisk (/*) and followed by an asterisk-slash (*/).
v An asterisk (*) in position 1, followed by the comment.
All three of the following lines are valid comments, indicating that the SIGNON
command labeled DSIGN signs on to the DALLAS node.
/* SIGN ON TO DALLAS */
*SIGN ON TO DALLAS
DSIGN SIGNON NODE=DALLAS /*DALLAS*/
Concatenation
Use the double bar ( || ) to concatenate, or link together, character strings. You
must precede the double bar and follow it with a blank. Use the double bar to join
a long value that continues over multiple records. For example, you can type the
following command.
PACCT=JOBACCTDATA ||
WITHNOBLANKS
Special Characters
Certain characters cause Sterling Connect:Direct to take special actions. These
special characters are the hyphen (-), double bar (||), ampersand (&), and the
Sterling Connect:Direct delimiters. The following table lists the delimiters
recognized by Sterling Connect:Direct.
Delimiters
Description
blank
<
>
asterisk
Chapter 1. Introduction to Sterling Connect:Direct commands
Delimiters
Description
open parenthesis
close parenthesis
not sign
slash
backslash
comma
period
'
"
equal sign
opening brace
closing brace
opening bracket
closing bracket
Level
Description
Session
Level
Description
Individual Command
Process
For commands that refer to Processes already in the TCQ, only the
CASE parameter applies to the fields in the command. For
commands that refer to Processes that are not yet in the TCQ, the
case sensitivity applies to the Process statements.
Additionally, you see lists for Process name and submitter to indicate the selection
criteria. The Sterling Connect:Direct IUI builds the WHERE parameter for the
command as it selects the fields from left to right on the screen.
Parameter
Description
FILE
TABLE or
DISPLAY
Some screens offer additional output format, such as summary tables. These
options are listed along with the display, file, and print options.
Processing rules
The following rules apply to Sterling Connect:Direct commands and options in the
DGADBATC job stream.
v The first command in the job stream must be a SIGNON command.
v The maximum command string length is 4,096 bytes. Each new Sterling
Connect:Direct command in the job stream must start on a separate line. You can
split a command across more than one line by using the continuation mark.
However, the first word or string of the next command must start on a new line
as shown in the following example.
SIGNON USERID=(LYNN) NODE=CD.BOSTON
SEL STAT WHERE (PNUM=24)
SIGNOFF
The following example shows the COPY Process submitted in the previous
example as it is displayed in the Sterling Connect:Direct Public Process Library,
$CD.SDGAPROC:
COPY
STEP1
PROCESS
COPY
FROM(&NODE DSN=&DSN1
DISP=SHR)
TO (DSN=&DSN2 DISP=(&DISP1,&DISP2)) &COMPRESS
Description
STEPLIB
Indicates the location of the library that contains the Sterling Connect:Direct
load modules. This DD statement is required, unless the data set is in
linklist.
DMNETMAP Indicates the name of the network map for the node you are signing on to.
You can also specify this name through the SIGNON command NETMAP
parameter. If you use both methods, the network map file name specified
on the SIGNON command takes precedence. This DD statement is optional.
10
DMPUBLIB
Indicates the library that contains the Sterling Connect:Direct Processes. This
DD statement is required.
DMMSGFIL
DMPRINT
Indicates the destination of the job output from DGADBATC that collects
output messages such as error messages. This DD statement is required.
Always check DMPRINT output for verification of the processing that
occurred.
DDNAME
Description
SYSPRINT
NDMCMDS
SYSIN
Value
Description
Display short message text when the API sends a return code of
zero.
Display long message text when the API sends a return code of
zero.
Do not display message text when the API sends a return code of
zero.
Display short message text when the API sends a non-zero return
code.
Display long message text when the API sends a non-zero return
code.
Do not display message text when the API sends a return code
greater than zero.
Reserved
Reserved
11
detects error situations while processing commands for DGADBATC, and issues
special return codes based on these situations.
The return code from DGADBATC reflects the highest return code of all
commands processed.
If you receive a return code of 4 or 8, check the DMPRINT DD output for the exact
error that is encountered during command processing to DGADBATC.
A return code of 8 normally indicates an invalid parameter or keyword. A return
code of 4 indicates that DGADCHLA found nothing for the command. For
example, you could receive a return code of 4 if you issued a SELECT STATISTICS
command for a Process with no statistics.
If you receive a DGADBATC return code greater than 8, check return codes for
error information.
Return Code Description
0000000C
00000010
00000014
0000001C
00000020
00000024
00000028
For more information on multiple session environments, see Sample Job Stream to
Run the Batch Interface.
12
v If you use the MAXDELAY PROCESS statement keyword, the message SCBI221I
MAXDELAY not supported for ESF submits is displayed when the DTF is down
and the Process does not submit.
To place a job stream in a wait status for a specified period and set return codes
that indicate step or task completion, use the DGADWAIT program as a batch step
or a RUN TASK. For more information, see Run Task Wait Program (DGADWAIT).
The following example shows the MAXDELAY keyword that is coded in the
SUBMIT command.
//SYSIN
DD *
SIGNON USERID=(USER01,PASSWRD)
SUBMIT PROC=PROCAAA MAXDELAY=UNLIMITED
SIGNOFF
/*
You can also place the MAXDELAY keyword in the PROCESS statement for
PROCAAA, as in the following example.
PROCAAA
STEP01
13
14
Description
The Primary
Options Menu
Enables you to invoke screens where you can create and submit
Processes, view statistics about your Processes, control your Processes
in the Transmission Control Queue (TCQ), view your Sterling
Connect:Direct environment, access the message file, sign on, swap
nodes, and sign off Sterling Connect:Direct. This option is available to
all users, and is described in this book.
The
Administrative
Options Menu
Note: You can also use the IBM Sterling Connect:Direct Browser User Interface to
perform some of the procedures in this chapter.
To request a function, type its option identifier on the command line (CMD==>)
and press Enter. The following options enable you to create and submit Processes
to the TCQ:
Option
Description
CF
Displays the main Copy File Menu where you can set up a COPY Process.
15
Option
Description
SB
Displays the Submit Process screen where you can submit a predefined Process.
DF
Displays the Process Definition Screen where you can define or update a
Process using the ISPF edit function and then submit the Process.
Description
SS
Displays the Select Statistics screen where you can examine the system
statistics log records with search criteria applied and select the output to go to
a file, table, or printer. See Process Results and Statistics for more information
on the Select Statistics screen.
The following options enable you to delete, flush, view, suspend, and change
Processes in the TCQ:
Option
Description
CP
Accesses the Change Process screen where you can change the priority and
class of a Process and the status of the Process in the TCQ. See Modifying a
Process in the TCQ with CHANGE PROCESS for more information on the
Change Process screen.
DP
Displays the Delete Process screen where you remove a nonexecuting Process
from the TCQ.
FP
Displays the Flush Process screen where you can remove an executing Process
from the TCQ.
SP
Displays the Select Process screen where you view the status of Processes
submitted (placed in the TCQ) for execution. See Controlling Processes with
Commands for information.
PS
Displays the Suspend Process screen where you put an executing Process in the
Hold TCQ. See Controlling Processes with Commands for information.
16
Option
Description
MSG
Displays the Message Maintenance screen where you can display Sterling
Connect:Direct messages or print a summary or full report of the Sterling
Connect:Direct message file. See Viewing and Printing Messages Using
Different Criteria for more information on the Message Maintenance screen.
SD
Displays the Signon Defaults screen where you can examine and change your
signon default values. See Signing On to Sterling Connect:Direct for z/OS for
more information on the Signon Defaults screen.
NM
Displays the Select network map screen, where you choose for display or print
the defined nodes from the network map file and translate TCP/IP host names
and network addresses.
Option
Description
WHO
Displays the User Information screen, which indicates your user ID, user node,
version, release, maintenance level of Sterling Connect:Direct and file
information about your current session. See Signing On to Sterling
Connect:Direct for z/OS for more information on viewing current sign on
parameters.
AUTH
Displays the User Authorization screen. This screen displays commands you
are authorized to use. See Displaying Your User Authorization for more
information.
The following options enable you to sign on and swap among multiple sessions:
Option
Description
MS
Displays the Multiple Session Signon screen where you sign on to another DTF
session. See page 46 for information.
SW
Displays the Swap/Display User Sessions screen where you view all the
multiple sessions that you are signed on to and swap sessions. See Signing On
to Multiple Sessions for more information on the Multiple Session Signon
screen.
Description
SPF
ADMIN
17
Command
Description
=ADMIN.xx
where xx is the
screen ID
SPF.x
where x is the
SPF option that
you want to
display
Result
PF1
PF3
PF4
PF7
Scrolls up
PF8
Scrolls down
PF10
Scrolls right
PF11
Scrolls left
18
CSG.PROD390
USER AUTHORIZATION
13:30
CMD ==>
AUTH COMMAND
AUTH COMMAND
----------------------------------------------------1) YES - CHANGE PROCESS
15) YES - SELECT TASK
2) YES - DELETE PROCESS
16) YES - SELECT TYPE
3) YES - DELETE TYPE
17) YES - SELECT USER
4) YES - DELETE USER
18) YES - SUBMIT PROCESS
5) YES - FLUSH PROCESS
19) YES - SUBMIT WITHIN PROC
6) YES - FLUSH TASK
20) YES - SUSPEND PROCESS
7) Y/Y - INSERT/UPDATE TYPE
21) YES - STAT COMMAND
8) Y/Y - INSERT/UPDATE USER
22) YES - EVENT COMMAND
9) YES - MODIFY (TRACE)
23) YES - VIEW PROCESS
10) YES - STOP Connect:Direct
24) YES - PERFORM CRC OVERRIDES
11) YES - UPDATE NETWORK MAP
25) NO - CONFIRM DELETE
12) YES - SELECT NETWORK MAP
26) NO - CONFIRM DEL OFF
13) YES - SELECT PROCESS
27) YES - SECURE+ ADMIN
14) YES - SELECT STATISTICS
28) NO - UPDATE INITPARM
YES or Y means you are authorized, NO or N means you are not authorized, and
SUB means you are authorized only if you submitted the Process.
To branch to an authorized function, type the corresponding number on the
command line.
Getting Help
Sterling Connect:Direct provides a Help facility which describes the parameters
that you can type through the IUI.
Procedure
v Access the Help information by typing HELP on the command line and press
Enter or pressing the PF1 key.
v Press Enter to continue viewing the Help screens.
v When you have viewed the screens, you can either press PF1 to continue to the
tutorial or press PF3 to return to the screen you branched from.
Operator Tables
The Operator Table is available only under the IUI. This display enables you to
monitor and control Processes. It is accessed through the SELECT PROCESS
command and provides a summary of PNODE Processes in the TCQ. See Viewing
and Controlling a Process through the Operator Table for a description and
samples of the Operator Table.
19
node.name
Row 1 to 6 of 6
-------------------------------OPERATOR TABLE------------------==> Q
SCROLL ===> PAGE
OPTION
PNAME
PNUMBER
SUBMITTER.NODE-- OTHER.NODE------ QUEUE
SERVER
USERID
------------------------------------------------------------------------------SEND100M
18
CD.NODE1
CD.STD45
EX EX
USER01
SEND50K
20
CD.NODE2
10.20.129.151
P EX
USER01
COPYPAY
25
CD.NODE3
CD.STD44
P EX
USER01
BKUPDSK1
2
CD.NODE4
10.20.129.141
P EX
USER01
BENCH50
13,218
CD.NODE5
CD.STD45
P EX
USER01
COPYCF
21
CD.NODE6
CD.STD45
HO HI
******************************* Bottom of data ********************************
USER01
You can press Enter to refresh the display and monitor the progress of the
Processes displayed on the screen. The following table describes the commands
that you can issue from the Operator Table.
Command
Description
Hold
Delete
Release
Suspend
Flush
View Processes
Show Detail
Type the option you want in the OPTION column next to the name of the Process
as shown in the previous screen.
Note: The Executing Queue version of the Operator Table displays the executing
Processes only; therefore, the options available to it are limited to the Suspend (P)
and Show detail (S) only.
Messages
You may encounter two types of messages: ISPF/PDF and Sterling Connect:Direct
messages.
20
Message Type
Description
ISPF/PDF
messages
Display at the top of the screen when the value you typed for a field does
not pass the editor. You get this kind of message if, for example, you type
an alphabetic character in a numeric field. Press PF1 to see a longer
explanation of the error or type HELP on the command line and press
Enter.
Message Type
Description
Sterling
Connect:Direct
messages and
sense codes
Contain a short and long text which explain an error you get when you
submit your command. This type of error is indicated by a message ID
with the format xxxxnnnx, for example, SVSL003I. You get this error, if,
for example, you type an invalid Process name on a SELECT PROCESS
command.
Sterling Connect:Direct generates a sense code to indicate a connection
error involving a netmap. The format for a sense code is SENSnnnn where
nnnn is the four-digit number representing the sense code.
Message Example
In the following example, the user typed ABC for Process Number, a numeric field,
resulting in the message PROCESS NUMBER in the upper right corner. Pressing
PF1 produces the longer message "ABC" IS INVALID...
node.name
SELECT PROCESS
PROCESS NUMBER
CMD ==> O
hh:mm
"ABC" IS INVALID; MUST BE IN THE RANGE 0 - 199,999.
CMD:
O ... OPERATOR TABLE S ... OPERATOR TABLE/EXEC QUEUE STATUS
P ... PRINT REPORT
D ... DISPLAY REPORT
V ... VIEW PROCESS
QUEUE:
==> _ (A-ALL,W-WAIT,E-EXECUTE,H-HOLD,T-TIMER)
PROCESS NUMBERS: ==> ______
==> ______
==> ______
==> ______
PROCESS NAMES:
==> ________
==> ________
==> ________
==> ________
SERVER NAMES:
==> ________
==> ________
==> ________
==> ________
STATUS:
(HO,HR,HI,HE,HC,HP,HS,RH,RA,WC,WX,WT,H,R,W)
==> __
==> __
==> __
==> __
DESTINATION NODES:
==> ________________
==> ________________
==> ________________
==> ________________
USER ID:
NODE ID:
==> ________________________________________________________________
==> ________________
==> ________________________________________________________________
==> ________________
DO YOU WANT VALUES FOR THIS REQUEST TO BE CASE SENSITIVE? ==> NO
The following is an of the short text message that is displayed at the top of the
screen.
No process(es) found matching the search criteria.
The long text provides a more detailed explanation of the message and can also
include the system action and a suggested response. Press PF1 to see the long
explanation of the error or type HELP or M on the command line and press Enter.
The following figure shows a sample message.
node.name
Connect:Direct MESSAGE DISPLAY
CMD ==>
MSGID ==> SVSL003I
MODULE ==> DMVSOPEN
Copy requested DISP=(,CATLG) to already cataloged dataset.
The PROCESS COPY step requested a DISP=(,CATLG) on the TO
clause of the COPY statement. The requested dataset already
exists as a cataloged dataset.
System Action. The PROCESS COPY step is terminated with a
completion code of 8.
Response: Either correct the COPY dataset or uncatalog the
existing dataset and re-submit the PROCESS.
hh:mm
21
S1
S1
S1
S1
SESSION
SESSION
PROCESS
PROCESS
SNODE=SC.DUB.OS390
PNODE=SC.DUB.OS390
1) PNODE=SC.DUB.OS390
1) SNODE=SC.DUB.OS390
Procedure
1. Type DIR at the COMMAND prompt at the bottom of the screen to display the
directory of the module messages.
2. From the Primary Options Menu, select option MSG. The MSG command is
available only through the IUI. The following sample screen is a combination of
two panels to show the prefixes used in Sterling Connect:Direct messages:
22
2 Members processed
3. Type 1 on the command line and press Enter. The Message Display Screen
appears.
4. Type the message ID and press Enter. (To check a sense code, type SENSnnnn
where nnnn is the four-digit number representing the sense code and press
Enter.) The full text of the message (or sense code) is displayed. In the
following example, the information associated with Message SCBI190I is
shown.
Connect:Direct MESSAGE DISPLAY
DATE => yyyy.mm.dd
TIME => hh:mm
MESSAGE ID==> SCBI190I
MODULE
==> DMCBSUBM
==============================================================================
SHORT TEXT==> Process specified not in process library.
LONG TEXT:
LINE 1 ==> This message may be generated for the following reasons:
LINE 2 ==>
LINE 3 ==> 1) The member specified is not in the public process library
LINE 4 ==>
or in the PDS specified in the DSN= keyword.
LINE 5 ==> 2) The process library has not been properly concatenated.
LINE 6 ==>
LINE 7 ==>
LINE 8 ==>
LINE 9 ==>
LINE 10==> SYSTEM ACTION: Return to invoker with RC=8.
LINE 11==>
LINE 12==> RESPONSE: Verify the above is correct and resubmit process.
COMMAND ===> ________ ENTER DIR TO DISPLAY THE DIRECTORY
23
Procedure
1. From the Primary Options Menu, select option MSG.
Note: The MSG command is available only through the IUI.
2. Type 2 on the command line, specify a Module (optional), and press Enter. The
Message Summary screen appears. (If you do not specify a module name, all
messages are displayed.) In the sample below, the module, DMINIT2, was
specified.
------------------Connect:Direct MESSAGE SUMMARY------------------ Row 1 of 31
CMD ==>
SCROLL ===> PAGE
MSG ID
MODULE MESSAGE
CSPN010E DMINIT2 SIGNATURE.DSN.BASE Initialization Parameter Invalid
CSPN011E DMINIT2 SIGNATURE.FILE.PAIRS Initialization Parameter Invalid
CSPN012E DMINIT2 SIGNATURE.DSN.BASE and/or SIGNATURE.FILE.PAIRS missing
CSPN013E DMINIT2 SECURE+ Interface Module not found
CSPN116E DMINIT2 PARM FILE VALIDATION FAILURE
CSPN117E DMINIT2 SECURE.DSN IS NOT A VSAM KSDS
CSPN118E DMINIT2 SECURE+ INTERFACE MODULE NOT FOUND
SCFS006I DMINIT2 AUTOLOG OF CMS SERVER FAILED
SITA137E DMINIT2 POSIX Init Parm conflict.
SITA169I DMINIT2 SECURE.DSN Data set not found.
SITA170I DMINIT2 TRACE.BUFFER outside 0-999 range, TRACE.BUFFER=2 assumed.
SITA185I DMINIT2 SITA185I (VSE) TCP.NAME VALUE OVERRIDEN BY SYSPARM.
SITA190I DMINIT2 Secure+ Initialization failed, Secure No Override No
SITA278I DMINIT2 All nodes are quiesced, QUIESCE=YES specified
SITA338I DMINIT2 Asset Protection Failure.
SITA339I DMINIT2 Number of licensed copies has been exceeded.
SITA604I DMINIT2 Invalid option specified for SNA paramater.
SITA607I DMINIT2 SNA=YES but no VTAM APPLID is available.
SITA609I DMINIT2 VTAM services disabled.
SITA610I DMINIT2 Both SNA and TCP are NO, can not continue.
SITA641W DMINIT2 Level of PDSE.SHARING is not supported.
Note: You must specify the old modules names used in versions prior to the
5.1 release of Sterling Connect:Direct for z/OS. For information, go to IBM
Sterling Connect:Direct for z/OS Release Notes and search for Upgrading to Sterling
Connect:Direct for z/OS Version 5.1.
3. Type an S next to the message ID for the full Message Display screen.
Printing Messages
You can print the Sterling Connect:Direct messages file in summary form or in
detail, including the long form of the message text.
Procedure
1. From the Primary Options Menu, select option MSG.
Note: The MSG command is available only through the IUI.
2. Do one of the following:
v Type 3 on the command line for a summary report, and press Enter.
v Type 4 on the command line for a detail report, and press Enter.
Specify the sysout class for the message file print output and the ID for a
remote printer. If you want your output to go to a preallocated data set
instead, specify the name of the data set. You must enclose the data set name
in single quotes and give it the following DCB attributes.
DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=0
24
Description
DGAXSAMP
DGAXPLIS
DGAXCOBS
Note: All API programs run in 31-bit mode and they must call DGADCHLA in
31-bit mode. You can either link your program as AMODE 31, or establish 31-bit
addressability before calling DGADCHLA. See the sample program DGAXSAMP
for an example of establishing 31-bit addressability and returning to 24-bit
addressability after the call to DGADCHLA. Also execute DGADCHLA with a
BASSM rather than a BALR. Macro GENCALL is provided in the sample library to
perform a BASSM. See the sample program DGAXSAMP for an example.
DGADCHLA Program
The DGADCHLA program communicates with the API through a control block
interface called the User Interface Control Block (UICB). DGADCHLA works in the
following sequence:
1. DGADCHLA accepts Sterling Connect:Direct command strings from an
application program and passes the strings to the API.
2. The user-written application requests DGADCHLA to perform output
formatting routines after returning from the API. These formatting routines
display information about the Sterling Connect:Direct command that just
completed processing.
3. After execution of each command, DGADCHLA issues a return code reflecting
the status of API communications.
25
Description
CMDLEN
(first
parameter)
UICB@
(second
parameter)
OUTSPECS
(third
parameter)
Values
Meaning
26
Field
Values
Meaning
The following example shows the most common specifications for this parameter.
OUTSPECS DC C'YYSLYNNN'
Positions 6 and 7 are not used by DGADCHLA unless the extract feature of
DGADCHLA is used, as explained in the next section.
27
Note:
DGADCHLA specifies either the first three required parameters or all eight
parameters which include these parameters related to return codes. If an incorrect
number of parameters is passed, DGADCHLA issues an error message and assigns
a return code of 20. Processing cannot occur during this time.
Parameter
Description
EXTSTRLN
(fourth
parameter)
You can only specify the UICB fields listed in the extract string. If you
encounter an invalid keyword in the string, the extract routine
terminates execution, and no more information is extracted. The
application is informed of the error by means of the EXTRC, EXTMSG,
and INVALKEY parameters. If field 6 of the OUTSPECS parameter is
set to Y, the extract string is written to the file defined by DMPRINT.
EXTAREA (fifth
parameter)
EXTRC (sixth
parameter)
EXTMSG
(seventh
parameter)
INVALKEY
(eighth
parameter)
The following table shows how to calculate required storage for the extract area
necessary for the extract string in the figure shown for the EXTSTRLN parameter:
28
UICB Field
Data Definitions
Storage
UITMPDDN
Character length of 8
8 bytes
UIRTNCD
Fullword
4 bytes
UIPROC#
Fullword
4 bytes
UIMSGID
Character length of 8
8 bytes
UICB Fields
The following table shows the valid UICB fields. Specifying these fields in the
EXTSTRLN parameter results in feedback in the extract area, defined by the
EXTAREA parameter. Exact definitions are in the DGA$UICB macro found in
$CD.SDGAMAC. In the table, the Control Block Builder Syntax Error Work Areas
have a value only when appropriate. For the Boolean Flags, output is Y (bit is on)
or N (bit is off).
Name
Type
LN
Description
UIRCBLNG
halfword
UIDESCR
character
16
UICB identifier
UITCA
address constant
UIBRCB
address constant
UIDYNCB
address constant
UITPCB
address constant
UILEVEL
fullword
UITMPDCB
address constant
UIMSGCB
address constant
UIUNODE
character
16
User node ID
UIUID
character
64
User ID
UIPSWD
character
64
Signon password
UINPSWD
character
64
UITMPVOL
character
UNTMPDDN
character
UIUSRTYP
character
UIAPPLID
character
VTAM logon ID
UIRTNCD
fullword
UIMSGID
character
API message ID
UILNODE
character
16
UILPP
halfword
UITMPLNG
halfword
UITMPDSN
character
44
UIPUBLNG
halfword
UIPUBDSN
character
44
UIMSGLNG
halfword
UIMSGDSN
character
44
UINETMAP
character
64
UIPROC#
fullword
UIDSPLY
address constant
Address of SCDSPLY
UISTRING
address constant
Address of SCSTRING
****************
************
UILABL#
halfword
UILABL
character
29
Name
Type
LN
Description
UICMD1#
halfword
UICMD1
character
UICMD2#
halfword
UICMD2
character
UIKLST#
halfword
UIKLST
character
UIKEYW#
fullword
UIKEYW
character
UIPARM#
halfword
UIPARM
character
UIERRM1#
halfword
UIERRM1
character
64
UIERRM2
character
64
****************
************
UIERRON
character
UIERRLAB
character
UIERRCM1
character
UIERRCM2
character
UIERRSCP
character
UIERRC1O
character
UIERRC2O
character
UIERRG
character
UIERRLST
character
UIERRLOP
character
UIERRLCL
character
UIERRLEQ
character
UIERRLCM
character
UIERRLSP
character
UIERRKEY
character
UIERRKOP
character
UIERRKCL
character
UIERRKEQ
character
UIERRKCM
character
UIERRKSP
character
UIERRBPC
character
UIERRPRM
character
UIERRPOP
character
UIERRPCL
character
UIERRPEQ
character
30
Name
Type
LN
Description
UIERRPCM
character
UIERRPSP
character
UIF1SUBM
character
UIGOTDSN
character
UITFILE
character
UIEOF
character
UIMODAL
character
UITFILEX
character
Reserved
UIMASTER
character
UIRECON
character
UIINACT
character
UILOCAL
character
UIESF
character
UIZOPSWD
character
UIZNPSWD
character
****************
************
UIRAT@
address constant
UIDRLSE#
halfword
UIDPUF#
halfword
UIDPUT#
halfword
UILINE#
halfword
UIRLSE#
halfword
UIPUF#
halfword
UI@MASTR
address constant
UI@ACTIV
address constant
UI@FPTR
address constant
Next UICB
UI@BPTR
address constant
Previous UICB
UIALOTYP
character
UIALOPRI
character
UIALOSEC
character
UIALOUNI
character
UIALOVOL
character
UIFOLD
character
UIPRTALC
character
80
UIPACCT#
halfword
UIPACCT
character
255
UISACCT#
halfword
UISACCT
character
255
UIGSCAPI (VM)
character
31
Description
00000000
00000004
00000008
0000000C
00000010
00000014
00000018
0000001C
00000020
00000024
00000028
For more information on master sessions and multiple session environments, refer
to Signing On to Sterling Connect:Direct for z/OS.
Description
UIRTNCD
UIMSGID
UIPROC#
DGADCHLA Examples
The following examples show how required and optional parameters appear in
sample programs. There is also a sample job stream for executing the program.
32
******************************************************************
*
THE DATA DEFINITIONS ARE AS FOLLOWS:
*
******************************************************************
CMDLEN
DS
H
LENGTH OF COMMAND STRING
CMD
DS
CL4096
COMMAND STRING
UICB@
DS
A
POINTER TO UICB
OUTSPECS
DC
CYYSLYNN
OUTPUT SPECIFICATIONS
******************************************************************
*
*
*
THE DGADCHLA INVOCATION WOULD BE:
*
*
*
******************************************************************
CALL DGADCHLA,(CMDLEN,UICB@,OUTSPECS),VL
The following example shows how the required parameters and calling sequences
appear in a sample PL/I program:
******************************************************************
*
THE DATA DECLARATIONS ARE AS FOLLOWS:
*
******************************************************************
DECLARE
CMD_PARM
FIXED BINARY (31) BASED (R),
UICB_PARM
FIXED BINARY (31) INITI (0B),
OUTSPEC_PARM
CHAR (7) INIT (YYSLYNN),
CMD
CHAR (4096) VARYING,
R
POINTER;
******************************************************************
*
*
*
THE DGADCHLA INVOCATION WOULD BE:
*
*
*
******************************************************************
R=ADDR(CMD) ;
CALL DGADCHLA(CMD_PARM, UICB_PARM, OUTSPEC_PARM);
Optional Parameters
The following example shows how the optional parameters look in a sample
Assembler program:
33
*********************************************************************
**
THE PARAMETERS WOULD BE DEFINED AS FOLLOWS:
**
*********************************************************************
CMDLEN
DS
H
CMD
DS
CL4096
UICB@
DS
A
OUTSPECS DC
CYYSLYYY
EXTSTRLN DC
H32
EXTSTR
DC
C'UITMPDDN UIESF UIPROC# UIMSGID
EXTAREA
DS
OCL24
/*OUTPUT FROM THE UICB EXTRACT
EXTMPDDN DS
CL8
/*VALUE OF UITMPDDN
EXESF
DS
F
/*VALUE OF UIRTNCD
EXPROC#
DS
XL4
/*VALUE OF UIPROC#
EXMSGID
DS
CL8
/*VALUE OF UIMSGID
EXTRC
DS
F
EXTMSG
DS
CL8
INVALKEY DS
CL8
**********************************************************************
**
NOTE THAT THE EXTRACT STRING ITSELF IS 30 BYTES LONG,
*
**
BUT THE DUMP OF ITS EXTRACT WILL USE 31 BYTES.
*
**
*
**
INSIDE THE MAIN BODY OF THE PROGRAM, THE CALL TO
*
**
DGADCHLA WOULD LOOK LIKE:
*
**
*
**********************************************************************
CALL DGADCHLA,(CMDLEN,UICB@,OUTSPECS,EXTSTRLN,EXTAREA,
*
EXTRC,EXTMSG,INVALKEY),VL
*/
*/
*/
*/
*/
You must allocate several files using DD statements before executing a Sterling
Connect:Direct application program that calls DGADCHLA.
The following table defines the DD statements in the sample job stream:
34
Statement
Definition
DMPRINT
DMNETMAP
This definition is the name of the network map file that contains the
names of all the nodes that Sterling Connect:Direct communicates with.
DMNETMAP is required if no NETMAP keyword is specified on the
SIGNON command.
Statement
Definition
DMPUBLIB
DMMSGFIL
NDMCMDS
35
36
Timeout Problems
If you are logged off involuntarily while using Sterling Connect:Direct via TCP/IP,
your problem may be related to the TCP/IP connection not being able to
communicate with the DTF. If you see the message TCP/IP SEND error;
Connection Lost, and press F1 to see the help for this message, the following text is
displayed for message SVTC006I:
MSGID ==> SVTC006I
MODULE ==> DMTSTSND
TCP/IP SEND error; Connection Lost
An error has been detected while sending a command via TCP/IP.
The TCP/IP connection has been lost. A possible cause is
Connect:Direct has been shutdown and all TCP/IP connections
have been closed.
System Action: Normal processing can not continue.
Response: Logoff and attempt to signon again.
Although the TCP/IP protocol does not have a mechanism to send you a console
message indicating that the client has been dropped and your session has timed
out, you can determine if this has happened to you by looking in the statistics file
for a signoff record with an SAFA019I error message that matches your user ID (be
sure to enter Y in the CHANGE EXTENDED OPTS field on the SELECT
STATISTICS panel and then enter SO as a record type on the next screen). For
more information, go to the IBM Sterling Connect:Direct for z/OS Administration
Guide and search for Signon and IUI/API Errors.
Sterling Connect:Direct provides an inactivity timer that is based on the number of
minutes a user can remain inactive without communicating with the DTF. An
administrator can specify this value using the TCP.API.TIMER global initialization
parameter. Sterling Connect:Direct will only recognize changes made to the
TIMEOUT parameter by an administrator. If you attempt to change this parameter
and you are not an administrator, you will not be able to sign on. You can
determine if this has happened to you by looking in the statistics file for a signon
record with an SAFA020I error message that matches your user ID. For more
information, go to the IBM Sterling Connect:Direct for z/OS Administration Guide and
search for Signon and IUI/API Errors.
37
Note: The rationale behind the timeout feature is to do housekeeping to keep the
number of hung sessions to a minimum and avoid the limit specifying the
maximum number of users that can be signed on to Sterling Connect:Direct.
Without the timeout feature, an administrator would have to recycle the DTF to
allow TCP/API logons to reconnect once the MAXUSER limit was reached.
Procedure
1. Select Sterling Connect:Direct from your ISPF/PDF Primary Option Menu. The
Copyright and the Signon screen are displayed, unless SIGNON defaults are
previously set.
CMD ==>
IBM Sterling Connect:Direct for z/OS
VERSION
: 05
RELEASE
: 001
MODIFICATION
: 000
LEVEL
: 0000
TODAY IS
: 2011/02/24 (2011.055 )
THE TIME IS: 09:01
More:
USER ID => USER01
PASSWORD =>
NEW PASS =>
NODE NAME =>
TRANSPORT =>
COMMUNICATION ADDRESS =>(
,
DESCRIPTION =>
TIMEOUT =>
Licensed Materials - Property of IBM
5655-X01 Copyright IBM Corp. 2011
All Rights Reserved
.
IBM is a Trademark of International Business Machines
The Signon screen indicates the version, release, modification, and Program
Update Tape (PUT) levels of Sterling Connect:Direct.
2. Type your user ID and press Enter.
Depending upon your site configuration, you may also need to type in a
password, a new password, node name, transport, communications address,
and case sensitivity option before pressing Enter. These parameters are
described in SIGNON Command on page 40, or press PF1 for Help.
If you are using the Extended Submit Facility (ESF), the DTF does not need to
be active to execute the SIGNON, SIGNOFF, and SUBMIT commands.
Note: If the Error requesting session, Sterling Connect:Direct may be inactive
message is displayed, the Sterling Connect:Direct DTF is not started.
Results
If your signon is successful, the Primary Options Menu is displayed, unless you
have updated your SIGNON defaults to execute an initial command.
38
Procedure
To see how your signon parameters defaults are currently set, select the WHO
option from the Primary Options Menu. The following figure shows an example of
the User Information display produced by the WHO option.
Connect:Direct IUI USER INFORMATION
CMD ==>
USER ID==> USER01
USER NODE
==> node.name
TRANSPORT PROTOCOL
==> NETMAP
COMMUNICATION ADDRESS ==> APPLID
TEMPORARY DSN DDNAME ==> TMPDD
TEMPORARY DSN VOLSER ==> TMPVSER
DATA SETS:
TEMPORARY DSN
==> CD.TEMP.DSN
MESSAGE DSN
==> CD.MSG.VER01
NETWORK MAP DSN
==> CD.NETMAP.VER01
PUBLIC PROCESS DSN
==> CD.PUBLIB
IUI VERSION
==> VV
IUI RELEASE
==> RRR
IUI MODIFICATION
==> MMM
IUI PUT LEVEL
==> PPPP
hh:mm
Procedure
Select SD from the Primary Options Menu to access the Signon Defaults screen.
node.name
SIGNON DEFAULTS
hh:mm
CMD==>
CURRENT DEFAULTS:
USER ID ==>
PASSWORD ==>
TRANSPORT==>
COMMUNICATION ADDRESS ==>(
,
DESCRIPTION ==>
TIMEOUT
==> YES
TEMPORARY DATA SET NAME ==>
ALLOCATION TYPE
==>
PRIMARY SPACE
==>
UNIT TYPE ==>
SECONDARY SPACE
==>
VOL=SER
==>
EXTENDED SUBMIT FEATURE ==>
UPPER CASE FOR PRINT
==>
PRINT FILE DESTINATION ==>
PNODE ACCOUNTING DATA
==>
SNODE ACCOUNTING DATA
==>
DO YOU WANT ALL COMMANDS FOR THIS SESSION TO BE CASE SENSITIVE? ==> NO
INITIAL COMMAND
==>
Note: Instead of users individually altering their signon defaults, the Sterling
Connect:Direct administrator can define global signon defaults. With this method,
users will not be responsible for increasing their allocation and can also avoid SB37
ABENDs. For more information, refer to Global Signon Defaults in the IBM Sterling
Connect:Direct for z/OS Administration Guide.
The INITIAL COMMAND field enables you to bypass the Primary Options Menu
and have a designated command screen display automatically at signon. For
example, to have the User Information screen (WHO) display automatically at
Chapter 5. Managing Sessions
39
SIGNON Command
The SIGNON command has the following format and associated parameters. The
required parameters and keywords are in bold print. Default values for parameters
and subparameters are underlined.
Label
Command
Parameters
(optional)
SIGNON
40
Parameter Value
Description
NETMAP = network Specifies the network map data set name, which is a 1-44
map data set name
alphanumeric character string with the first character alphabetic.
This parameter is required. Ask your administrator for information
about completing this value.
If you provide the DMNETMAP DD name in the job stream used
with DMBATCH, you are not required to include this parameter
with the SIGNON command. If you specify the data set name in
both places, the network map data set name you specify on the
SIGNON command takes precedence.
For the IUI, the network map data set name is specified in the
ISPF/PDF Primary Option Menu as a parameter of the DMISTART
program. This data set name is established by your IBM Sterling
Connect:Direct administrator at installation and is not indicated
through the IUI SIGNON command screens.
CASE= Yes | No
COMADDR= (Port
number, IP address
| alias name)
41
Parameter Value
Description
ESF= Yes | No
FOLD= Yes | No
Specifies the name of the node (DTF) you sign on to. It is the name
assigned to a node defined in the network map definitions. This
parameter is optional.
PACCT= 'pnode
accounting data'
Specifies the accounting data for the primary node (PNODE). The
maximum length of the accounting data is 256 characters. If special
characters, such as a space, are part of the accounting data, you
must enclose the string in single quotation marks. Sterling
Connect:Direct uses this data as a default for each Process unless
you override it on the SUBMIT command, PROCESS statement, or
SUBMIT statement. This parameter is optional.
PRINT= destination
of printed output
42
RECONNECT
SACCT= 'snode
accounting data'
Specifies the accounting data for the secondary node (SNODE). This
parameter is optional. The maximum length of the accounting data
is 256 characters. If special characters, such as a space, are part of
the accounting data, you must enclose the string in single quotation
marks. Sterling Connect:Direct uses this data as a default for each
Process unless you override it on the SUBMIT command, PROCESS
statement, or SUBMIT statement.
Parameter Value
Description
SPACE= (CYL |
TRK |
blk,([prim],[sec]))
TMPDD=
Specifies the ddname of a user-supplied preallocated data set. The
preallocated data set maximum length is an 8-character alphanumeric string. This
ddname
parameter is optional. Do not use both the TMPDD and TMPDSN
parameters at the same time in the SIGNON command.
Specifies the name of a preallocated data set used to receive
TMPDSN=
preallocated data set command results that are printed or displayed. The data set name is
name
a 1-44 alphanumeric character string that must conform to z/OS
standards for data set names. This parameter is optional, and when
not specified, Sterling Connect:Direct builds a system temporary
data set. It normally derives the name for the data set based on your
TSO ID. In some cases, this derived data set name violates your
facility naming convention. Use the Signon Defaults screen to
override the data set name as needed.
If you name a data set at signon time, preallocate it with the
following attributes prior to signing on to Sterling Connect:Direct
(4104 is the minimum BLKSIZE):
DSORG=PS LRECL=4100 RECFM=VBA BLKSIZE=4104
Do not use both the TMPDD and TMPDSN parameters at the same
time in the SIGNON command.
TRANSPORT= SNA
| TCP | NETmap
43
Parameter Value
Description
UNIT= temporary
dsn unit type
Specifies the temporary data set name (TMPDSN) unit type, which
must be a 1-8 alphanumeric character string defining the unit type
for data set allocation. This parameter is optional. If omitted, the
operating system defined default for DASD is used by dynamic
allocation.
USERID= (ID, pswd, Specifies your signon security information. This parameter is
newpswd)
optional.
ID specifies the security ID that Sterling Connect:Direct passes to a
security exit. It can contain 1-64 characters of any kind, and is
case-sensitive.
pswd specifies the current security password. The security exit uses
this parameter to validate the current security password. It contains
1-64 alphanumeric characters, and is case-sensitive.
newpswd specifies the new security password. The security exit uses
this parameter to change the current security password to the new
security password. It contains 1-64 alphanumeric characters, and is
case-sensitive.
When you attempt a sign on to a remote node, the user ID and
password information must correspond to security procedures at
that remote node.
VOLSER= volume
serial
DESCRIPTION=
'30-character string'
Describes the API type that is logging on. It is displayed with the
Select Task command. If Sterling Connect:Direct cannot determine
the API type, the communication address is used.
Defaults: DMCHLAPI, DMBATCH, ISPFIUI, CONSOLEUI, ICOUI,
CICSUI, and Java Application Interface
TIMEOUT= Yes |
No
Procedure
1. Place the command in the DGADBATC job stream as described in Sample Job
Stream to Run the Batch Interface.
2. Submit the job while is running. If you are using the Extended Submit Facility
(ESF), the DTF does not need to be active for the SIGNON command to
process. The following example shows a SIGNON command in which the user
44
Description
TRANSPORT = NET Default. When TRANSPORT is defined as NET, the sign on process
retrieves the Adjacent node entry to determine if the TCPAPI
parameter has been defined. If TCPAPI exists, then a TCP connection
is attempted using the communication address defined. The
communication port number is obtained from the TCPAPI
parameter, and if the IP address exists in the TCPAPI parameter, it is
also used. If the IP address does not exist in the TCPAPI parameter,
it must be obtained from either the Adjacent node or the LDNS
parameter. If the TCPAPI does not exist, the APPLID parameter is
retrieved and SNA is used as the protocol.
TRANSPORT = SNA When TRANSPORT is defined as SNA, the sign on process retrieves
the Adjacent node entry to determine the APPLID parameter, and
SNA is used as the protocol. If the APPLID parameter does not exist,
then an ESF SIGNON is performed.
TRANSPORT = TCP When the TRANSPORT is defined as TCP, the communication
address must be specified on the SIGNON command. For more
information, go to the IBM Sterling Connect:Direct for z/OS
Administration Guide and search for Initializing Sterling
Connect:Direct without SNA Support.
45
Master Session
The first successful SIGNON command establishes the master session. The master
session is the active session until another session is established. Each subsequent
signon becomes the active session unless sessions are swapped using the SWAP
NODE command.
Signing on to the master session and signing on to another node under the master
session requires two different signons. The parameters specified for the master
session signon dictate the environment for all sessions running under the master
session.
Non-Master Session
For a session other than master, you are limited to the following SIGNON
command parameters.
Label
Command
Parameters
(optional)
SIGNON
46
Label
Command
Parameters
USERID= (ID, pswd, newpswd)
See Using SIGNON through the Batch Interface for descriptions of these
parameters.
SIGNOFF Sequence
Carefully control your SIGNOFF command sequence because if you sign off the
master session, Sterling Connect:Direct signs off all other sessions. If you sign off a
non-master session, Sterling Connect:Direct only signs off that session, and the
master session immediately becomes the active session again, regardless of the
order in which the sessions are established. See Sequencing the SIGNON, SWAP
NODE, and SIGNOFF Commands for examples of the importance of the sequence
of your SIGNOFF commands.
Switching Nodes
When you issue multiple signons, one node can perform one function and another
node a different function. The SWAP NODE command enables you to swap from
node to node. See Using SWAP NODE through the Batch Interface for the SWAP
NODE command description and examples.
hh:mm
yyyy.mm.dd
yyyy.ddd
The Multiple Session Signon screen enables you to sign on to more than one node
during a single ISPF/PDF session. The APPLIDS value in the network map
47
Command
Parameters
(optional)
SWAP NODE
node name
The only parameter for the SWAP NODE command is node name, which specifies
which node to swap to in a multiple session environment. The node name is the
name assigned to the LOCAL.NODE field defined in the network map definitions.
Procedure
1. Select option SW from the Primary Options Menu to access the
SWAP/DISPLAY User Sessions screen. The screen displays all user sessions for
this ISPF/PDF session.
----------------------SWAP/DISPLAY USER SESSIONS------- Row 1 to 2 of 2
==>
SCROLL ===> PAGE
NODE
COMMUNICATION ID
CURRENT
STATUS
USERID
---------------------------------------------------------------------node.name1
applid0
*ACTIVE*
*MASTER* **LOCAL*
userid2
node.name3
applid1
userid1
****************************** Bottom of data *************************
48
Procedure
1. Place your commands in the DGADBATC job stream as described in Sample
Job Stream to Run the Batch Interface.
2. Submit the job while Sterling Connect:Direct is running.
3. Verify your results.
For example, the following command swaps you from your current active
remote node with a user ID of JONES2 to the local node under the user ID of
JONES1:
//SYSIN
SIGNON
DD *
USERID = (JONES1) NODE = CD.LOCAL
SIGNON USERID = (JONES2) NODE = CD.REMOTE
SWAP
NODE CD.LOCAL
SELECT NETMAP WHERE(NODE=CD.LOCAL)
SIGNOFF
SIGNOFF
/*
Command
(optional)
SIGNOFF
Parameters
Location
SIGNOFF
End
=SIGNOFF or =X
Command Line
When you sign off Sterling Connect:Direct, the system returns you to the ISPF
menu.
Follow these rules when you sign off Sterling Connect:Direct:
v You must type a SIGNOFF command twice from the command line.
49
Note: The first SIGNOFF command returns you to the Primary Options menu and
the second SIGNOFF command returns you to the ISPF menu.
v You only need to sign off once from the SIGNON screen or the Primary Options
Menu.
Procedure
1. Place your commands in the DGADBATC job stream as described in Sample
job stream to run the batch interface on page 10.
2. Submit the job while Sterling Connect:Direct is running. If you have the
Extended Submit Facility (ESF) available, the DTF does not need to be running
in order for the SIGNOFF command to function.
3. Verify your results.
The following example shows a SIGNON command followed by a SIGNOFF
command.
SIGNON
SIGNOFF
USERID=(MYUID1,MYPSWD) NETMAP=NETMAP.NAME
See the examples in Sequencing the SIGNON, SWAP NODE, and SIGNOFF
Commands for more examples of the SIGNOFF command used with the
Multiple Session Signon feature and the SWAP command.
50
*/
51
52
Description
HOLD
Indicates that the Process is held on the queue until released by an operator
or the SNODE connects with a request for held work.
TIMER
You can manipulate any Process in the TCQ with various Sterling
Connect:Direct commands that are described in the next chapter.
A message indicating that the Process submitted successfully is returned when
the Process is placed in the TCQ.
4. The Process is queued for execution and the submit message is issued.
You can manipulate any Process in the TCQ with various Sterling
Connect:Direct commands that are described in the next chapter.
Copyright IBM Corp. 1999, 2012
53
Process Routing
The RETAIN, HOLD, and STARTT parameters route Processes as described in the
following table:
Parameters
Queue
Comments
None
Wait
RETAIN=INITIAL Hold
RETAIN=YES
Hold
HOLD=YES
Hold
HOLD=CALL
Hold
STARTT
Timer
When the scheduled time and date arrive, the Process is put
on the wait queue and is available for execution.
Process Queuing
When you submit a Process, Sterling Connect:Direct puts the Process in a logical
queue based on the Process statement routing parameters on Process Routing.
54
Process Selection
Sterling Connect:Direct uses the parallel sessions capability of VTAM so that
multiple Processes can execute simultaneously between any two Sterling
Connect:Direct nodes. Process selection for each parallel session is based on a class
that the user specifies on a Process.
Note: Parallel sessions support requires you to specify PARSESS=YES in the
VTAM application definition for both nodes. If two nodes have differing values for
parallel sessions, transfers are limited by the maximum number of sessions in the
ADJACENT.NODE definition on the node where the Process is submitted.
You define the maximum number of sessions between two nodes in the network
map. Because each session has a corresponding class value, the maximum number
of sessions and maximum number of classes are equal. Selection of a Process for
execution in a given node is based on Process priority (the PRTY parameter of the
Process statement) within session class. User-specified class values allow a Process
to execute on the session having the matching class value or on sessions with
higher class values. The default class is the value specified in the Sterling
Connect:Direct network map.
When one Process completes, Sterling Connect:Direct selects another Process (if
any) to run on the available session. Sterling Connect:Direct searches until it finds
the first Process with a class eligible to execute on the available session.
A typical use for classes is to define critical Processes with low class values so that
more sessions are available for their execution. You can specify higher class
numbers for time-consuming Processes; this enables sessions with corresponding
lower class numbers to become available more frequently.
55
56
57
1 and class 2 sessions cannot be used because the only Process remaining in the
queue (PROCF) is class 4. PROCF must wait for an available class 4 session.
4. PROCH and PROCI are submitted. PROCF continues to wait, because it can
only run in a class 4 session.
58
59
60
61
SUBMIT Command
The SUBMIT command enables you to submit a Process to the TCQ for execution.
Parameters you specify on the SUBMIT command override any corresponding
parameters specified in the Process itself.
62
Note: If you are using the Extended Submit Facility (ESF), you can use the
SUBMIT command to submit Processes to the TCQ, even if the DTF is inactive.
The SUBMIT command has the following format. The Label is optional.
Label
SUBmit
The SUBMIT command has the following parameters. The required parameters and
keywords are in bold print. Default values for parameters and subparameters are
underlined.
Label
Command
Parameters
(optional)
SUBmit
PROC= member
or
DSN= dsn | dsn(member)CASE= Yes | No
CLASS= n
DEBUG= trace settings for this Process
HOLD= Yes | No | Call
MAXDELAY= [unlimited | queued | 0 | hh:mm:ss]
NEWNAME= newname
NOTIFY= %USER | user
PACCT= 'pnode accounting data'
PLEXCLASS= (pnode class, snode class)
PNODE= primary node name
PNODEID= (ID, pswd, newpswd)
PRTY= n
REQUEUE= Yes | No
RETAIN= Yes | No | Initial
SACCT= 'snode accounting data'
SNODE= secondary node name | TCPNAME=tcpvalue;port
SNODEID= (ID, pswd, newpswd)
&symbolic 1= variable string 1
&symbolic 2= variable string 2
...=...
&symbolic N= variable string N
Description
PROC = member
Specifies the data set name or the name of the member of a PDS that
contains the Process if the Process is not in the Sterling
Connect:Direct PUBLIB. This parameter is required if the Process
does not reside in the Sterling Connect:Direct PUBLIB.
dsn is the data set name of a sequential file that contains the
Process.
dsn(member) specifies the PDS name and member name (in
parentheses) that contains the Process. Specify either PROC or DSN;
do not specify both.
Chapter 6. Building, Modifying, and Submitting Processes
63
Parameter
Description
CASE = Yes | No
CLASS = n
DEBUG= trace
Specifies the 8-position trace setting for this Process. This parameter
enables you to specify a part trace for a particular Process. For more
information see Debug Settings in the IBM Sterling Connect:Direct for
z/OS Administration Guide.
Specifies whether or not the Processes are placed in the hold queue.
This parameter is optional.
No specifies that Sterling Connect:Direct does not place the Process
in the hold queue, but places it in the WAIT for execution queue
(EX). HOLD=NO is the default.
Yes specifies that the Process remains in the hold queue until either
a CHANGE PROCESS command releases the Process or a DELETE
PROCESS command deletes the Process.
When HOLD=YES and you specify a value for the STARTT
parameter, Sterling Connect:Direct places the Process submitted in
the hold queue.
Note: When RETAIN=Y, Sterling Connect:Direct ignores the HOLD
parameter.
Call specifies that Sterling Connect:Direct is to place the Process in
the hold queue until a session is established with the specified
SNODE. This session is established by either another Process
starting on the PNODE destined for the same SNODE or the
SNODE contacting the PNODE. For example, a Process submitted
with HOLD=NO establishes a session and causes execution of any
Processes residing on the SNODE destined for this node that are
submitted with HOLD=CALL.
Note: To support dial-up connections from Sterling Connect:Direct
for Microsoft Windows platforms and release Processes serially,
define the SNODE using a TCP/IP address of 0.0.0.0 (a null IP
address). You may let the port number default since it will be
resolved at connection time. Processes submitted to such nodes will
default to HOLD=CALL status and can only be released by a NULL
or ENABLE process from Sterling Connect:Direct for Microsoft
Windows. Releasing Processes to such nodes will immediately cause
them to return to HOLD=CALL status without executing because
the connection cannot be resolved. Processes initiated by such nodes
will execute normally, but will not release the HOLD=CALL
Processes. Checkpoint restart is supported for such nodes.
64
Parameter
Description
NEWNAME = newname
Specifies the new name of the Process. The default is the label on
the Process statement. This parameter is optional.
65
Parameter
Description
Specifies the class that directs the Process to only certain servers in a
Sterling Connect:Direct/Plex. This parameter is only used in a
Sterling Connect:Direct/Plex and is optional.
You can designate each server in a Sterling Connect:Direct/Plex to
support only certain PLEXCLASSes through the
CDPLEX.PLEXCLASSES initialization parameter. You can then limit
Processes to only those servers by specifying the PLEXCLASS in the
Process definition.
The pnode class controls which Sterling Connect:Direct Server runs
the Process. The snode class controls what other node is used with
the Process. The pnode class and snode class are each 1-8 characters
long. An asterisk (*) indicates that the Process runs on any server
with an asterisk designated in the CDPLEX.PLEXCLASSES
initialization parameter. If you do not specify a PLEXCLASS, the
network map is checked for a default PLEXCLASS. If the network
map does not specify a default PLEXCLASS, then an asterisk is used
as the default.
If a Process must run on a specific Sterling Connect:Direct Server,
specify the Sterling Connect:Direct Server name in this field. The
Process only runs on that server.
66
Parameter
Description
PRTY = n
REQUEUE = Yes | No
Specifies the accounting data for the SNODE. The maximum length
of the accounting data is 256 characters. If you include special
characters with the accounting data, you must enclose the string in
single quotation marks. This parameter is optional.
This data overrides any accounting data specified on the SIGNON
command and any accounting data specified in the Process
statement.
67
Parameter
Description
68
Parameter
Description
69
Parameter
Description
70
Process Example
The following example shows the syntax for a Process named PAYROLL.
SUBMIT PROC=PAYROLL HOLD=Y RETAIN=Y PACCT=1959, DEPT 27 SACCT=1962, DEPT 24 CASE=YES
Procedure
1. Place your SUBMIT command in the DGADBATC job stream as described in
Introduction to the Batch Interface.
2. Submit the job while Sterling Connect:Direct is running.
Note: If the Extended Submit Facility (ESF) is available, the DTF does not need
to be running to execute your command.
3. Verify your results.
Description
SB
71
Option
Description
DF
Enables you to edit, create, and submit Processes residing in the Sterling
Connect:Direct PUBLIB or a library you specify on the screen. You edit or create
a Process using the ISPF editor.
CF
Result
Validate Process
syntax
Submit Process
and validate
syntax
Procedure
1. Select option SB from the Primary Options Menu to display the SUBMIT
PROCESS screen.
72
If you enable the SECURITY OVERRIDE parameter, type the security override
information in the Sterling Connect:Direct
SECURITY OVERRIDE screen.
node.name
Connect:Direct SECURITY OVERRIDE
TIME: hh:mm
CMD==>
PRIMARY NODE:
SECURITY ID: ________________________________________________
PASSWORD
:
NEW PASS
:
SECONDARY NODE:
SECURITY ID: ________________________________________________
PASSWORD
:
NEW PASS
:
Description
TRANSPORT
SECURITY
OVERRIDE
VALIDATE ONLY
CASE
SENSITIVITY
5. If you enable the SECURITY OVERRIDE parameter, type the security override
information in the Sterling Connect:Direct SECURITY OVERRIDE screen.
Chapter 6. Building, Modifying, and Submitting Processes
73
If you enable the SECURITY OVERRIDE parameter, type the security override
information in the Sterling Connect:Direct
SECURITY OVERRIDE screen.
node.name
Connect:Direct SECURITY OVERRIDE
TIME: hh:mm
CMD==>
PRIMARY NODE:
SECURITY ID: ________________________________________________
PASSWORD
:
NEW PASS
:
SECONDARY NODE:
SECURITY ID: ________________________________________________
PASSWORD
:
NEW PASS
:
74
Procedure
1. Choose option DF from the Primary Options Menu to display the
Connect:Direct PROCESS DEFINITION screen.
2. Type the member name of the Process.
3. Verify the library location and press Enter.
The PROCESS LIBRARY NAME field is required. If the member is located in
the Sterling Connect:Direct PUBLIB, type the library name that is displayed in
the PUBLIC PROCESS LIB field in the PROCESS LIBRARY NAME field.
4. After Sterling Connect:Direct displays the Process in ISPF edit mode, make the
desired changes.
5. Press PF3 to return to the PROCESS DEFINITION screen.
6. Specify case sensitivity. Case sensitivity applies to the SUBMIT command and
the Process.
7. Take one of the following actions:
v To validate the Process without submitting it, type SUBV and refer to the
table in Validating Processes from the SB, DF, and CF IUI Options on page
72 for information on the results.
v To submit the Process, type SUBMIT (or SUB) on the command line and
press Enter.
Procedure
1. Choose option DF from the Primary Options Menu to display the
Connect:Direct PROCESS DEFINITION screen.
2. Type the member name of the new Process.
3. Specify the name of the library where you want to save the new Process and
press Enter.
The member location can be your private Process library (PROCESS LIBRARY
NAME) or the Sterling Connect:Direct PUBLIC PROCESS LIBRARY.
4. After Sterling Connect:Direct displays an ISPF editor screen, type your new
Process.
5. Press PF3 to save the Process in the PROCESS LIBRARY you specified and
return to the PROCESS DEFINITION SCREEN.
6. To validate the Process without submitting it, type SUBV on the command line
and press Enter. See the table in Validating Processes from the SB, DF, and CF
IUI Options on page 72 for information about the results.
7. Specify case sensitivity. Case sensitivity applies to the SUBMIT command and
the Process.
75
8. To submit the Process, type SUBMIT (or SUB) in the command line and press
Enter.
Procedure
1. Choose option DF from the Primary Options Menu to display the
Connect:Direct PROCESS DEFINITION screen.
2. Type SUBMIT (or SUB) on the command line.
3. Type the member name of the Process.
4. Verify that the library name that contains the member you want to submit is
displayed in the PROCESS LIBRARY NAME field. If the member is located in
the Sterling Connect:Direct PUBLIB, type the library name that is displayed in
the PUBLIC PROCESS LIB field in the PROCESS LIBRARY NAME field.
5. Specify case sensitivity. Case sensitivity applies to the SUBMIT command and
the Process.
6. Press Enter. See the table in Validating Processes from the SB, DF, and CF IUI
Options on page 72 for information about the results.
Procedure
1. Choose option DF from the Primary Options Menu to view the Sterling
Connect:Direct PROCESS DEFINITION screen.
2. Type the name of the new PDS member.
3.
4.
5.
6.
Note: The PUBLIC PROCESS LIB displays the partitioned data set (PDS)
allocated by the signon CLIST or the TSO logon procedure.
Type the PROCESS LIBRARY NAME and press Enter.
Type COPY on the command line at the top of the blank member and press
Enter.
When the ISPF Edit/View-Copy screen is displayed, type the member name of
the PROCESS statement model you want to copy in the DATA SET NAME
field and press Enter.
For example, to create your Process, first copy the PROCESS statement.
Specify @PROCESS to use commented models from the PUBLIB, or
#PROCESS to use uncommented models in your Process.
To add a statement model, type a in the first column of the last line of the
new member and press Enter.
76
Description
COPY FILE Menu Collects information for the SUBMIT COMMAND parameters,
PNODE/SNODE information, data compression, and checkpoint
information.
Security Override Collects information about user ID, password, and accounting data.
Menu
This optional panel is displayed only if you request it on the first panel.
SENDING FILE
Menu
Collects information for the Process variables for the sending file.
RECEIVING FILE Collects the information for the Process variables for the receiving file.
Menu
77
See Validating Processes from the SB, DF, and CF IUI Options for details about
how to validate the syntax of a Process with and without submitting it.
Procedure
1. Select the CF option from the Primary Options Menu to display the COPY FILE
Menu.
node.name
Connect:Direct COPY FILE MENU
TIME: hh:mm
CMD ==>
SENDING
ENVIRONMENT: ZOS______
TRANSPORT: NETMAP
NODE NAME: CD.NODE1___________________________________________________
RECEIVING ENVIRONMENT: ZOS______
NODE NAME: CD.NODE2___________________________________________________
PROCESS NAME: COPYCF__
CLASS:
___
(NUMERIC)
VALIDATE ONLY ==> N
HOLD:
N
(Y, N, OR C-CALL)
NOTIFY USER:
%USER___________________________________________________________
PRIORITY:
__
(RANGE: 0 TO 15)
REQUEUE:
N
(Y OR N)
RETAIN ON TCQ: N
(Y, N, OR I-INITIAL)
START DATE:
__________ TIME: __________
CHECKPOINT:
________
(BYTE INTERVAL - NK|NM)
DEBUG:
________
(HEXADECIMAL)
PLEXCLASS:
________ ________ (PNODE SNODE)
COMPRESS:
N____
(Y, N, X-EXTENDED, XXX, OR CC)
EXT COMPRESSION LEVEL: _ WINDOW: __ MEMORY: _
OVERRIDE SECURITY: N
(Y OR N)
DO YOU WANT VALUES FOR THIS COPY TO BE CASE SENSITIVE? ==> NO___
78
Parameter Name
Description
SENDING
ENVIRONMENT
Parameter Name
Description
NODE NAME
Specifies the name of the Sterling Connect:Direct node from which the
file is transmitted.
TRANSPORT
RECEIVING
ENVIRONMENT
NODE NAME
PROCESS NAME
(optional) Specifies the name to be used under which the Process will
be submitted. If you do not type a Process name, Sterling
Connect:Direct provides the default name COPYCF.
VALIDATE ONLY
CHECKPOINT
COMPRESS
79
Parameter Name
Description
EXT
COMPRESSION
LEVEL
Note: The effects of changing the default values for the extended
compression parameters (level, window, and memory) are not always
predictable and can significantly increase CPU utilization. Before
changing the default values, see Improving Performance in the IBM
Sterling Connect:Direct for z/OS Administration Guide.
(optional) Specifies the value from 19 indicating the degree of
compression to use. The default is 1, which usually provides sufficient
compression.
WINDOW
(optional) Specifies the value from 815 indicating the size of the
compression buffer to use. The default of 13 equals 32 KB.
MEMORY
OVERRIDE
SECURITY
CASE
SENSITIVITY
80
Note: If the data set name does not follow z/OS naming conventions, enclose
the data set in single quotation marks. An HFS file must begin with a slash (/)
and can contain up to 251 bytes.
node.name
COPYFILE - SENDING FILE (z/OS or OS/390)
TIME: hh:mm
CMD ==>
NODE NAME: CD.NODE2
SENDING DSNAME:
____________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
______________________________
UNIT PARAMETER: ( ________________________________ )
LABEL PARAMETER: ( ________________________________ )
VOLUME SERIAL(S):( _______________________________________________________ )
RETAIN: _ (Y OR N)
DCB PARAMETER:
( ________________________________________________________ )
TYPE KEY:
________
MSVGP NAME: ________
SYSOPTS: _____________________________________________________________________
(PDS ONLY:)
REPLACE: Y (Y OR N)
ALIAS: Y (Y OR N)
SELECTION CRITERIA: ( __________________________________________ )
( __________________________________________ )
EXCLUSION CRITERIA: ( __________________________________________ )
( __________________________________________ )
7. When the RECEIVING FILE screen for the environment and node name you
specified is displayed, type appropriate values and press Enter.
Note: If the data set name does not follow z/OS naming conventions, enclose
the data set in single quotation marks. An HFS file must begin with a slash (/)
and can contain up to 251 bytes.
node.name
COPYFILE - RECEIVING FILE (z/OS or OS/390)
TIME: hh:mm
CMD ==>
NODE NAME: Q1A.ZOS.V4600
RECEIVING DSNAME: ____________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
______________________________
DISPOSITION:
( NEW , CATLG_ , ______ )
UNIT PARAMETER: ( ________________________________ )
VOLUME SERIAL(S):( _______________________________________________________ ) )
RETAIN: _ (Y OR N)
COUNT: ___ (1-255)
DCB PARAMETER:
( __________________________________________________________ )
LABEL PARAMETER: ( ____________________________________________ )
SPACE:
( ________________________________ )
TYPE KEY:
________
MSVGP NAME: ________
SYSOPTS: _____________________________________________________________________
SMS: DATA CLASS: ________ STORAGE CLASS: ________ MGMT CLASS: _________
AVERAGE RECORDS: _
DSNTYPE
: _______
VSAM ORGANIZATION: ____ KEY LENGTH: ___
KEY OFFSET: _____
LIKE DSNAME:
____________________________________________
SECURITY MODEL: ____________________________________________
GENERIC MODEL: ___ (YES OR NO)
8. Press Enter.
v If you enabled the Validate Only parameter, a VIEW PROCESS screen with
your Process is displayed. See the table in Operation for information on the
results.
v If you did not select the Validate Only option, the Process is executed. See
the table in Validating Processes from the SB, DF, and CF IUI Options on
page 72 for information on the results.
81
CAUTION:
Press PF3 to back out of each screen until the Primary Options Menu is
displayed. Each time you press Enter, the Process is submitted.
82
83
Label
Command
Parameters
(optional)
CHange PROCESS
The following table describes the parameters for the CHANGE PROCESS
command:
Parameter
Description
WHERE (NODE = node name | (list) PNAME Specifies which Process(es) to change. Name multiple Processes in
= name | (list)
the command using the selection criteria method described on
Setting Selection Criteria on page 83 if you have to make similar
PNUMber = number | (list)
changes to many Processes. This parameter is required.
SUBmitter = (node name, user ID) | (list))
Specifies the node name and user ID of the user that submitted the
Process to be changed. Specify a list of SUBmitter IDs by enclosing
the IDs in parentheses and separating them by commas.
84
Parameter
Description
CASE = Yes | No
CLASS = n
Specifies the 8-position trace setting for this Process. This parameter
enables you to specify a trace for only this Process. The table on
Building, Modifying, and Submitting Processes lists acceptable trace
values. This parameter is optional.
Note: This option can generate a large amount of output and
should be used with caution.
NETMAP.REFRESH
85
Parameter
Description
Specifies the class that directs the Process to only certain servers in
a Sterling Connect:Direct/Plex. This parameter does not apply to a
Sterling Connect:Direct Stand-alone Server. This parameter is
optional.
You can designate each server in a Sterling Connect:Direct/Plex to
support only certain PLEXCLASSes through the
CDPLEX.PLEXCLASSES initialization parameter. You can then limit
Processes to only those servers by specifying the PLEXCLASS in the
Process definition.
The pnode class controls which Sterling Connect:Direct Server runs
the Process. The snode class controls what other node is used with
the Process.
The pnode class and snode class are each 1-8 characters long. An
asterisk (*) indicates that the Process runs on any server with an
asterisk designated in the CDPLEX.PLEXCLASSES initialization
parameter. If you do not specify a PLEXCLASS, the network map is
checked for a default PLEXCLASS. If the network map does not
specify a default PLEXCLASS, then an asterisk is used as the
default.
If a Process must run on a specific Sterling Connect:Direct Server,
specify the Sterling Connect:Direct Server name in this field. The
Process only runs on that server.
PRTY = n
RELEASE
86
Parameter
Description
STARTT =
( [ date | day] [,hh:mm:ssXM ])
Specifies that the Process not execute until a specified date or time.
See SUBMIT Command on page 62 for a complete explanation of
the STARTT parameter. This parameter is optional. When changing
the date, day, or hh:mm:ssXM, you must respecify even the values
that do not change. You cannot specify TODAY or TOMORROW for
the day subparameter.
87
In the following example, the Process named PAYROLL is changed so that the new
destination node is DALLAS1 and the Process executes every Friday:
CH PROC WHERE (PNAME=PAYROLL) DEST=DALLAS1 RETAIN=Y STARTT=(FR)
In the following example, the Process called PAYROLL with the Process number of
60584 has the RETAIN status changed so that the Process is deleted after execution:
CH PROC WHERE (PNUM=60584, PNAME=PAYROLL) RELEASE RETAIN=N
Procedure
1. Place commands in the DGADBATC job stream as described in Sample Job
Stream to Run the Batch Interface.
2. Submit the job while Sterling Connect:Direct is running.
A report similar to the following is displayed:
===================================================================
CHANGE PROCESS
===================================================================
PROCNAME PROCNUM_ SUBMITTER_NODE__ SNODE.NAME______ MESSAGE________
USERID___________
------------------------------------------------------------------DMNOTEST 271
node.name
node.name
DEST CHANGED
USER01
-------------------------------------------------------------------
88
Procedure
1. Select option CP from the Primary Options Menu to display the CHANGE
PROCESS screen.
node.name
CHANGE PROCESS
hh:mm
CMD ==>
PROCESS NUMBERS: ==> ______
==> ______
==> ______
==> ______
PROCESS NAMES:
==> ________
==> ________
==> ________
==> ________
NODES
==> _______________
==> _______________
==> _______________
USER IDS:
USER NODES:
==> _________________________________________________________________
==> ____________________________
==> _________________________________________________________________
==> ___________________________
==> _________________________________________________________________
==> ____________________________
PLEXCLASS
==> ________ ________ (PNODE SNODE)
DESTINATION NODE
==> ________________
DEBUG ==> ________
PRIORITY
==> __
(0 TO 15)
CLASS
==> ___
HOLD PROCESS
==> _
(Y-YES, N-NO, C-CALL)
RELEASE PROCESS
==> _
(Y-YES, N-NO)
RETAIN PROCESS
==> _
(Y-YES, N-NO, I-INIT)
REFRESH FROM NETMAP ==> _
(Y-YES, N-NO)
SCHED. START
DATE ==> ________
TIME ==>______
RESTART ALTERATIONS ==> _________________________________________________
DO YOU WANT THE VALUES OF THIS REQUEST TO BE CASE SENSITIVE? ==> NO
Description
SUSPEND
PROCESS
89
Process
Description
FLUSH PROCESS Terminates an executing Process. Note that if you specify RETAIN=YES,
the flushed Process remains in the TCQ for execution at the next
scheduled time. If you specify RETAIN=NO, Sterling Connect:Direct
removes the Process from the TCQ, and you must resubmit it if you
want it to execute.
DELETE
PROCESS
If you do not specify FORCE for the FLUSH or SUSPEND command, an indicator
notifies the program executing on behalf of the Process that a FLUSH or SUSPEND
command was issued for the Process. If that program is not in control (for
example, if it is waiting on a request outside of Sterling Connect:Direct code to
complete), then it does not see the FLUSH or SUSPEND indicator and the Process
is not flushed or suspended; otherwise, the program looks for the FLUSH or
SUSPEND indicator and takes the appropriate action.
When you specify FORCE, the action taken depends on the STATE and SUBSTATE
of the Process for which you issued the FORCE FLUSH or FORCE SUSPEND.
Determine the STATE and SUBSTATE of the Process by doing a SELECT PROCESS
or SELECT TASK command.
Note: For a Process in a VTAM I/O STATE and a SUBSTATE of SEND or
RECEIVE, the FLUSH or SUSPEND command is implemented whether you specify
FORCE or not. That is not true for the other states.
Command
Parameters
(optional)
FLUSH PROCess |
DELETE PROCess |
SUSPEND PROCess
WHERE (
PNAME= name | (list)
PNUMber= number | (list)
SUBmitter= (node name, user ID)|(list)
FORCE
)
Note: The FORCE parameter is not valid for
DELETE PROCESS.
CASE = Yes | No
90
Parameter
Description
WHERE (
Specifies which Process to suspend, delete, or flush. Name multiple Processes in the
command using the search criteria method described on Setting Selection Criteria on
page 83.
WHERE is the only required parameter for the SUSPEND PROCESS, DELETE PROCESS,
and FLUSH PROCESS commands. Its subparameters are optional. However you must
specify at least one of the PNAME, PNUMBER, and SUBMITTER subparameters.
PNAME = name | (list) specifies the name of the Process or a list of Process names
enclosed in parentheses and separated by commas.
PNUMber = number | (list) specifies the number of the Process selected or a list of
Process numbers enclosed in parentheses and separated by commas. The range is 1-99999.
SUBmitter = (nodeid, user ID) | (list) specifies the nodeid and user ID of the user that
submitted the Process. Specify a list of SUBmitter IDs by enclosing the IDs in parentheses
and separating them by commas.
FORCE enables you to suspend or flush a Process waiting for unavailable resources. If
the initial suspend or flush fails, retry the command with FORCE.
Note: FORCE parameter is not valid for DELETE PROCESS. If FORCE is specified for a
Process executing on an LU6.2 session, it can terminate the session immediately, and
Sterling Connect:Direct does not exchange the Process statistics between nodes.
CASE = Yes | No
Specifies whether parameters associated with accounting data, user ID, password, and
data set name are case sensitive. The designation refers only to the command, not the
Process itself. This parameter is optional.
SUSPEND Process
The following command suspends any executing Process with a submitter node ID
of DALLAS and a submitter user ID of SMITH:
SUSPEND PROC
The following command suspends the Process named PAYROLL, which is Process
number 514 and the Process named COPY100, which is Process number 575.
SUS PROC WHERE ( PNAME=(PAYROLL,COPY100), PNUM=(514,575))
FLUSH Process
The following command flushes executing Processes submitted by SMITH at the
node DALLAS:
FLUSH PROC
91
The following command flushes the Process named PAYROLL which has Process
number of 514 and the Process named COPY100 which has the Process number of
575:
FLUSH PROC WHERE ( PNAME=(PAYROLL,COPY100), PNUM=(514,575))
DELETE Process
The following command deletes Processes with the number 60584:
DEL PROC
WHERE (PNUM=60584)
The following command deletes all Processes submitted by CHUCK at the node
DALLAS.MVS:
DEL PROC
The following command deletes all Processes in the PR queue. When specifying
QUEUE= PR, no other selection criteria are allowed.
DELETE PROCESS WHERE (QUEUE=PR)
Procedure
1. Place commands in the DGADBATC job stream as described in Sample job
stream to run the batch interface on page 10.
2. Submit the job while Sterling Connect:Direct is running.
3. Verify the results.
92
Procedure
1.
Access the function that you want as described in the following table.
Function
Access Method
Suspend an
executing Process
Delete a
nonexecuting
Process
Flush a Process
93
DATE: YYYY/MM/DD
TIME: HH:MM
CMD ==>
You have requested the following process(es) be deleted, are you sure this is
what you want to do?
Reply Yes, No or CANCEL or Press PF3 to Cancel the Request
Process Numbers
==> 123
==>
==>
==>
==>
==>
Process Names
==>
==>
==>
==>
==>
==>
USER IDS: USER NODES:
==>
==>
==>
==>
==>
==>
==
==>
__ Do not display this Confirm Delete prompt again.
Note: If you see the option, Do not display this Confirm Delete prompt again,
you can type an X next to this option to turn off the Confirm prompt so that it
will not display again during the current session.
Command
Parameters
(optional)
SELect PROCess
WHERE (
DEST= node | (list)
PNAME= name | (list)
PNUMber= number | (list)
QUEUE= All | queue name
SERVER= server name
STATUS= Process status | (list)
SUBmitter= (node name, user ID)|(list)
CASE= Yes | No
FILE | PRint | TABle
or
View PROCess
94
Description
WHERE
(DEST = node | (list)
PNAME = name | (list)
PNUMber = number | (list)
QUEUE = All | Exec | Hold | Timer
| Wait
STATUS = Process status | (list)
SERVER = server name | (list)
SERVER = server name | (list)
SUBmitter = (node name, user
ID) | (list) )
95
Parameter
Description
PNUMber = number | (list) specifies the number of the Process you
are selecting or a list of Process numbers enclosed in parentheses
and separated by commas. The range is 1-99999.
QUEUE = All | queue name specifies Process selection based on the
TCQ. Values are: All specifies selection of a Process from all queues.
This value is the default. queue name can be one of the following:
E = Executing queue
H = Hold queue
PR = Retain queue
T = Timer queue
W = Wait queue
SERVER = server name | (list) selects Processes on the specified
Sterling Connect:Direct Servers. The server name is a 1-8 character
name assigned to each server in a Sterling Connect:Direct/Plex
through the CDPLEX.SERVER initialization parameter.
STATUS = Process status | (list) specifies Process selection by status
value or a list of status values in parentheses separated by commas.
Values include:
H = All Held Processes
HC = Held for Call
HE = Held for Error
HI = Held Initially
HO = Held by Operator
HP = Held due to Process error
HR = Held Retain
HS = Held for Suspension
PR = Retained after Execution
R = All Restart Processes
RA = Held for Restart due to Allocation error
RH = Restart Held (may be due to the Intelligent Retry feature)
W = All Waiting Processes (including Retry)
WC = Wait for Connection
WT = Waiting for Transport
WX = Waiting for Sterling Connect:Direct Server
SUBmitter = (node name, user ID) | (list) specifies the nodeid and
user ID of the user that submitted the Process. Specify a list of
SUBmitter IDs by enclosing the IDs in parentheses and separating
them by commas.
CASE = Yes | No
96
Procedure
1. Place commands in the DGADBATC job stream as described in Sample job
stream to run the batch interface on page 10.
2. Submit the job while Sterling Connect:Direct is running.
3. Verify your results.
Procedure
1. Select option SP from the Primary Options Menu to display the Select Process
screen.
node.name
SELECT PROCESS
CMD ==> O
hh:mm
CMD:
O ... OPERATOR TABLE S ... OPERATOR TABLE/EXEC QUEUE STATUS
P ... PRINT REPORT
D ... DISPLAY REPORT
V ... VIEW PROCESS
QUEUE:
==> _ (A-ALL,W-WAIT,E-EXECUTE,H-HOLD,T-TIMER,P-PR)
PROCESS NUMBERS: ==> ______
==> ______
==> ______
==> ______
PROCESS NAMES:
==> ________
==> ________
==> ________
==> ________
SERVER NAMES:
==> ________
==> ________
==> ________
==> ________
STATUS:
(HO,HR,HI,HE,HC,HP,HS,PR,RH,RA,WC,WX,WT,H,R,W)
==> __
==> __
==> __
==> __
DESTINATION NODES:
==> ________________
==> ________________
==> ________________
==> ________________
USER ID:
NODE ID:
==> ________________________________________________________________
==> ________________
==> ________________________________________________________________
==> ________________
DO YOU WANT VALUES FOR THIS REQUEST TO BE CASE SENSITIVE? ==> NO
2. To select the Processes, specify the parameters to use as search criteria. These
parameters are described in SELECT PROCESS Command Format.
Note: The case sensitivity designation refers only to the command parameters
on the screen, not to the parameters of the Process itself.
3. To select the destination for your output, type the letter representing one of the
following output options on the command line:
v O accesses the Operator Table and creates a one line summary of each
selected PNODE Process. For more information, see Viewing and Controlling
a Process through the Operator Table.
97
Procedure
1. After you type O on the command line of the Select Process screen, the
Operator Table/Executing Queue screen is displayed.
The first two characters of the QUEUE indicate the queue, the second two
characters indicate the status value. The OTHER.NODE is the name of the
nonsubmitting node in the session.
2. Type an option in the OPTION column next to the Process name (PNAME) and
press Enter. The following table describes each option.
98
Option
Description
Delete a nonexecuting Process from the queue. For more information, see
Issuing the SUSPEND PROCESS, DELETE PROCESS, or FLUSH PROCESS
Commands through the IUI .
Suspend a Process from the executing queue. For more information, see Issuing
CHANGE PROCESS through the IUI .
Option
Description
Select a Process for detailed display. For more information, see Viewing and
Controlling a Process through the Selected Process Screen .
View a Process in the executing queue. For more information, see Viewing the
Content of Processes Matching Your Search Criteria .
The following figure is a sample of the screen and shows that two Processes are
executing.
node.name
Row 1 to 2 of 2
-----------------------OPERATOR TABLE/EXECUTING QUEUE----------==> Q
SCROLL ===> PAGE
OPTION
PNAME
PNUMBER
SUBMITTER.NODE-- OTHER.NODE------ QUEUE
SERVER
USERID
------------------------------------------------------------------------------BENCHRC
272
Q1A.ZOS.V4600
Q1A.ZOS.V4600
P EX
S3
USER01
Blks
=> 6
Recs => 0
RUs => 173
I/O bytes => 177,138
Compression
VTAM bytes => 177,152
Factor => 0.0%
BENCHRC
272
Q1A.ZOS.V4600
Q1A.ZOS.V4600
EX EX
S3
USER01
Blks
=> 7
Recs => 0
RUs => 174
I/O bytes => 195,440
Compression
VTAM bytes => 178,176
Factor => 8.8%
******************************* Bottom of data ********************************
2. Type an option in the OPTION column next to the Process name (PNAME) and
press Enter. The following table describes each option.
Chapter 7. Controlling Processes in the TCQ
99
Option
Description
Select a Process for detailed display. For more information, see Viewing
and Controlling a Process through the Selected Process Screen .
Procedure
1. From the Operator Table, type S in the OPTION column next to the name of
the Process to display the Selected Process screen. This screen displays details
about the Process that you selected from the Operator Table. The following
figure is a sample of the screen which displays all available information about
the particular Process you selected from the Operator Table.
node.name
SELECTED PROCESS
hh:mm
CMD ==> Select process command was successful.
Process Name
=> COPYCF
Number
=> 1
Step => COPYSTEP
Other Node
=> SC.IRV.TEST1
DEBUG => 00003001
Status =>EX
Commid
=> M3QRC763
Queue =>EXEC
Function
=> COPY
Sub State => SEND
State =>VTAM I/O
Server
=> SVTSERV1
PLEXCLASS => (
)
Submitter => SC.IRV.TEST1
SENDING SIDE
Userid
=> TEST1
Scheduled Time =>
Date
=>
Day
=>
Queueing Prty => 10
Class
=> 3
Retain => NO
Submitted Class=> NONE
Max Class => NONE
Sess.ID=> PNODE
Session restrt => 0
Dyn rstrt => 0
RouteID=>
Last Msgid
=>
Last RC
=> 00000000
RetProc=>
Secure=> UN-AUTHENTICATED
Signature => N Encryption=> NONE
Sending File
=> CDTEST1.TESTFILE.THRICE.V10
Receiving File => TEST1.TESTFL.THRICE
Volume seq no. => 1
Volser
=> USER01
TTRN
=> 00030200
Blks
=> 8
Recs
=> 2,486
RUs
=> 198
I/O bytes
=> 223,360
Member =>
VTAM bytes
=> 202,752
Compression Factor => 9.2%
2. Type any of the following Process control commands at the command line, and
press Enter. The following table describes each option:
Command
Description
Enter
3. To change parameters, move the cursor to the appropriate field on the screen,
make the changes that you want, and press Enter.
100
Procedure
To view output on the VIEW PROCESS screen, do one of the following:
v Type a V on the command line on the Select Process screen after specifying the
parameters to use as search criteria. These parameters are described in SELECT
PROCESS Command Format. Also, for more information, see Issuing SELECT
PROCESS through the IUI.
v Type V in the OPTION column next to the Process name on the Operator
Table/Executing Queue screen. (The PNODE Processes which satisfied your
selection criteria on the Select Process screen are displayed on the Operator
Table/Executing Queue screen.) See Viewing and Controlling a Process through
the Selected Process Screen.
The following shows the sample output of the VIEW PROCESS command:
===========================================================
VIEW PROCESS
PROCESS NAME: TOEND
PROCESS NUMBER: 1
===========================================================
TOEND
PROCESS SNODE=CD.NODE
PNODE=CD.NODE
HOLD=YES
RETAIN=NO
CLASS=1
PRTY=2
STEP01
COPY FROM
(SNODE
DSN=USER01.JCL.LIB
DISP=(SHR)
)
TO
(PNODE
DSN=USER01.JCL.LIBX6
101
102
Logical Queues
The TCQ has the following logical queues:
v Wait
v Execution
v Hold
v Timer
v Process Retention
Access the queues and manipulate Processes using the following Sterling
Connect:Direct commands:
v CHANGE PROCESS
v DELETE PROCESS
v FLUSH PROCESS
v SELECT PROCESS
v SUSPEND PROCESS
Refer to Controlling Processes with Commands, for more information the on each
of these Sterling Connect:Direct commands.
Queuing Parameters
The RETAIN, HOLD, and STARTT parameters queue Processes as described in
following table.
Parameters
Queue
Comments
None
Wait
RETAIN=INITIAL
Hold
103
Parameters
Queue
Comments
RETAIN=YES
Hold
HOLD=YES
Hold
HOLD=CALL
Hold
STARTT
Timer
104
Value
Definition
Sterling
Connect:Direct
Status Value
Sterling
Connect:Direct
Task State
Values
Value
Definition
Transport State
Values
Wait Queue
The following table shows the Sterling Connect:Direct status value for the Wait
Queue:
Status Value
Explanation
WC
Waiting for Connection. This status is the initial queue status when a
Process is submitted without HOLD or RETAIN specified. This status
means the Process is ready to execute as soon as possible. Process is ready
to run but other Processes are executing with the same SNODE, and no
other sessions are available. This Process runs as soon as an eligible session
is available. If you find a Process in this state, it is most likely for this
reason. Processes are also in this state when Sterling Connect:Direct is
quiesced.
WT
Waiting for transport. This status is the status of a Process when the
transport protocol is not available. This Process runs as soon as the
transport protocol is available.
WX
Waiting for server. This status is the status of a Process waiting for a
Sterling Connect:Direct Server to become available. This Process runs as
soon as an eligible Sterling Connect:Direct Server is available. An eligible
Sterling Connect:Direct Server is an active server that supports the Process
PLEXCLASS and the transport protocol (SNA, TCP, UDT, or CTCA). The
transport protocol must also be available on the server for it to be eligible.
The following table shows the applicable commands for the Wait Queue:
Command
Description
Change Process
Delete Process
Select Process
Execution Queue
The following table shows the Sterling Connect:Direct status values for the
Execution Queue:
Status Value
Explanation
EX
WC (Waiting
Process control is in negotiation while the two nodes determine which
for Connection) Process executes next, based on priority.
105
Status Value
Explanation
PR.CNTL
This node is not in Process control. This status occurs: (1) during Process
negotiation where highest priority on either node runs next, or (2) when
the current node is the SNODE during Process execution.
SS
The following table shows Sterling Connect:Direct task state values for Processes in
the Execution Queue:
Task State
Explanation
DISPATCH
INACTIVE
VTAM I/O
P=SNODE
NETEX I/O
VSAM I/O
MISC
FILE I/O
Non-VSAM I/O
LOCK
SUBTASK
RUNNING
Executing instructions
TCA SCAN
TCA scan
TIMER
ATTACH
ALLOCATE
MOUNT
OPEN
The following table shows the Subtask state values for the Execution Queue. The
first characters of the subtask request state indicate the session protocol such as
TCP or LU6.2.
106
Subtask State
Explanation
ADOPT V2
Performing Adopt
CALL V2
Performing Call
INIT V2
Performing Initialization
CLEANUP
Performing Cleanup
HANGUP
Performing Hangup
SEND V2
Performing Send
SEND RSP
SEND SIG
RECV V2
Performing Receive
ANSWER V2
Performing Answer
Subtask State
Explanation
IOCTL V2
GET BUF
RDY RCV
The following table shows the transport state values for the Execution Queue:
Transport State
Explanation
NO SESSION
No VTAM session
SESSION EST
NO REQUEST
RECEIVE
OPEN
CLOSE
SETLOGON
REQSESS
OPNDST
CLSDST
GENCB EXTLST
GENCB ACB
GENCB NIB
GENCB RPL
REJSESS
SESSIONC
INQUIRE
OPNSEC
RSHUTD
SIMLOGON
SND RESPONSE
VTAM I/O
SEND
DACTSESS
RCVFMH5
REJECT
ACTSESS
107
Transport State
Explanation
PRERECV
CNOS
DELLOC
SEND
CONFRMD
6.2 RECEIVE
6.2 SEND
SEND ERROR
DISPLAY
DEFINE
ALLOC IMMED
The following table shows the allocate state values for the Execution Queue:
Allocate State Value
Explanation
SVC99
Performing SVC99
CAT SEARCH1
CAMLST locate
READ VTOC
CAMLST search
The following shows the applicable command descriptions for the Execution
Queue:
Applicable Command
Description
Flush Process
Select Process
Suspend Process
Hold Queue
The following table shows the Sterling Connect:Direct Status values for the Hold
Queue:
108
Status Value
Explanation
HE (Held in Error)
HI (Held Initially)
HO (Held by Operator)
HP (Held due to
Process Error)
HR (Held Retain)
HS (Held for
Suspension)
WC (Wait For
Connection)
The following table shows the applicable commands for the Hold Queue:
Applicable Command
Description
Change Process
Delete Process
Select Process
109
Timer Queue
The following table shows the Sterling Connect:Direct Status values for the Timer
Queue:
Status Value
Explanation
RE (Retry)
The session with the SNODE is in the retry state. The number of
and interval between retries is specified in the initialization
parameters. The Process can be in retry status for session
establishment or for an allocation error.
WC (Wait For
Connection)
The following table shows the applicable commands for the Timer Queue:
Applicable Command
Description
Change Process
Delete Process
Select Process
Process Recovery
Sterling Connect:Direct provides facilities to recover from most errors that occur
during Process execution. Recovery from the point of failure is usually
accomplished quickly. The following types of errors can occur during normal
operation:
v
v
v
v
Description
Session
establishment
retry
110
Facility
Description
VTAM
automatic
session retry
TCQ/TCX
Repair Utility
Process step
checkpoint
COPY statement For physical sequential files and partitioned data sets, Sterling
checkpoint/
Connect:Direct collects positioning checkpoint information at specified
restart
intervals as a COPY statement executes. Checkpoints are taken for each
member that is transferred within a PDS, regardless of the checkpoint
interval. If the copying procedure is interrupted for any reason, you can
restart it at the last checkpoint position.
Note: Whenever a Process step is interrupted and restarted, some data
will be retransmitted. Statistics records for the Process step will reflect
the actual bytes transferred, and not the size of the file.
The COPY statement checkpoint/restart works in conjunction with step
restart. The restart is automatic if Sterling Connect:Direct can reestablish
a session based on the initialization parameter values for MAXRETRIES
and WTRETRIES. See COPY Statement Checkpoint/Restart Facility for
more information.
The CHANGE PROCESS command can also invoke the
checkpoint/restart facility. See Controlling Processes with Commands for
instructions on how to use the CHANGE PROCESS command.
Note: Checkpoint/restart is not supported for I/O exits at this time.
Initialization Parameters
Sterling Connect:Direct uses the following initialization parameters with the COPY
statement checkpoint/restart facility:
111
Parameter
Description
CKPT.MODE
CKPT
CKPT.DAYS
Specifies the amount of time that checkpoint records are kept if they are
not deleted. Sterling Connect:Direct automatically deletes checkpoint
records when a Process is restarted and runs to a successful completion.
CKPTDSN
Checkpoint/Restart File
The Sterling Connect:Direct checkpoint/restart file contains positioning information
for both files involved in executing a COPY statement. Sterling Connect:Direct
maintains the checkpoint records throughout data transmission and deletes them
when a transmission completes successfully.
Note: Checkpoints take place on the receiving end of a transfer. During restart,
this information is exchanged with the sender so that appropriate positioning can
take place.
A checkpoint record can be left in the Checkpoint file if an interrupted Process is
deleted by the operator. Sterling Connect:Direct scans the checkpoint records
during initialization and deletes records older than the value specified in the
CKPT.DAYS initialization parameter.
112
Description
CKPT
REQUEUE
Other Transfers
For other transfers (LU0 or transfers to MS-DOS), Sterling Connect:Direct sends an
additional seven bytes per block or ten bytes per record of overhead during data
transfer. Data is sent in record mode when reblocking is taking place during
transfer (source and destination block sizes differ). When no reblocking is taking
place, Sterling Connect:Direct sends in block mode.
When you enable checkpointing, Sterling Connect:Direct transfers positioning
information in addition to the file. The positioning information enables Sterling
Connect:Direct to reposition the file in the event of an interruption. The following
examples show how to determine this overhead in number of bytes when using
Checkpoint/Restart for non-TCP/IP transfers.
In the following table, Sterling Connect:Direct checkpoints the file in block mode
and adds seven bytes to each block transmitted. This functionality adds only 2,100
bytes to the transmission of almost 6 million bytes.
113
File Attributes
Sending File
Receiving File
BLKSIZE
19,069
19,069
LRECL
DSORG
PS
PS
RECFM
FILE SIZE
300 blocks
300 blocks
In the following table, Sterling Connect:Direct checkpoints the file in record mode
because the data is being reblocked. Sterling Connect:Direct adds 10 bytes to each
record being transmitted. This functionality adds 150,000 bytes to the transmission,
or 5 percent overall.
File Attributes
Sending File
Receiving File
BLKSIZE
5,000
2,000
LRECL
200
200
DSORG
PS
PS
RECFM
FB
FB
FILE SIZE
600 blocks
1,500 blocks
114
running under is lost and posts the second Process. The second Process records
how the RUN TASK step that is still executing ended, and proceeds to the next
step in the Process.
115
116
Process Submit
Member Copy
Copy
Process Duration
Run Job
Run Task
InterConnect Option
Results
For a table of statistics record types, refer to Using Sterling Connect:Direct Exits
117
The number of I/O bytes that were read or written from disk or tape
The number of VTAM bytes sent or received during the session, including
Sterling Connect:Direct and VTAM control information
The RUSIZE
The size displayed is not the actual RUSIZE used by the transfer but rather
the RUSIZE indicated by the LOGMODE. VTAM can negotiate for a smaller
RUSIZE.
The compression percentage
This percentage is calculated by evaluating the number of VTAM bytes and
the number of I/O bytes. If the number of VTAM bytes is less than or equal
to the number of I/O bytes, a positive compression percentage is calculated
as:
Compression Percentage = (1 {VTAM Bytes I/O Bytes} ) x 100
If the number of VTAM bytes is greater than the number of I/O bytes, a
negative compression is calculated as:
Compression Percentage = (1 {I/O Bytes VTAM Bytes} )x 100
Interpretation
For Copy
Termination
The elapsed time includes file allocation on both nodes and the time
required to mount a tape, when required.
The elapsed time indicates the time it took to run the task or job
before control returned to Sterling Connect:Direct.
The elapsed time indicates the time it took to submit the Process to
the TCQ.
The start time is when the submit was performed (the Process was
added to the TCQ). The stop time is when the Process was first
added to the Process queue.
118
Additional statistics records related to the InterConnect Option are written to the
statistics facility. For a list of those statistics records, search on Using Sterling
Connect:Direct Exits in the IBM Sterling Connect:Direct for z/OS Administration
Guide.
Note: If you specify a statistics exit in the initialization parameters, the LF and RO
records are passed to the exit.
Command
Parameters
(optional)
SELect STATistics
119
Parameter
Description
WHERE
CCODE = (condition,completion code
EXCLUDE = (MEMber | MCR)
| (WTO) | (NOTWTO) | (list)
MSGID = ID | (list)
PNAME = name | (list)
PNUMber = number | (list)
SERVER = server name
STARTT = ([date|day][,hh:mm:ssXM])
STOPT = ([date | day][,hh:mm:ssXM])
USER = name | (list) SNODE = name
| (list)
TYPE = ID | (list)
FNAME = dsname | (list) | *
CASE = YES | NO |
ARCHDSN = dsname | (list))
120
Parameter
Description
completion specifies a decimal value ranging from 1 to 2,147,483,647
to allow for all completion codes that the RUN TASK statement can
pass. This last value represents a maximum 31-bit binary number.
For example, if CCODE = (EQ,12) is specified, records that have a
Comp Code of 0000000C are selected.
For another example, if CCODE = (GT,0) is specified, you see
statistics records in which the step completion code is greater than
zero, as long as the records also meet other specified criteria.
EXCLUDE = (MEMBer | MCR) | (WTO) | (NOTWTO) | (list)
specifies to exclude certain statistics from selection. Specify a list of
excluded options by enclosing them in parentheses and separating
them by a space or a comma. To select all statistics, omit the
EXCLUDE parameter from the SELECT STATISTICS command. The
TYPE parameter overrides the EXCLUDE specifications.
MEMBer | MCR specifies whether or not to exclude the PDS
member copy record for PDS copies on the statistics report.
WTO specifies that Sterling Connect:Direct write-to-operator (WTO)
messages are excluded from the SELECT STATISTICS command.
Dynamic allocation messages are represented as WTOs in the
statistics file.
NOTWTO specifies that only WTO records are displayed (exclude
everything that is NOT a WTO record).
MSGID = ID | (list) specifies selection by message ID. You can
specify a list of message IDs by enclosing them in parentheses. You
can use a generic specification in the MSGID parameter using an
asterisk (*) at the end of the ID. For example, if you specify SCPA*,
then MSGIDs with SCPA in the first four characters of the message
ID are selected.
PNAME = name | (list) specifies selection by Process name. You can
specify a list of Processes by enclosing them in parentheses. You can
use a generic specification in the PNAME parameter by using an
asterisk (*) at the end of the name. For example, if you specify
PNAME=TEST*, then records with TEST in the first four characters
of the Process name field are selected regardless of the contents of
the remaining characters. Records having TEST, TEST123, and
TESTX all satisfy this selection criterion.
PNUMber = number | (list) specifies selection by Process number.
You can specify a list of Processes by enclosing them in parentheses.
The range is 1199999.
SERVER = server name specifies the name of the Sterling
Connect:Direct member where the statistics are generated. The
server name is a 18 character name assigned to each Sterling
Connect:Direct Server through the CDPLEX.SERVER initialization
parameter. This parameter is required in a Sterling
Connect:Direct/Plex.
121
Parameter
Description
STARTT = ([date | day] [,hh:mm:ssXM]) specifies selection by
designated starting date and time. The date or day and time are
positional parameters. If you do not specify the date or day, precede
the time with a comma.
date specifies the date to execute the Process. You can specify the
day (dd), month (mm), and year (yy for 2-digit year and yyyy for
4-digit year). You can use periods or backslashes (/) to separate the
components of a date value. You can omit the separators only for
transfers between mainframe nodes. Use separators to guarantee
transfers between all platforms.You can use the following date
formats, according to which date order is specified in the
DATEFORM initialization parameter:
v DATEFORM=MDY specifies the date format as mm/dd/yy,
mm/dd/yyyy, mm.dd.yy, or mm.dd.yyyy
v DATEFORM=DMY specifies the date format as dd/mm/yy,
dd/mm/yyyy, dd.mm.yy, or dd.mm.yyyy
v DATEFORM=YMD specifies the date format as yy/mm/dd,
yyyy/mm/dd, yy.mm.dd, or yyyy.mm.dd
v DATEFORM=YDM specifies the date format as yy/dd/mm,
yyyy/dd/mm, yy.dd.mm, or yyyy.dd.mm
Valid Julian dates formats are yyddd, yyyyddd, yy/ddd, yyyy/ddd,
yy.ddd, or yyyy.ddd.
If you do not specify the DATEFORM parameter, Sterling
Connect:Direct for z/OS defaults to MDY date format.
day specifies the day of the week to select. Valid names include
MOnday, TUesday, WEdnesday, THursday, FRiday, SAturday, and
SUnday. You can also specify YESTER to search for statistics records
created yesterday or TODAY to
hh:mm:ssXM indicates the time of day in hours (hh), minutes (mm),
and seconds (ss) to select. Set XM to AM or PM. You can use the
24-hour clock or the 12-hour clock. If you use the 24-hour clock,
valid times are 00:00-24:00. If you use the 12-hour clock, 1:00 hours
are expressed as 1:00AM, and 13:00 hours are expressed as 1PM. If
you use neither AM or PM, Sterling Connect:Direct assumes the
24-hour clock. You do not have to specify minutes and seconds.
You can also specify NOON, which searches for the statistics records
at noon, or MIDNIGHT, which searches for the statistics records at
midnight. The time default is 00:00:00, the beginning of the day.
If you specify time of day but not date, the output shows the first
available entry in the statistics log for that time of day. Statistics
from all later times and dates are output up to and including the
stop time.
If you do not specify the STARTT parameter, the search criterion
consists of any time before the STOPT parameter.
122
Parameter
Description
STOPT = ([date | day] [,hh:mm:ssXM]) Specifies a search for
statistics records up to and including the designated date, day, and
time positional parameters. If you do not specify the date or day,
place a comma before the time.
The date and time formats are the same as the STARTT parameter.
The time default is 24:00:00, the end of the day.
If you specify time of day but not date, all statistics through the
most recent entry for that time of day are output.
If you do not specify the STOPT parameter, Sterling Connect:Direct
selects statistics through the present time.
USER = name | (list) limits the selected statistics records to those
that are written for users with the specified name. You can specify a
list of names by enclosing them in parentheses. Use generic
specifications by placing an asterisk (*) at the end of the name. For
example, if you specify USER = SYS$*, then records with SYS$in the
first four characters of the USER field are selected regardless of the
contents of the remaining characters. Records having SYS$BOB,
SYS$ADM, and SYS$0001 all satisfy this selection criterion. USER
names can be up to 64 characters in length and can contain
lowercase characters.
SNODE = name | (list) limits the selected statistics records to those
that are written for Processes where the specified node name acted
as SNODE. You can specify a list of names by enclosing them in
parentheses. Use generic specifications by placing an asterisk (*) at
the end of the name. For example, if you specify SNODE=DALLAS*,
then records with DALLAS in the first six characters of the SNODE
field are selected regardless of the contents of the remaining
characters. Records having DALLAS.PROD, DALLAS.TEST, and
DALLAS all satisfy this selection criterion. SNODE names can
contain lowercase characters.
Note: When the statistics record shows NODE=S (SNODE), the
PNODE and SNODE fields are switched in that Process' statistics
record. For example, when a Run Task is submitted for SNODE
processing, the RT statistics record created at the PNODE contains
NODE=P and the PNODE and SNODE fields are as expected. For
the same task, the RT statistics record created at the SNODE
contains NODE=S and the PNODE and SNODE fields are reversed
for that Process.
123
Parameter
Description
TYPE = ID | (list) | * specifies the statistics record types to select.
Every statistics record Sterling Connect:Direct generates has an
associated record-type identifier. Each identifier is two characters
long and indicates the event or function that generated the record.
The identifier also indicates the record format and contents. Use
TYPE= * to view all record types. The TYPE subparameter specifies
which record types to select, and overrides the EXCLUDE parameter.
When you do not specify a TYPE, the record types selected are
determined by the output option chosen, and can be affected by the
EXCLUDE subparameter. When you specify the PRINT or TABLE
output option, the types in the following table are selected. Specify
FILE for the output option to select all available types. Use the
EXCLUDE subparameter to exclude certain types that the output
option included.
For a list of statistics record type identifiers, search on Statistics
Records in the IBM Sterling Connect:Direct for z/OS Administration
Guide.
FNAME=dsname | (list) | * limits the selected statistics records to
those that contain the specified file name. The FNAME
subparameter is meaningful for the following record types:
CT Copy Termination
RJ Run Job
SD Start Sterling Connect:Direct
SW Submit within Process
The meaning of the file name within these records is unique for each
record type. For example, the Run Job record contains the file name
of the submitted JCL. Filenames can be up to 254 characters in
length and can contain lowercase characters.
CASE=YES | NO
ARCHDSN=dsname | (list)
124
Parameter
Description
Specifies the output format. Indicate only one. TABLE is the default.
This parameter is optional.
See Indicating Output Destination for an explanation of the output
produced by the selection of the FILE, PRINT, and TABLE
parameters. The SUMMARY parameter produces a 3-line summary
per statistics record, similar to the example on Statistics Log Records.
The reports from Sterling Connect:Enterprise are retrievable only
through the FILE option for batch and the DISPLAY option for the
IUI.
Procedure
1. Place commands in the DGADBATC job stream as described in Sample job
stream to run the batch interface on page 10.
2. Submit the job while Sterling Connect:Direct is running.
The following command searches for statistics records based on start and stop date
and time, and excludes write-to-operator and PDS member copy statistics records.
SEL STAT WHERE (EXCLUDE=(WTO,MEMB) STARTT=(11/21/2003,15:25:00) STOPT=(11/25/2003,15:30:00) )
The following command searches for statistics records based on Process name, and
start and stop date and time. It excludes write-to-operator statistics messages.
SEL STAT WHERE ( EXCLUDE=(WTO) PNAME=BILLING STARTT=(12/28/2003,06:00) STOPT=(12/28/2003,23:00) )
The following command searches for signon records for the user Mary.
125
The following command searches are identical and both select only WTO records.
SEL STAT WHERE (TYPE=WO) TABLE
SEL STAT WHERE (EXCLUDE=(NOTWTO)) TABLE
The following command searches for statistics records based on Process start/stop
date and time that ran on a Sterling Connect:Direct Server named SERVER1.
SEL STAT WHERE ( SERVER=SERVER1 STARTT=(12/28/2003,06:00) STOPT=(12/28/2003,23:00) )
The following command searches for Process submission records for Processes in
which the SNODE is any node in Dallas, and prints the output. Assume that the
site administrator indicates that the November statistics records are contained in a
file pair whose key sequenced data set is named SYS.ARCH.STATS.M9611. For an
explanation of statistics file pairs, search on Administering Statistics in the IBM
Sterling Connect:Direct for z/OS Administration Guide.
SEL STAT WHERE ( TYPE=(PS,SW) SNODE=DALLAS* ARCHDSN=SYS.ARCH.STATS.M9611 ) PRINT
The following command searches for signon and signoff records that match todays
date and the User ID SEAN.
SEL STAT WHERE ( TYPE=(SI,SO) USER=SEAN STARTT=(TODAY) STOPT=(TODAY,24:00:00) ) TABLE
The following command searches for the message ID SCMG010I and all message
IDs that begin with SCPA.
SEL STAT WHERE ( MSGID=(SCMG010I, SCPA*) )
126
The following figure illustrates the commands for archiving statistics for a single
day using the Batch Interface. These commands archive the statistics from the
previous day into the preallocated data set of the API referenced by the DD
DMTMPDSN.
SIGNON
127
Procedure
1. Select option SS from the Primary Options Menu to display the Select Statistics
screen.
node.name
SELECT STATISTICS
CMD ==> P
Session not active. Only submits are allowed under ESF.
CMD: S ... SUMMARY TABLE
D ... DISPLAY REPORT
P ... PRINT REPORT
PROCESS NUMBERS:
==> ______
==> ______
==> ______
==> ______
PROCESS NAMES:
==> ________
==> ________
==> ________
==> ________
START DATE
==> TODAY_____
( YYYY.MM.DD )
START TIME
==> __________
(HH:MM:SSXM)
STOP DATE
==> TODAY_____
( YYYY.MM.DD )
STOP TIME
==> __________
(HH:MM:SSXM)
CONDITION CODE:
==> __ ________
EXCLUDE ( MEMBER RECS ==> Y
WTO RECS ==> Y
^WTO RECS ==>
CHANGE EXTENDED OPTS: ==> N
2.
hh:mm
yyyy.mm.dd
yyyy.ddd
N )
To access the Select Statistics Extended Options screen, type Y in the CHANGE
EXTENDED OPTS field. On the command line, type the command for the
output format that you want. The following table describes each option:
Command
Description
Display a two-line summary per statistics record on the screen. See the
Statistics Summary figure on Statistics Summary.
Note: The records from the InterConnect Option are only retrievable through
the DISPLAY option.
The following table lists the statistics record types, their corresponding record
type identifiers, and whether they display through the Display Report
command, or the Change Extended Opts field of the Select Statistics screen.
128
Record ID
Description
Display
Report
Change Extended
Options
CE
CH
Change Process
CI
CS
Statistics Command
CT
Copy Termination
CX
DC
Directory Commands
DP
Delete Process
DT
Select Task
Y
D
Y
Y
Display
Report
Change Extended
Options
Record ID
Description
DU
Delete User
EI
ET
EV
FA
IGWFAMS Message
FI
FP
Flush Process
FS
Suspend Process
FT
Flush Task
GO
HW
IA
Inquire Statistics
IB
Inquire Debug
ID
Inquire STATDIR
IF
IP
IT
IU
Insert User
IX
JI
LF
M2
MC
NL
NM
NETMAP Updated
PE
PI
PR
PS
Process Submit
PT
PX
QE
QH
QP
QT
QW
RE
RF
129
Display
Report
Change Extended
Options
Record ID
Description
RJ
Run Job
RO
RT
Run Task
S2
SB
Session Begin
SC
SD
SF
Statistics Format
SI
Signon
SN
Select Netmap
SO
Signoff
SP
Select Process
SS
Select Statistics
ST
SU
Select User
SW
SY
SYSOPTS
TF
TI
TL
TP
TR
TS
Suspend Task
TW
UM
UU
Update User
VP
View Process
WO
WTO
WS
XO
Trace On/Off
ZI
ZT
Y
D
Y
Y
130
node.name
SELECT STATISTICS EXTENDED OPTIONS
CMD===> ________________________________________________________________
hh:mm
yyyy.mm.dd
yyyy.ddd
RECORD
==> __
==> __
==> __
TYPES:
==> __
==> __
==> __
SNODE NAME:
==> ________________ MESSAGE ID:
==> ________
USER ID:
==> ________________________________________________________________
FILENAME:
==> ________________________________________________________________
SEARCH
==> ______________________________________________
ARCHIVED
==> ______________________________________________
DATASETS:
==> ______________________________________________
SERVER:
==> ________
DO YOU WANT THE VALUES OF THIS REQUEST TO BE CASE SENSITIVE? ==> N
Statistics Summary
If you selected S to display a statistics summary, the following Statistics Summary
screen is displayed:
----------------------STATISTICS SUMMARY--------------==>
ROW 1 TO 3 OF 3
SCROLL ===> PAGE
----SUBMITTER NODE----OTHER.NODE-----
FUNCTION
PNAME
PNUMBER
USERID
MSGID
RTNCD
END DATE/TIME
P|SNODE
SERVER
-----------------------------------------------------------------------------------* RUN-TASK
TESTMBR2 5
SC.MVS.QA5A
AS400.CDQA62
RBELL1
SERVER1
ARTT003I 000000008 MM/DD/YY HH:MM:SS PNODE
S COPY
TESTMBR2 5
SC.MVS.QA5A
AS400.CDQA62
RBELL1
SERVER2
SCPA001I 000000000 MM/DD/YY HH:MM:SS PNODE
SUB-CMD
TESTMBR2 5
SC.MVS.QA5A
AS400.CDQA62
RBELL1
SERVER2
SSPA001I 000000000 MM/DD/YY HH:MM:SS PNODE
The first and second lines of each entry identify a Process by function, Process
name and number, submitter node, other node, and user ID. The third line is the
message ID, return code, ending date and time of that Process, and Sterling
Connect:Direct Server that the Process ran on.
An asterisk (*) before the Process name indicates a nonzero return-code. You can
type M next to the Process name to display a description of the message ID
associated with the Process. Type S next to the Process name to show the statistics
in detail, as in the following figure.
131
node.name
Connect:Direct (TM) MESSAGE DISPLAY
CMD ==>
MSGID ==> SVSL003I
MODULE ==> DMVSOPEN
Copy requested DISP=(,CATLG) to already cataloged dataset.
The PROCESS COPY step requested a DISP=(,CATLG) on the TO
clause of the COPY statement. The requested dataset already
exists as a cataloged dataset.
System Action. The PROCESS COPY step is terminated with a
completion code of 8.
Response: Either correct the COPY dataset or uncatalog the
existing dataset and re-submit the PROCESS.
hh:mm
Display Statistics
If you typed D to display the output on screen, it is formatted as shown in the
following example.
Note: The statistics display function supports 133 character records and horizontal
scrolling using the standard ISPF scrolling function keys.
====================================================================================
PLEX.JOE
SELECT STATISTICS
24.03.2003
====================================================================================
Function
=> COPY
Start Time
=> 13:00:54
Process Name => PRCDATIM
Stop Time
=> 13:00:55
Process Num => 13273
Comp Code
=> 00000000
Comp Msg
=> SCPA000I
Userid
=> CBENN1
Secondary
=> PLEX.TOM.TCP
Step Name
=> STEP2
Other addr
=> 10.20.129.38
Other port
=> 02038
V2 Buffer Size => 65,536
Negotiated V2 Buffer Size => 65,536
TCP Buffer Size Used => 131,072
***** CHECKPOINTED; Interval = 1,000
From ( Pnode
Dsn=CBENN1.V44.PDS)
recs => 0
blks => 2
I/O BYTES => 8,400
VTAM BYTES => 2,183
Cmpr Perc => 74.0%
CMPrlevel=1
WINdowsize=13
MEMlevel=4
Digital Signature enabled = No
VOL=SER=> USER19
To ( Snode
Dsn=CBENN1.FTST.PRCDATIM.D1030325.T130042)
recs => 0
blks => 2
I/O BYTES => 8,400
VTAM BYTES => 2,183
Cmpr Perc => 74.0%
Digital Signature enabled = No
Merged Signature enabled = No
Merged Encryption enabled = No
VOL=SER=> USER11
The following figure illustrates how output to the system console and messages in
response to console commands are formatted.
132
BROWSE -- SYS.USER01.NDMAPI
----- LINE 00000097 COL 001 080
COMMAND ===>
SCROLL ===> CSR
____________________________________________________________________________________________________
Function => RUN TASK (PNODE)
Start Time => 15:51:38
Process Name => HYTADD01
Stop Time => 15:51:39
Process Num => 261
Comp Code => 00000000
Server =>
Comp Msg => SRTA000I
Userid => USER01
SECONDARY => USER01.MVS60.N2
STEP NAME => MBA$CREL
15:51:39 SVTM052I MBA$CRELRUN TASK HYTADD01( 261) SNODE=USER01.MVS60.N2 (0
15:51:39 SDAA004I - LOCATE MSG=NO TSODSN=NO DSN=IOVER1.CMCDIO.PROFILES(SUBADD0
15:51:39 SDAC006I (LOCATE) - R15=0000, R0=0000, Function completed successfully.
15:51:40 SDAA004I - ALLOC TSODSN=NO,DD=NDM00017,RETURN=(DSORG,DEVTYPE),D
15:51:40 SDAB005I - ERR=0000, INFO=0000, DYNAMIC ALLOCATION COMPLETED SUCCESSFUL
15:51:40 SDAA004I - LOCATE MSG=NO TSODSN=NO DSN= USER01.STOUTL.SYSIN.T632272
====================================================================================
USER01.MVS60.N1 SELECT STATISTICS DATE : 10/24/2003
====================================================================================
15:51:40 SDAC006I (LOCATE) - R15=0000, R0=0000, Function completed successfully.
15:51:40 SDAA004I - ALLOC TSODSN=NO,DD=NDM00018,RETURN=(DSORG,DEVTYPE),D
15:51:40 SDAB005I - ERR=0000, INFO=0000, DYNAMIC ALLOCATION COMPLETED SUCCESSFUL
15:51:41 SDAA004I - UNALLOC DD=NDM00017
15:51:41 SDAB005I - ERR=0000, INFO=0000, DYNAMIC ALLOCATION COMPLETED SUCCESSFUL
Command
(optional)
Parameter
SELect MeSsaGe WHERE (ID|MSGID= message ID) [Short |
Long]
Description
WHERE
ID | MSGID = message
ID
[Short | Long]
133
134
Procedure
1. Select option NM from the Primary Options Menu to display the Select
Netmap or TCP Information screen.
node.name
SELECT NETMAP OR TCP INFORMATION
CMD ==>
NETMAP INFORMATION
NODE KEY(S): ==> ________________
==> ________________
==> ________________
==> ________________
==> ________________
==> ________________
==> ________________
==> ________________
TCP INFORMATION
ADDRESS:__________________________________________
NAME: ________________________________________________________________
OUTPUT DESTINATION ==> DIS (DIS-DISPLAY,PR-PRINT)
hh:mm
2. Type the selection criteria for the nodes you want to examine and press Enter.
To select all nodes, you can simply press Enter.
The following is an example of a network map showing two nodes: CD.PLX44
and CDSELECT.SCO.
135
BROWSE
SYS06097.T144239.RA000.USER01.NDMAPI.H02
Line 00000000 Col 001 080
Command ===>
Scroll ===> PAGE
********************************* Top of Data **********************************
===========================================================
SELECT NETWORK MAP
===========================================================
Node Name
: CD.PLX44
VTAM Applid
: M1CDD97G
Max Parsess : 10
Def Ses Class : 1
Session Type: SNA
Environment
:
Node Status : INTERNAL, SEND, RECEIVE
ALT.COMM
: (ALT.DIR=BALANCE
(ALT.ADDR=10.20.129.101,ALT.PORT=13641,
ALT.TYPE=TCP , ALT.USE.OUT=YES ))
CRC
: DEFAULT
Session Snode Max : 255
PlexClass
: (
,
) Use.Server.Node: No
___________________________________________________________
Node Name
: CDSELECT.SCO
TCP PORT
: 13640
TCP Address : 10.20.246.244
Max Parsess : 20
Def Ses Class : 2
Session Type: TCP
Environment
: UNIX
Source IP
: 10.20.201.2
Node Status : INTERNAL, SEND, RECEIVE
ALT.COMM
: (ALT.DIR=TOP
(ALT.ADDR=MVSLPARA.CSG.STERCOMM.COM,
ALT.PORT=01364,ALT.TYPE=TCP ,
SOURCEIP=10.20.202.22 ,
ALT.USE.OUT=YES ))
CRC
: DEFAULT
Session Snode Max : 255
Contact
: Joe Dowe
Phone
: (xxx) xxx-xxxxx
Description : Connect:Direct for z/OS XXXX Node
You can make generic requests by using an asterisk. For example, type an
asterisk (*) in the first node key field to select all nodes and D* to select only
those nodes that begin with D. See SELECT NETMAP Command Format or
press PF1 for Help.
Note: The TCP information fields are for creating the SELECT TCPXLAT
command described in the next section. Do not fill them in for the SELECT
NETMAP command.
In the following example, the only node name in the network map which begins
with SAN is the SANFRAN node. This report contains a long DNS record, which
you can define in the Adjacent Node Definition in the network map. For more
information on the Adjacent Node Definition, search on Maintaining the Network
Map in the IBM Sterling Connect:Direct for z/OS Administration Guide.
136
============================================================================
SELECT NETWORK MAP
============================================================================
NODE NAME
: SANFRAN
VTAM APPLID
: M1A66789
MAX PARSESS : 10
DEF SES CLASS : 1
SESSION TYPE: SNA
ENVIRONMENT
: OS390
NODE STATUS : INTERNAL, SEND, RECEIVE
LONG DNS
: REGIONAL.MANAGER.OFFICE.IN.THE.SAN.FRANCIS
CO.BAY.AREA.CALIFORNIA.USA
ALT.COMM
: (ALT.DIR=BALANCE
(ALT.ADDR=M1A66790,ALT.TYPE=SNA ,
ALT.USE.OUT=YES ))
CRC
: DEFAULT
SESSION SNODE MAX : 255
CONTACT
: JOE SMITH
PHONE
: 345-999-6999
DESCRIPTION : SANFRAN TO TOKYO NODES PATH, SECONDARY P
ATH TO OSAKA.
Command
Parameters
(optional)
SELect NETMAP
Description
WHERE (NODE =
(node | generic |
(list))
PRint | DISplay
137
Procedure
1. Select option NM from the Primary Options Menu to display the Select
Netmap or TCP Information screen. (See Issuing the SELECT NETMAP
Command from the IUI to see a screen sample.)
2. Press Tab until you reach the TCP INFORMATION portion of the screen. See
the parameter descriptions in SELECT TCPXLAT Command Format or press
PF1 for Help.
3. Do one of the following:
v To translate a host address to a fully qualified host name, type the address in
dot notation form in the ADDRESS field.
v To translate a host name to a real TCP/IP address, type the host name in the
NAME field. You can also type an alias name in this field if the host name is
too long for the space provided.
The following output is displayed:
xx.abc.node111
RESOLVED TCP NAME/ADDRESS
CMD ==>
TCP name/address translation successful.
TCP ADDRESS : 111.222.333.444
FULLY QUALIFIED TCP HOST NAME:
qaoptsol.csg.stercomm.com
____________________________ $$$$ ________________________________
14:56
Procedure
To use the SELECT TCPXLAT command from the Batch Interface, place your
commands in the DGADBATC job stream and submit the job while Sterling
Connect:Direct is running. Use the batch version of the SELECT TCPXLAT
command to make multiple requests for resolution. The maximum number of
requests is 10.
The following command produces the TCP Name/Address Translation Report. The
first two names listed in the TRTCPNAM parameter are aliases, the third is an
actual host name.
SIGNON
SEL TCPXLAT WHERE (TRTCPNAM=(NAME1, NAME2, tcpip.host.name3))
SEL TCPXLAT WHERE (TRTCPADR=(123.456.78.999, 123.456.789.012))
SIGNOFF
The following report shows the resolution of name to address or address to name.
REQUEST is what is typed in the command.
138
=============================================================================
TCP Name/Address Translation Report
=============================================================================
REQUEST
: NAME1
Host Address
: NNN.NNN.NN.NNN..
HOST NAME
: tcpip.host.name1
REQUEST
: NAME2
*** TCP Name/Address could not be resolved ***
REQUEST
: tcpip.host.name3
Host Address
: NNN.NNN.NN.NNN..
HOST NAME
: tcpip.host.name3
=============================================================================
TCP Name/Address Translation Report
=============================================================================
REQUEST
: 123.456.78.999
Host Address
: 123.456.78.999,
HOST NAME
: tcpip.host.name4
REQUEST
: 123.456.789.012
Host Address
: 123.456.789.012,
HOST NAME
: tcpip.host.name5
Command
Parameters
(optional)
SELect TCPXLAT
Description
WHERE
(TRTCPNAM =
(tcpip.host.name | (list))
TRTCPADR =
(tcp.net.adr | (list)) )
PRint | DISplay
139
140
Description
CL4GOOD'
| CL4FAIL'
The first positional parameter tells the program the correct message to
output. Code the parameter as illustrated in the following example,
including the single quotes.
141
Parameter
Description
file name
The second positional parameter is the name of the file that is being copied.
The following example shows a Sterling Connect:Direct for z/OS Process using the
DGADTIFY program.
COPY1 PROCESS PNODE=CDA SNODE=CDB
STEP01
COPY FROM ( PNODE DSN=FILE1 DISP=SHR ) TO ( SNODE DSN=FILE2 DISP=SHR )
STEP02
IF (STEP01=0) THEN
NOTIFYG
RUN TASK (PGM=DGADTIFY, PARM=(CL4GOOD,FILE1)) PNODE
ELSE
NOTIFYF
RUN TASK (PGM=DGADTIFY, PARM=(CL4FAIL,FILE1)) PNODE
EIF
If the COPY statement is unsuccessful, the second RUN TASK step executes and
you see the following messages:
SNTB002I ** Connect:Direct FAILED STEP COMPLETION **
******** Connect:Direct FILE TRANSFER FAILED *********
******** Connect:Direct FILE TRANSFER FAILED *********
FILE XFER BETWEEN - PLEX.JOE AND - PLEX.TOM FAILED
REQUESTOR=CTENN1
DSN=CD.OUTPUT.data set
******** Connect:Direct FILE TRANSFER FAILED *********
******** Connect:Direct FILE TRANSFER FAILED *********
142
Parameter
Description
CL4GOOD' |
CL4FAIL'
file name
This second positional parameter is the name of the file that is being
copied.
user ID | user ID
list
The last parameter or list of parameters contains the TSO user IDs to
notify. Separate the user IDs with a comma.
A GOOD value is relayed to the TSO users CDID1 and CDID2 on CDB in the
following message:
SNTA001I **Connect:Direct FILE TRANSFER SUCCESSFUL**
TRANSFER BETWEEN - CDA
AND
- CDB
DSN=FILE1
A FAIL value is relayed to the TSO users CDID1 and CDID2 on CDA in the
following message.
SNTA002I ****Connect:Direct FILE TRANSFER FAILED****
TRANSFER BETWEEN
- CDA
AND
- CDB
DSN=FILE1
DGADTDYN Parameters
The RUN TASK command invokes DGADTDYN with parameters that define
allocation actions to execute. The following rules apply to the syntax of the
parameters:
v Perform each allocation action with as many parameters as required.
Chapter 11. Utility Programs
143
Description
ALLOC
Use the ALLOC function to allocate a file. The allocation request can contain
most job stream DD statement options, including DCB options applicable to
allocation. This function is the default.
UNALLOC
CONCAT
144
The second function, UNALLOC, unallocates the data set. Because of the
disposition (the data set is originally allocated with disposition DELETE), the data
set is uncataloged.
Use the F'-1' as a separator between allocation functions.
PROC2 PROCESS SNODE=BOSTON
DELETE RUN TASK(PGM = DGADTDYN PARM = (CALLOC DSN=XYZ.TEMP DISP=(OLD,DELETE) F-1 CUNALLOC DSN=XYZ.TEMP))
145
Parameter
Description
VALUE1
The first positional parameter indicates the time to wait. The default is
0 or you can use a comma to omit.
For seconds, specify (S)xxxx. The maximum is 9999 seconds or about
2.7 hours.
For minutes, specify Mxxx. The maximum is 999 minutes or about 16.6
hours.
For hours, specify Hxx. The maximum is H99 or about 4.1 days.
You can also specify ABEND' and then use the actual user ABEND
code for the second positional parameter.
VALUE2
The second positional parameter specifies the return code to set. The
default is 0. The maximum is 4095.
'-' causes a -1 value (if executed as a batch step, IBM displays the return
code value as 4095).
VALUE3
The following examples show how to use DGADWAIT in a RUN TASK. In the first
example, the program waits for one second, and then sets the return code to 2.
DGADWAIT PROCESS SNODE=NODE.NAME &PRM=1,2
STEP01
RUN TASK (PGM=DGADWAIT PARM=(&PRM))
In this example, the program does not wait, but sets the return code to 8.
DGADWAIT PROCESS SNODE=NODE.NAME &PRM=0,8
STEP01 RUN TASK (PGM=DGADWAIT PARM=(&PRM))
DGADTAMS Parameters
DGADTAMS is invoked by the RUN TASK Process statement with the following
parameters that define allocation and AMS actions to execute.
146
Parameter
Description
sysprint
output
parameters
control
statement
parameters
You can use any valid input to the VSAM AMS program as input to
DGADTAMS, even multiple input parameters defining one or more AMS
actions. You must begin all VSAM control statement parameters with a
blank.
Description
JCL source
147
Parameter
Description
Subsequent
Parameters
%PROCNUM
The number of this Process
Note: To use %SRCDSN or %DSTDSN, the RUN TASK must be run on
the PNODE. The values for the %SRCDSN and %DSTDSN variables are
not available when the RUN TASK is run on the SNODE.
The following figure is an example of RUN TASK using the DGADTSUB program.
RUN TASK
(PGM=DGADTSUB PARM=(DSN=dsname,DISP=SHR, JOB X21JOB, RPTNAME REPORT01, CLASS A, FILE X21.FILE )) PNODE
The job stream source that corresponds to this RUN TASK statement is displayed
in the following figure. The values requiring substitution are presented in bold
type.
//&JOB JOB (79502),&RPTNAME,PRTY=12,TIME=(1),CLASS=&CLASS,
// REGION=512K,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=BSMITH1
//PRINT
EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN
DD DUMMY,DCB=BLKSIZE=80
//SYSUT1
DD DISP=SHR,
//
DSN=&FILE
//SYSUT2
DD SYSOUT=&CLASS,DCB=(&FILE)
The following figure shows the resulting job stream after substitution has taken
place. Sterling Connect:Direct replaces the variables that began with & with the
assigned values in the DGADTSUB parameter list.
148
149
Error Output
DGADTSUB writes any internal error information to the data set specified on the
CDESTAE DD statement. Always include this DD statement in the Sterling
Connect:Direct startup job stream.
Return Codes
The following table describes the DGADTSUB return codes:
Return Code
Meanings
04
150
08
12
DGASACMP Parameters
You can pass the following parameters to DGASACMP:
Parameter
Description
REPORT=NORMAL |
DEBUG
151
ZLIB=(CMP=1 | n, WIN=13
| nn, MEM=4 | n)
DGASACMP Examples
The following sample JCL, found as member DGAXCMP in $CD.SDGASAMP,
compresses a physical sequential (PS) file and stores it as compressed data.
//CDCMP JOB (1004),BATCH COMPRESS,CLASS=N,MSGCLASS=X,
//
COND=(1,LT),REGION=0M
//*
//* ZLIB COMPRESS A FILE IN BATCH
//*
//COMP
EXEC PGM=DGASACMP,PARM=MODE=COMP
//STEPLIB
DD
DISP=SHR,DSN=$CD.SDGALINK
//INPUT
DD
DISP=SHR,DSN=$CD.FILE1
//OUTPUT
DD
DSN=$CD.FILE1.COMP,DISP=(NEW,CATLG),
//
UNIT=SYSDA,SPACE=(TRK,(1500,300),RLSE),
//
DCB=(BLKSIZE=27920,RECFM=U,DSORG=PS)
//SYSOUT
DD
SYSOUT=*,DCB=(BLKSIZE=133)
//*
152
DGASACMP Output
The following screen shows sample output from DGASACMP.
SACO000I
SACO001I
SACO002I
SACO003I
SACO011I
SACO012I
SACO021I
SACO022I
SACO023I
SACO024I
SACO031I
SACO032I
SACO033I
SACO034I
SACO999I
13
MEM= 4
REPORT=NORMAL
DSN=CD.TESTFILE.M1
DSN=CD.TESTFILE.M1.COMP
You can also invoke DGASACMP with the OUTPUT DD as DUMMY, indicating
that the summary report is produced, but the output data is not stored. You must
still provide the DCB attributes. The following screen shows an example.
//OUTPUT
//
DD DUMMY,
DCB=(BLKSIZE=27920,RECFM=U,DSORG=PS)
Procedure
1. Prepare a file containing the typical type of data you transfer and the average
amount of data involved in a transfer.
2. Transfer the file without using compression and record the time it takes for the
transfer to complete.
153
3. To test the results of compressing and decompressing the file, run DGASACMP
three times on the test file using the following settings. After each compression
run, run DGASACMP to decompress the file. Keep the output reports for each
test to compare results.
v CMP=1,WIN=13,MEM=4 (the default settings)
v CMP=1,WIN=1,MEM=14)
v CMP=8,WIN=1,MEM=14)
4. To determine if it is worthwhile to use compression and what extended
compression parameter values are most beneficial for your environment,
examine the test results taking the following factors into consideration:
v Amount of CPU and elapsed time it takes to compress and decompress the
data
v Amount of time it takes to send the data
v Virtual memory space used to maintain the ZLIB internal control blocks
v Virtual memory space used to allocate the compression window or history
buffer
v Type of data being sent, including its compressibility
Automatic Decompression
As an alternative to storing the data as compressed data on the remote node, you
can decompress a file during Process execution. This functionality is available
between z/OS and any other platform that supports ZLIB compression.
To perform automatic decompression, specify PRECOMP=YES in the SYSOPTS
parameter in the FROM clause of the COPY statement. PRECOMP=YES indicates
that the FROM data set is precompressed and instructs Sterling Connect:Direct to
decompress the file as part of the Process. If you do not code SYSOPTS or set
PRECOMP to NO, the file is sent in compressed format and the receiver must run
DGASACMP with MODE=DECOMP.
Note: If you are decompressing a file using DGASACMP, you cannot allocate
VSAM files as DISP=(NEW,CATLG). You must predefine the VSAM output file.
The following sample Process, found as member DGAPMPPS in $CD.SDGAPROC,
instructs Sterling Connect:Direct to decompress a file that is compressed using
DGASACMP.
Note: Refer to the $CD.SDGASAMP data set for more sample Processes.
CDCOMPPS PROCESS SNODE=CD.OS390
STEP1 COPY
FROM (DSN=$CD.FILE1.COMP
DISP=(SHR)
SYSOPTS=PRECOMP=YES
PNODE)
TO (DSN=$CD.FILE1.NEW
DISP=(RPL)
SNODE)
154
during the specified period, and the time and date the high water mark was
reached. These messages appear in the JESMSGLG segment of the Sterling
Connect:Direct SYSOUT.
/****************************************************************/
/* RUN TASK FOR HIGH WATER PROCESS NUMBER; PNODE=SNODE */ /***************
************************************************/
RTBB PROCESS SNODE=your.local.node
STEP1 RUN TASK (PGM=DGADVITL,PARM=(C60)) PNODE
155
156
157
In this example, the Global initialization parameters file, GLOBINIT, and local
initial initialization parameters file, SERVER, contain normal initialization
parameters for starting a Sterling Connect:Direct/Plex Server. If
CDPLEX.SERVER= is specified in the local initialization parameters, it is ignored
and the JES jobname is used as the server name. The specification of CDFTP as the
first override parm after the specification of the location of the initialization
parameters file identifies this DTF as a Sterling Connect:Direct FTP+ Client.
The SYSTCPT DD is required so that the Resolver will write its trace information
into this file when a request to the Resolver, such as GETHOSTNAME, is issued.
Sterling Connect:Direct FTP+ reads this trace information to get the resolved
DATASETPREFIX from the Resolver to determine which FTP.DATA file to open
and process.
A z/OS FTP client gets its configuration data from the FTP.DATA file and uses the
following search order to find this file:
v DD card - //SYSFTPD
v Tsoprefix.FTP.DATA
v Tsoid.FTP.DATA
v /etc/ftp.data
v SYS1.TCPPARMS(FTPDATA)
v tcpip_hlq.FTP.DATA
Sterling Connect:Direct FTP+ Client will attempt to find the correct FTP.DATA file
using the following search order:
v DD card - //SYSFTPD
v
v
v
v
JobUserid.FTP.DATA
/etc/ftp.data
SYS1.TCPPARMS(FTPDATA)
tcpip_hlq.FTP.DATA
158
Note: The FTP.DATA file is used by both z/OS FTP and Sterling Connect:Direct
FTP+. Use ;CDFTPKEYRING if Sterling Connect:Direct FTP+ should use a
different keyring than z/OS FTP.
v ;CDFTPKEYRING ;used for a Sterling Connect:Direct FTP+ specific override of
Sterling Connect:Direct Secure Plus Keyring
Note: Do not forget to put a semi-colon (;) in front of CDFTPKEYRING and a
space followed by a semi-colon ( ;) at the end of CDFTPKEYRING, which makes
this statement a comment to z/OS FTP, but will still be recognized by Sterling
Connect:Direct FTP+ and processed.
CDFTPKEYRING ;(or KEYRING if ;CDFTPKEYRING ; is not specified) will
override the Sterling Connect:Direct Secure Plus specification of the keyring only
if the Sterling Connect:Direct Secure Plus Parmfile was defined with a keyring. If
the Sterling Connect:Direct Secure Plus Parmfile is defined to use a key
database, the FTP.DATA specification is ignored with a message to OUTPUT. To
explicitly specify to use the Sterling Connect:Direct Secure Plus Parmfile
definitions (keyring or key database, and to avoid the message to OUTPUT),
code: ;CDFTPKEYRING ;.
v SECURE_DATACONNused as default for Sterling Connect:Direct Secure Plus
transfers
The Sterling Connect:Direct FTP+ Client is a special case of a Sterling
Connect:Direct/Plex Server in a Sterling Connect:Direct/Plex environment. The
local initialization parameters file, SERVER, should specify:
CDPLEX.MANAGER=NO
For more information about global and local initialization parameters, see
Initialization Parameters in the IBM Sterling Connect:Direct for z/OS Administration
Guide.
159
//CD$MGR
JOB (CDHOSTD),FTPUSER,PRTY=12,TIME=1440,CLASS=Q,
// REGION=0M,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
/*JOBPARM LINES=999999
//************************************************************
//*
*
//*
CONNECT:DIRECT (Connect:Direct for z/OS MANAGER)
*
//*
*
//************************************************************
// SET PGM=DMINIT,P=,
//
E=STAT.INIT=COLD,TCQ=COLD
//NDMITST EXEC PGM=&PGM,REGION=0M,
// PARM=&P.USER1.INIT.SDGAPARM(GLOBINIT),CDFTP,&E
//CDPLEX
DD DISP=SHR,DSN=USER1.INIT.SDGAPARM(CDFTPMGR)
//CDSVCDMP DD DUMMY
//STEPLIB
DD DSN=USER1.CD5000.LOADLIB,DISP=SHR
//DMPUBLIB DD DSN=USER1.PROCESS.LIB,DISP=SHR
//ESTAE
DD SYSOUT=*
//CDESTAE
DD SYSOUT=*
//NDMLOG
DD SYSOUT=*
In this example, the JCL that starts the Sterling Connect:Direct FTP+ Manager is
similar to JCL that starts the Sterling Connect:Direct/Plex Manager. The initparm
override PARM CDFTP as the first override parm after the location of the global
initialization parameters makes this a Sterling Connect:Direct FTP+ Manager.
The following local and global initialization parameters are forced with no
message:
v TCP=OES
v SNA=NO
v CTCA=NO
v UDT=NO
v SECURITY=OFF (Sterling Connect:Direct FTP+ Client only. The Security
parameter is allowed for the Sterling Connect:Direct FTP+ Manager)
v TCQ=COLD
v CONFIRM.COLD.START=NO
v TCP.FMH.TIMER=00:00:00
v TCP.RUNTASK.TIMER=00:00:00
v PROCESS.RETENTION=NO
If you specify any of the following Global Initialization Parameters, they are
ignored:
v TCP.LISTEN
v UDT33.LISTEN
v MAXPROCESS
v MAXPRIMARY
v MAXSECONDARY
The local initialization parameters file for the Sterling Connect:Direct FTP+
Manager, CDFTPMGR, should specify:
CDPLEX.MANAGER=YES
For more information about global and local initialization parameters, see
Initialization Parameters in the IBM Sterling Connect:Direct for z/OS Administration
Guide.
160
CDFTP.TEMPFILE=/u/&userid;/cdftp/temp.file
In the script or NETRC file, specify the userid in the case expected for the
substitution.
161
Procedure
1. Change EXEC PGM=FTP to EXEC PROC=CDFTP.
2. Change the INPUT and OUTPUT DD statements and other step statements to
specify the procedure step name. For example, change //INPUT to
//CDFTP.INPUT and change //OUTPUT to //CDFTP.OUTPUT.
3. Change the first statement in the INPUT data stream to specify the remote
Sterling Connect:Direct node name instead of the machine name for the FTP
server.
The following is an example of JCL that executes the CDFTP procedure:
//CD$FTPJC JOB (CDHOSTD),-CDFTP+-,TIME=(1440),CLASS=Q,
// REGION=0M,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
/*JOBPARM LINES=999999
//LIBS JCLLIB ORDER=(USER1.OS390.SRCLIB)
//CDFTP EXEC PROC=CDFTP
//CDFTP.NETRC DD DISP=SHR,DSN=USER1.OS390.SRCLIB(NETRC)
//CDFTP.FTPTRACE DD SYSOUT=*
//CDFTP.OUTPUT DD SYSOUT=*
//CDFTP.INPUT DD *
MVSB (exit
ebcdic
cd /u/user3
delimit
mkdir cdftptestlib
cd cdftptestlib
lcd USER1.CDFTP.TESTLIB
delimit
bin
site sbdataconn=(IBM-037,ISO8859-1)
locsite sbdataconn=(IBM-037,ISO8859-1)
put CDFTPJC1
ebcdic
put CDFTPJC1 CDFTPJC2
dir
ls
mdelete CDFTPJC*
cdup
rmdir cdftptestlib
close
quit
//
162
If both exit and secure= are specified; only one open parenthesis can be
used. For example, MVSB (exit 16 secure=off.
v Remote userid and passwordIn this example, they are obtained from the
NETRC file. If the remote userid and password are not specified in the
NETRC file, they must be included in the FTP script after the remote host.
In the following sample excerpt of JCL that executes the CDFTP procedure,
the remote host is PROD.ZOS1, the remote userid is user1 and the password
is S1VX$25B:
...
//CDFTP.INPUT DD *
PROD.ZOS1
user1 S1VX$25B
cd /u/daily
...
You do not specify the use of Sterling Connect:Direct Secure Plus in the JCL. It
is determined by the initialization parameters and the Sterling Connect:Direct
Secure Plus parameter file definitions for the node named in the script.
To simplify matching up statistics in the remote node with Sterling
Connect:Direct FTP+ for z/OS, the PROCESS name is the jobname and the
process number is the jobid. The jobname is also used for the Sterling
Connect:Direct FTP+ Client server name when contacting the Sterling
Connect:Direct FTP+ Manager.
Note: Only the JCL interface is implemented. The ISPF interface (option 6;FTP)
is not supported.
Description
Location
DGAIPGBL
SDGAPARM
DGAIPMGR
SDGAPARM
DGAIPSVR
SDGAPARM
DGAXFTPJ
SDGASAMP
DGAXFCLI
SDGASAMP
DGAXFTPP
CDFTP PROC
SDGASAMP
DGAXNETC
Sample NETRC
SDGASAMP
DGAXFTPM
SDGASAMP
163
All commands are case insensitive and can be abbreviated as specified in the z/OS
FTP documentation.
Description
APpend
Appends a data set on the local host to a file on the foreign host
BINary
CD
CDUp
CLEar
CLose
COMpress
CWd
DELEte
DELImit
DIr
EBcdic
Get
GLob
LCd
LPwd
Displays the name of the active working directory on the local host
LS
MDelete
MGet
Copies multiple files from the foreign host to the local host
Note: "(REPLACE" supported
MPut
PRIvate
PROtect CLEAR
PROtect PRIVATE PROTECT sets the protection level for data transfers on data
connections. PRIVATE sets SECURE=(ENC=Y) in COPY steps.
164
PUt
PWd
Displays the name of the active working directory on the foreign host
QUIt
REName
RMdir
Removes a directory
SENDSite
Description
Note
AScii
Treated as EBCDIC
BIG5
Sets the transfer type to BIG5. Only to set DBCS= table in Sterling
BIG is the minimum
Connect:Direct
abbreviation for BIG5.
HAngeul
JIS78kj
JIS83kj
Ksc5601
LMkdir
LOCSIte
MKdir
"(LIKE" ignored
MOde
Open
Opens a connection to a
foreign host
Port ignored
Pass
No :userdata or account_information
supported (ignored)
PROMpt
PROXy
Executes an FTP
subcommand on a secondary
control connection
165
Command
Description
Note
PROTect SAFE
Sets SECURE=(ENC=Y) in
COPY step
QUOte
SAfe
SChinese
SIte
SUnique
TChinese
TYpe
User
166
FTP commands that are not supported or recognized, are ignored with appropriate
messages. However, if Sterling Connect:Direct FTP+ is in exit mode (exit or exit=
specified in the remote host statement), these commands stop the script and
terminate the step. This is how z/OS FTP behaves.
(LOC)SITE subcommands that are not supported or recognized are ignored and
do not terminate the step, even in exit mode. The exceptions to this z/OS FTP
behavior are the (LOC)SITE WRAPRECORD and TRUNCATE subcommands. If
these subcommands are specified, they always terminate the script (RC=8 when
not in exit mode and with the user's return code when in exit mode).
v ?
v
v
v
v
v
v
v
v
!
ACCount
BLock
CCc
CProtect
DEBug
DUMP
EUCKANJI
v FEature
v FIle
v HElp
v
v
v
v
Ibmkanji
LANGuage
LOCSTat
NOop
v RECord
v REStart
v SENDPort
v
v
v
v
v
SJiskanji
SRestart
STAtus
STREam
STRucture
v SYstem
v TSO
v UCs2
v Verbose
167
168
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte character set (DBCS) information,
contact the IBM Intellectual Property Department in your country or send
inquiries, in writing, to:
Intellectual Property Licensing
Legal and Intellectual Property Law
IBM Japan Ltd.
19-21, Nihonbashi-Hakozakicho, Chuo-ku
Tokyo 103-8510, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will be
Copyright IBM Corp. 1999, 2012
169
170
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which
illustrate programming techniques on various operating platforms. You may copy,
modify, and distribute these sample programs in any form without payment to
IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating
platform for which the sample programs are written. These examples have not
been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or
imply reliability, serviceability, or function of these programs. The sample
programs are provided "AS IS", without warranty of any kind. IBM shall not be
liable for any damages arising out of your use of the sample programs.
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows:
IBM 2013. Portions of this code are derived from IBM Corp. Sample Programs.
Copyright IBM Corp. 2013.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at Copyright and
trademark information at http://www.ibm.com/legal/copytrade.shtml.
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered
trademarks or trademarks of Adobe Systems Incorporated in the United States,
and/or other countries.
IT Infrastructure Library is a registered trademark of the Central Computer and
Telecommunications Agency which is now part of the Office of Government
Commerce.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo,
Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or
registered trademarks of Intel Corporation or its subsidiaries in the United States
and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other
countries, or both.
Notices
171
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
ITIL is a registered trademark, and a registered community trademark of the Office
of Government Commerce, and is registered in the U.S. Patent and Trademark
Office.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Java and all Java-based trademarks and logos are trademarks or registered
trademarks of Oracle and/or its affiliates.
Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the
United States, other countries, or both and is used under license therefrom.
Linear Tape-Open, LTO, the LTO Logo, Ultrium and the Ultrium Logo are
trademarks of HP, IBM Corp. and Quantum in the U.S. and other countries.
Connect Control Center, Connect:Direct, Connect:Enterprise, Gentran,
Gentran:Basic, Gentran:Control, Gentran:Director, Gentran:Plus,
Gentran:Realtime, Gentran:Server, Gentran:Viewpoint, Sterling Commerce,
Sterling Information Broker, and Sterling Integrator are trademarks or registered
trademarks of Sterling Commerce, Inc., an IBM Company.
Other company, product, and service names may be trademarks or service marks
of others.
172
Index
A
ACTSESS transport state 107
ADMIN option 17
Administrative Options Menu 15
ADOPT V2 subtask state 106
ALLOC ALLOCD transport state 107
ALLOC IMMED transport state 108
ALLOCATE task state 106
ANSWER V2 subtask state 106
API
signon 45
Application Program Interface
DGADCHLA program 25
introduction 25
Application Program Interface (API) 53
ARCHDSN parameter 124
ATTACH task state 106
AUTH option 17
Automatic Decompression 154
B
backslashes 3
batch commands 9
batch interface 9
sample job stream 10
Batch Interface
signoff 50
using SIGNON 45
using SWAP NODE 49
C
CALL V2 subtask state 106
CASE parameter 6
with CHANGE PROCESS 85
with DELETE PROCESS, FLUSH
PROCESS, and SUSPEND
PROCESS 91
with SELECT PROCESS 96
with SELECT STATISTICS 124
with SUBMIT 64
case sensitivity 6
Case sensitivity
CHANGE PROCESS command 85
DELETE PROCESS, FLUSH PROCESS,
and SUSPEND PROCESS 91
CASE SENSITIVITY parameter 73, 80
CAT SEARCH1 Allocate state 108
CDFTP 156
CF option 15, 72
CHANGE PROCESS command
batch interface 88
description 83
examples 88
format 84
IUI 89
parameters 84
Change Process screen 89
Changing an existing Process 75
Copyright IBM Corp. 1999, 2012
CHECKPOINT parameter 79
Checkpoint/restart examples 113
Checkpoint/restart file 112
CKPT parameter 112
CKPT.DAYS parameter 112
CKPT.MODE parameter 112
CKPTDSN parameter 112
CLASS parameter 64, 85
CLEANUP subtask state 106
CLOSE transport state 107
CLSDST transport state 107
CNOS transport state 108
command
example 3
syntax 3
comments 3
concatenation 3
continuation marks 3
Copy File Menu 78
Copyfile - Receiving File screen 81
CP option 16, 89
Creating a Process with statement
models 76
D
DACTSESS transport state 107
DDNAMES 10
DEBUG parameter 64
CHANGE PROCESS 85
DEFINE transport state 108
DELETE PROCESS command
batch 92
description 90
examples 91
parameters 90
Delete session 48
Deleting a nonexecuting Process 100
delimiters 3
DELLOC transport state 108
DEST parameter
CHANGE PROCESS 85
Detail statistics 131
DF IUI option 76
DF option 16, 72
DGADBATC
EXEC parameters 11
processing rules 9
DGADBATC program 9
DGADCHLA
DGADBATC return codes 12
parameters 26
sample program 34
DGADCHLA program 25
DGADGSUB
passing variables 149
DGADSIOX
exit limitations 156
security considerations 156
DGADTIFY 141
DGADTSUB 147, 150
DGADTSUB (continued)
return codes 150
DGADWAIT 145
DISPATCH task state 106
DISPLAY parameter 7
Display statistics 132
DISPLAY transport state 108
DMMSGFIL ddname 10
DMNETMAP ddname 10
DMPRINT ddname 10
DMPUBLIB ddname 10
DP option 16
DSN parameter 63
E
Elapsed time determinination 118
End command 49
Errors 110
EXEC parameters 11
EXEC status value 105
Execution queue
commands 108
status 99
subtask state values 106
task state values 106
transport state values 107
Execution Queue 105
EXTAREA parameter 28
EXTMSG parameter 28
EXTRC parameter 28
EXTSTRLN parameter 28
F
FILE I/O task state 106
FILE parameter 7
SELECT PROCESS 96
SELECT STATISTICS 125
FLUSH PROCESS command
batch 92
description 90
examples 91
parameters 90
FORCE FLUSH parameter 90
FP option 16
G
GENCB ACB transport state 107
GENCB EXTLST transport state 107
GENCB NIB transport state 107
GENCB RPL transport state 107
Generating a COPY Process
using the IUI 77
GET BUF subtask state 107
173
native format 2
NDMCMDS ddname 10
NETEX I/O task state 106
NETMAP.REFRESH parameter 85
network map
in DGADBATC 10
Network Map
Select NETMAP or TCP Information
screen 135
NEWNAME parameter 65
NM option 16
NO REQUEST transport state 107
NO SESSION transport state 107
NODE parameter 84
Non-master session 50
NOTIFY parameter 65
I
INACTIVE task state 106
INIT V2 subtask state 106
INITIAL COMMAND field 39
Initialization parameters 112
INQUIRE transport state 107
Intelligent session retry 55
INVALKEY parameter 28
IOCTL V2 subtask state 107
IUI SUBMIT options
overview 71
K
keyword parameters
O
OPEN task state 106
OPEN transport state 107
Operator Table
commands 20
deleting a Process from 93
suspending a Process from 93
Operator Table screen 98
Operator Table/Executing Queue
screen 99
OPNDST transport state 107
OPNSEC transport state 107
output destination 7
output format 7
Q
Queues 53
Queuing parameters
quotation marks 3
106
M
Master session 50
MAXDELAY parameter 12, 65
Message Display screen 23
Message Maintenance screen 22
Message Summary screen 24
Messages
ISPF/PDF 20
printing 22
Sterling Connect
Direct 21
viewing by Message ID 22
MISC task state 106
Monitoring executing Processes 100
MOUNT task state 106
MS option 17, 47
MSG option 16
Multiple session SIGNON command
IUI 47
usage 47
Multiple Session Signon screen 47
174
P
P=SNODE task state 106
PACCT parameter 66
parentheses 3
PLEXCLASS parameter 66, 86
PNAME parameter
CHANGE PROCESS 84
PNODE parameter 66
PNODEID parameter 66
PNUMBER parameter
CHANGE PROCESS 84
positional parameters 2
PR.CNTL status value 106
PRERECV transport state 108
Primary Options Menu 15
DF 75
DP 93
End 49
FP 93
MSG 22
NM 135, 138
PS 93
SD 39
SIGNOFF 49
SS 128
SUS 93
SW 48
WHO 39
X 49
PRINT parameter 7
SELECT NETMAP command
103
L
label 2
LOCK task state
Logical queues
TCQ 103
137
S
SACCT parameter 67
SB option 16, 71
Screens
Change Process 89
Copy File Menu 78
Copyfile - Receiving File 81
Message Display 23
Message Maintenance 22
Message Summary 24
Multiple Session Signon 47
Operator Table 98
Operator Table/Executing Queue 99
Primary Options Menu 15
Select Process 100
Selected Process 100
Signon 38
Statistics Detail - Copy 131
Statistics Display 132
Statistics Summary 131
Submit Process 72
User Authorization 18
SD option 16, 39
Search criteria and Processes 101
Security at signon 37
SELECT MESSAGE command 133
SELECT NETMAP command
IUI 135
parameters 137
SELECT PROCESS command
accessing Operator Table 98
description 94
example 96
format 94
IUI 97
SELECT STATISTICS command
batch 125
examples 125
format 119
overview 119
parameters 119
sample output 127
Selected Process screen 100
selection criteria 7
SEND CONFRMD transport state 108
SEND ERROR transport state 108
SEND RSP subtask state 106
SEND SIG subtask state 106
SEND transport state 107
SEND V2 subtask state 106
SESSION EST transport state 107
Session establishment retry 110
SESSIONC transport state 107
SETLOGON transport state 107
Sign off session 48
SIGNOFF command
IUI 49
SIGNON
different nodes 50
multiple session, batch 47
SIMLOGON transport state 107
SND RESPONSE transport state 107
SNODE parameter 68
SNODEID parameter 68
SP option 16, 97
special characters 3
SPF option 17
SS option 16
SS status value 106
STARTT parameter
CHANGE PROCESS command 87
description 54
in Process queue 104
SUBMIT command 69, 70
Statement models 76
Statistics Detail - Copy screen 131
Statistics Display screen 132
Statistics records content 117
Statistics Summary screen 131
Status value 104
STEPLIB ddname 10
Sterling Connect
Direct FTP+ for z/OS
component 156
Direct/Plex
messages 22
Sterling Connect:Direct commands 1
listing 1
writing 2
Sterling Connect:Direct exits
DGADTSUB 150
Sterling Connect:Direct/Plex
Process management 60
STOUTL utility 118
SUBMIT command
description 62
parameters 63
Submit Process screen 72
SUBMITTER parameter 84
Submitting a Process
using the DF IUI option 76
using the IUI 71, 74
SUBTASK task state 106
Summary statistics 131
SUSPEND PROCESS command
batch 92
description 89
examples 91
parameters 90
Suspending executing Processes 100
SVC99 Allocate state 108
SW option 17
SWAP Node
using through the Batch Interface 49
SWAP NODE command 48
SWAP NODE through the IUI 48
Swap session 48
Symbolic resolution utility 147, 150
symbolic substitution 3
Symbolic substitution
example 70
Symbolic variables 150
synchronizing Processes 12
SYSIN ddname 10
SYSPRINT ddname 10
U
UICB fields 29
User Authorization screen 18
User notification programs 141
Utility programs
CDFTP 156
DGADTIFY 141
DGADTSUB 147, 150
V
validating Process syntax from IUI
submit and validate 72
without submitting the Process 72
Validating Processes
options 72
VSAM
I/O task state 106
VTAM
automatic session retry 111
I/O task state 106
I/O transport state 107
W
WAIT FOR +DR transport state 107
Wait queue
commands 105
WC status value 105, 109
WC value 110
WHERE parameter 7, 120, 133
CHANGE PROCESS 84
DELETE PROCESS 91
FLUSH PROCESS 91
SELECT NETMAP command 137
SELECT TCPXLAT command 139
SUSPEND PROCESS 91
WHO option 17
WT status value 105
WX status value 105
X
X command
49
T
t_ZOS_Issue_SUSPEND_FLUSH_DEL_IUI
TABLE parameter 7
SELECT PROCESS 96
SELECT STATISTICS 125
Task state values 104
TCA SCAN task state 106
92
Index
175
176
Printed in USA