TS/MP 2.5 Release Supplement
TACL Routines
The TACL INLINE facility enables you to incorporate PDMCOM commands into a TACL routine to
manage multiple PATHMON environments. The following sample shows a TACL routine that shuts
down two PATHMON processes:
.
.
PDMCOM/inline,cpu 1/
[#loop |do|
#set count [#compute [count] + 1 ]
#OUTPUT OPENING $PM[COUNT]
+ open $PM[count]
+ shutdown2,mode im
#OUTPUT SHUTDOWN $PM[COUNT]
|until| [count] >= 2 ]
.
.
Using DEFINEs
You can use DEFINEs to specify names for the files that PDMCOM uses directly as command files.
For example:
12> ADD DEFINE =CMD-FILE,CLASS MAP,FILE$DATA.PW.CONFIG
13> ADD DEFINE =OUT-FILE,CLASS MAP,FILE$DATA.PW.OUTPUT
14> PDMCOM/IN =CMD-FILE,OUT =OUT-FILE/
In the preceding example, PDMCOM reads commands from the command file specified by
DEFINE =CMD-FILE ($DATA.PW.CONFIG)
and lists them in the file specified by
DEFINE =OUT-FILE($DATA.PW.OUTPUT).
PDMCOM Commands
PDMCOM supports all the PATHCOM commands and the other commands listed below:
• “ALTER-DOMAIN Command” (page 40)
• “CONTROL DOMAIN Command” (page 42)
• “ENV command” (page 43)
• “FC Command” (page 43)
• “HISTORY Command” (page 45)
• “OPEN Command” (page 45)
• “STATUS DOMAIN Command” (page 46)
• “! Command” (page 47)
• “SERVER Commands” (page 48)
NOTE: The RUN PROGRAM prog-name command does not execute from PDMCOM.
ALTER-DOMAIN Command
Use the ALTER-DOMAIN command to achieve an automated online upgrade of the domain-based
Pathway applications.
ALTER-DOMAIN [PATHMON pathmon name,] SERVER server name
,ad-scparam [,ad-scparam
[,ad-scparam [,ad-scparam .... ]]]
40 Introduction to PDMCOM










