PeopleSoft®
Administrator Guide
Version 2.0.02
Response Online
You can obtain technical support from BMC Software 24 hours a day, seven days a week by accessing the
technical support Web site at http://www.bmc.com/support.html. From this site, you can
• read overviews about support services and programs that BMC Software offers
• find the most current information about BMC Software products
• search a database for problems similar to yours and possible solutions
• order or download product documentation
• report a problem or ask a question
• subscribe to receive e-mail notices when new product versions are released
• find worldwide BMC Software support center locations and contact information, including e-mail addresses,
fax numbers, and telephone numbers
Response On Demand
In the USA and Canada, if you need technical support and do not have access to the Web, call 800 537 1813.
Outside the USA and Canada, please contact your local support center or your local sales office for assistance.
iii
BMC Software, Inc., Confidential and Proprietary Information
Contents
Chapter 1 Overview
PeopleSoft 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
CONTROL-M/Option for PeopleSoft . . . . . . . . . . . . . . . . . . . . . . . . 1-3
CONTROL-M Business Integrated Scheduling . . . . . . . . . . . . . . . . 1-3
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Supported Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Supported Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
PeopleSoft Processes and Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Defining Jobs Using Enterprise Controlstation . . . . . . . . . . . . . . . . . 1-7
Contents v
cpt Utility – Password Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22
Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-22
Alternative Encryption Method . . . . . . . . . . . . . . . . . . . . . . . . . .2-23
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-23
Uninstalling CONTROL-M Option for PeopleSoft . . . . . . . . . . . . . .2-25
Figures
Figures vii
BMC Software, Inc., Confidential and Proprietary Information
Tables
Tables ix
BMC Software, Inc., Confidential and Proprietary Information
Chapter 1 Overview
Describes key features and concepts of CONTROL-M Option
for PeopleSoft
Chapter 2 Installation and Configuration
Describes software requirements, Java Runtime Environment,
PROCESSREQUESTBMC Component Interface, PeopleSoft
APIs, Test environment, uninstalling the product, and the
Environment file.
Chapter 3 Running PeopleSoft Jobs/Processes
Describes the runjob utility. Operating instructions and
examples are included.
Chapter 4 Verifying Process Execution
Describes the operation of the PeopleSoft Monitor and
PeopleSoft Process Scheduler.
Appendix A Java Utilities
Describes the javac and jar utilities.
Index
Overview 1
PeopleSoft 8
PeopleSoft 8 provides a server-based architecture that is designed for
eBusiness solutions in an Internet environment. PeopleSoft 8 has four
major components:
• web server
• application server
• database server
• process scheduler server
Overview 1-1
In practice, PeopleSoft jobs and processes often require scheduling
capabilities that go beyond those of the PeopleTools Process Scheduler.
Requirements such as complex dependencies or comprehensive
scheduling criteria cause PeopleTools users to use a more sophisticated
scheduling solution such as CONTROL-M Option for PeopleSoft.
Note
A PeopleSoft “process” is a single task, program, or routine (such as an
SQR report) that can run in a Server or Client environment. A PeopleSoft
“job” consists of one or more processes that are submitted as a unit and
can run only in the Server environment. In PeopleSoft 8, processes and
jobs run on the Server.
The PeopleTools Concurrent Process Scheduler can only run and monitor
jobs and processes in the PeopleTools environment. Jobs that run on
other platforms cannot be controlled by the PeopleTools Concurrent
Request Manager.
Overview 1-3
• CONTROL-M version 2.1x
CONTROL-M schedules, submits, and tracks jobs which execute on
the platform on which CONTROL-M is installed.
Note
When using CONTROL-M Server/Agent technology, you must install
CONTROL-M/Agent on the same platform as CONTROL-M Option for
PeopleSoft.
Supported Databases
CONTROL-M Option for PeopleSoft is supported on all Relational
Database Management Systems (RDBMS) that are supported by
PeopleSoft 8.x. For more information about supported RDBMSs, visit
the PeopleSoft web site http://www.peoplesoft.com or (requires login)
http://www4.peoplesoft.com/psdb.nsf/ccabout?ReadForm
Supported Features
The following capabilities are provided by CONTROL-M Option for
PeopleSoft:
Overview 1-5
Note
The following capabilities are not provided in this version of
CONTROL-M Option for PeopleSoft:
Job extraction
JCL viewing and editing
Shout (notification) capability
All PeopleSoft process types are supported. For data about process types,
see “Process Types” in the PeopleTools 8.x documentation.
Processes
Overview 1-7
CONTROL-M Option for PeopleSoft enables you to schedule jobs from
Enterprise Controlstation by running the runjob utility with -jobname,
-prcstype, and -runcntlid qualifiers. This utility uses PeopleSoft APIs to
submit the CONTROL-M job to the PeopleSoft Application Server. The
utility creates a new PeopleSoft process instance. For information about
how to do this in a Windows or Unix environment, see “Example 1 –
Run an existing Process under Microsoft Windows” on page 3-3.
Software Requirements
CONTROL-M Option for PeopleSoft requires the following:
Note
This product has been tested with CONTROL-M/Agent version 2.2.4 and
CONTROL-M/Agent version 6.0.03.
Note
If you are not using PeopleSoft version 8.12.01 or 8.13, use the original
psjoa.jar provided by PeopleSoft in the <PeopleTools>/web/PSJOA
directory (instead of the files provided with CONTROL-M Option for
PeopleSoft).
Note
Ensure that your PeopleTools and database versions are compatible
before installing CONTROL-M Option for PeopleSoft. Incompatibilities
can cause CONTROL-M Option for PeopleSoft to not run properly. For
information about the compatibility of PeopleTools and database
versions, see the PeopleSoft website http://www.peoplesoft.com
-or-
These steps will export the Java source code to two directories:
C:\psft8\PepleSoft\Generated\PeopleSoft
C:\psft8\PeopleSoft\Generated\CompIntfc
4. Click OK.
Note
If an error occurs while performing these steps, the most probable cause
is that the PeopleTools Client and Application Server versions are not
compatible. For more information, see the PeopleSoft web site at
http://www.peoplesoft.com/. If necessary, contact your PeopleSoft
administrator to obtain a patch or new version.
PeopleSoft APIs
To export and build PeopleSoft APIs:
For more data about the javac utility, see “javac” on page A-1.
C:\psft8\PeopleSoft\Generated\CompIntfc>ren
PvReqApprCommCollection.java
PvReqApprCommCollection.jav
Note
The Java System Development Kit (Java SDK or JDK) includes JRE plus
the javac and jar utilities. Although JRE is sufficient for normal operation
of this product, JDK is required for upgrading and rebuilding APIs.
Test Environment
To build a test environment and use it to test the system components.
1. Use the following commands to remove or move all java source code
files from the PeopleSoft\Generated path:
C:\psft8>del PeopleSoft\Generated\PeopleSoft\*.java
C:\psft8>del PeopleSoft\Generated\CompIntfc\*.jav?
2. Use the jar utility to bundle the compiled java bitcode files located in
PeopleSoft\Generated\* in a generated.jar Java archive without a
manifest:
For more information about the jar utility, see “jar” on page A-2.
Note
Ensure that generated.jar and psjoa.jar are based on the same version
and release of PeopleSoft 8.x.
PeopleSoft/Generated/PeopleSoft/
PeopleSoft/Generated/CompIntfc/
8. Extract the ctmpsft.jar java files with the manifest file META-
INF/MANIFEST.MF into directory ctmpsft/ by executing the
following command.
PRCSTYPE=Application Engine
HOSTNAME=opisaix3
DBGLVL=1
USER=PS
PASSWORD=PS
PORT=9000
MONITOR_SLEEP_INTERVAL=1
MONITOR_USE_MAX_RETRY=NO
MONITOR_MAX_RETRY=48
MONITOR_WRITE_STATUS=NO
OUTDEST=c:\\temp
OUTDESTFORMAT=Default
OUTDESTTYPE=Default
RUNLOCATION=PSUNX
PROCLOG=e:\\temp\\
Note
Parameter values in the Environment file can be modified with a text
editor. However, we strongly recommend using the config utility for this
purpose. For information about the config utility, see “config Utility –
Environment File Configuration” on page 2-15.
Parameter Description
PRCSTYPE Process type (for example, SQR Report).
HOSTNAME Name of the host machine on which the Application
Server is running.
PORT Application Server JSL port number.
USER PeopleSoft Operator ID
PASSWORD Encrypted PeopleSoft operator ID password (128
characters).
RUNLOCATION Name of the Process Scheduler Server. See
“RUNLOCATION” on page 2-13.
OUTDEST Process output location.
OUTDESTFORMAT Process output format. See “OUTDESTFORMAT” on
page 2-13.
OUTDESTTYPE Process output type. See “OUTDESTTYPE” on page
2-14
PROCLOG PROCLOG directory path. If parameter DBGLVL
(below) is not set to 0, PROCLOG should be
specified. If PROCLOG is not specified in the
Environment file or the command line, DBGLVL is
reset to 0. Note: The specified value must end with a
directory separator.
DBGLVL Debug level. Valid values: 0 – 4. Set to 0 for
production mode (debug messages are not
generated). For more information about debug levels,
see the CONTROL-M/Server Administrator Guide.
MONITOR_SLEEP_ Sleep interval (in minutes) for job monitoring.
INTERVAL
MONITOR_USE_ Y/N (Yes/No) flag that indicates whether to use the
MAX_RETRY MONITOR_MAX_RETRY parameter.
MONITOR_MAX_ Maximum hours to monitor a job before returning a
RETRY NOTOK status.
MONITOR_WRITE_ Y/N (Yes/No) flag that indicates whether to write the
STATUS status of the monitored job to the standard output file.
RUNLOCATION
OUTDESTFORMAT
Supported Values
(Xlatshortname) Description (Xlatlongname)
(None) (None)
Any Any
CSV Comma delimited (*.csv)
Default Default
DOC Microsoft Word (*.doc)
HP HP Format (*.lis)
Supported Values
(Xlatshortname) Description (Xlatlongname)
HTM HTML Documents (*.htm)
LP Line Printer Format (*.lis)
OTHER Other (*.lis)
PDF Acrobat (*.pdf)
PS Postscript (*.lis)
RPT Crystal Report (*.rpt)
RTF Rich Text File (*.rtf)
SPF SQR Portable Format (*.spf)
TXT Text Files (*.txt)
WKS Lotus 1-2-3 Files (*.wks)
XLS Microsoft Excel Files (*.xls)
OUTDESTTYPE
Supported Values
(Xlatshortname) Xlatlongname
Any Any
DEFAULT Default
EMAIL Email
FILE File
NONE (None)
PRINTER Printer
WEB Web
WINDOW Window
Usage
Modes
-ENVFILE Parameter
If the -ENVFILE parameter is specified, the utility looks for the specified
file. If the -ENVFILE parameter is not specified, the utility looks in the
current directory for the default ctmpsft.env file. If the file is found, the
specified parameter is added (if not already in the file) or updated and the
Environment file is automatically saved.
Name/Value Pairs
The config utility uses a hash table to determine the sequential order of
parameter/value lines. Therefore, the sequential order of the lines is not
fixed. However, name/value pairs are kept intact.
Comments
Silent Mode
The config utility is invoked in silent mode by including on the
command line:
If the -NAME and -VALUE parameters are not specified, the utility is
invoked in interactive mode.
Examples
The first example adds the RUNLOCATION parameter and value. The
second example updates the value of the RUNLOCATION parameter.
Example 1
Example 2
Interactive Mode
Syntax
Interactive Mode
Validating default env file ’ctmpsft.env’... OK ’J:\be_psft\ctmpsft.env’
------------------------------------------------
CONTROL-M Option for PeopleSoft config utility - (15 keys found)
------------------------------------------------
DBGLVL = 4
MONITOR_MAX_RETRY = 8
MONITOR_WRITE_STATUS = N
PROCLoG = c:\temp\
HOSTNAME = opisaix3
OUTDESTFORMAT = Default
OUTDEST = c:\temp
USER = PS
RUNLoCaTiOn = PSNT
PORT = 9000
OUTDESTTYPE = Default
PASSWORD =
565b3b3e312631343429492b2e2339273f2a3932314e3d37383421272d2f2b2a433b2f3f22383
c2029332d5522343224203b36302820533a33243d3b3630282f
MONITOR_SLEEP_INTERVAL = 3
PRCSTYPE = Application Engine
MONITOR_USE_MAX_RETRY = N
Enter Key Name to edit,
1 to Add a Key,
2 to Delete a Key,
3 to Save file,
4 to Save file & Quit,
5 to Quit
Enter:
Examples
DBGLVL [4] =
To Add a Key
To add a new parameter and value, type 1 after the Enter: prompt. When
you press <Enter>, the Add a Key: prompt is displayed. Following the
Add a Key: prompt, type the name of the parameter you want to add.
For example:
When you enter the name of a new parameter, you are prompted for its
value. If the new parameter is MYKEY, this prompt is displayed:
MYKEY =
MYKEY = myvalue
To Delete a Key
To delete a parameter, type 2 after the Enter: prompt. The Delete a Key:
prompt is displayed. Type the complete name (case insensitive) of the
parameter you want to delete. For example:
BMC Software, Inc., Confidential and Proprietary Information
To Save file
To save the configuration file, type 3 after the Enter: prompt. When you
press <Enter>, the current version of the Environment file is saved. A
message similar to this one is displayed:
To save the configuration file and exit the config utility, type 4 after the
Enter: prompt. When you press <Enter>, the current version of the
Environment file is saved and control returns to the command line
prompt. A message similar to this one is displayed:
To Quit
To exit the config utility without saving the Configuration file, type 5
after the Enter: prompt. When you press <Enter>, control returns to the
command line prompt without saving changes after the last Save that was
performed. A message similar to this one is displayed:
Quit
J:\be_psft>
Usage
When using the cpt utility for verification, both the -USER <user>
and -PASSWORD <password> parameters are required. Also, both
parameters are required to update the -ENVFILE <env file>.
Note
For previous users of CONTROL-M Option for PeopleSoft version 1.2:
This encryption mechanism differs from the encryption mechanism of
CONTROL-M Option for PeopleSoft 1.2. A separate <user>_passwd.dat
file containing the <encrypted_password> is not created. Instead, two
entries are made in the CONTROL-M Option for PeopleSoft
Environment file, as shown in “Example 3: User, Password, and
Environment file parameters” on page 2-24:
USER=<user>
PASSWORD=<encrypted_password>
Format
java -cp ctmpsft.jar ctmpsft/cpt -PASSWORD <password>
[-USER <user> [-ENVFILE <ctmpsft.env file name>]]
BMC Software, Inc., Confidential and Proprietary Information
Using a password encrypted by this cpt utility may not work (decrypt)
properly in CONTROL-M/Agent configuration files. However,
passwords encrypted by the CONTROL-M/Agent ctmcpt utility are
decrypted properly by this cpt utility.
Examples
Example 1: Password parameter only
If the cpt utility is invoked with a password but without a user parameter:
Example 2: No Parameters
If the cpt utility is invoked with neither a password nor a user parameter:
If the cpt utility is invoked with user, password, and Environment file
parameters, but the specified Environment file does not exist:
my.env
------
#Wed Sep 05 23:53:40 PDT 2001
USER=ps
PASSWORD=767b3b3e312631343429492b2e2339273f2a3932314e3d37383421272d2f2b2a433b
2f3f22383c2029332d5522343224203b36302820533a33243d3b3630282f
The runjob utility submits and tracks PeopleSoft jobs and processes. This
utility uses the following input:
You can execute this utility with the following command line parameters:
Parameter Description
JOBNAME PeopleSoft job or process name. Mandatory (if not
specified in the Environment fiile). PeopleSoft process
names are specified “as is”. PeopleSoft job names are
given a + sign prefix.
PRCSTYPE Existing global PeopleSoft process type under which
related process definitions are grouped. Mandatory (if not
specified in the Environment file.) PRCSTYPE lets you
maintain process definitions that share common
parameters (for example, SQR Report). You can display
valid PRCSTYPE values by executing the query:
SQL> select distinct PRCSTYPE from
PS_PRCSTYPEDEFN;
Note: Because PeopleSoft jobs do not use PRCSTYPE,
you can specify "" or the default Environment file. The
runjob converts the PeopleSoft job PRCSTYPE to ""
regardless of the value specified.
RUNCNTLID Run control ID. A unique ID which associates each
operator with that operator’s run control table entries.
Mandatory (if not specified in the Environment file.)
HOSTNAME Name of platform on which the Application Server runs.
Mandatory (if not specified in the Environment file.)
PORT Application Server JSL port number. Mandatory (if not
specified in the Environment file.)
USER PeopleSoft operator ID. Mandatory (if not specified in the
Environment file.)
PASSWORD PeopleSoft operator ID password. Mandatory (if not
specified in the Environment file.)
RUNLOCATION Name of the platform on which the Process Scheduler
Server is running. Optional. You can display the
RUNLOCATION values of all up-and-running Process
Scheduler Servers by executing the query:
SQL> select SERVERNAME from
PSSERVERSTAT;
For more data, see “RUNLOCATION” on page 2-13.
OUTDEST Process output location. Optional.
Parameter Description
OUTDESTFORMAT Process output format. Optional. You can display all
OUTDESTFORMAT values by executing the query:
SQL> select XLATSHORTNAME from XLATTABLE
where FIELDNAME=’outdestformat’;
See “OUTDESTFORMAT” on page 2-13
OUTDESTTYPE Process output type. Optional. You can display all valid
OUTDESTTYPE values by executing the query:
SQL> select XLATSHORTNAME from
XLATTABLE where
FIELDNAME=’OUTDESTTYPE’;
For more data, see “OUTDESTTYPE” on page 2-14
PROCLOG PROCLOG directory path. If Environment parameter
DBGLVL is not set to 0, PROCLOG should be specified.
If PROCLOG is not specified, DBGLVL is reset to 0.
Note: The specified value must end with a directory
separator.
ENVFILE Full path and name for the Environment file. Mandatory.
Format: <path/filename>.env
Note
Both of the following commands produce the same result:
C:\CTMAG\EXE>java -jar ctmpsft.jar
C:\CTMAG\EXE>java -cp ctmpsft.jar ctmpsft/runjob
ag224@chef:/home/ag224/ctm/exe_Solaris>
ctmcreate -tasktype command -jobname aeminitest
-nodegrp chef -owner ag224 -cmdline ’java
-jar /home/ag224/ctm/exe_Solaris/ctmpsft.jar
-jobname AEMINITEST
-prcstype "Application Engine"
-runcntlid 1
-envfile /home/ag224/ctm/exe_Solaris/ctmpsft.env’
Note
If double quotes are required anywhere in the CONTROL-M Option for
PeopleSoft command line (as in -prcstype "Application Engine" in
“Example 3 – Using quotation marks on a Unix command line” above),
the entire -cmdline value for the ctmcreate utility should be enclosed in
single quotes.
Note
You can disregard the warning java.lang.NullPointerException:
PSProperties not loaded from file because it is not relevant to the
PeopleSoft process submission.
Examples
Processes
Request
Code Status Description
1 CANCEL Process canceled by user.
Each run of a CONTROL-M Option for PeopleSoft utility ends with one
of the completion codes described in Table 3-3.
Java Utilities A
javac
This utility compiles java source code files. It is invoked with the format:
javac <options> <source files>
<options> are listed in Table A-1. <source file> is the file to compile.
Specify only one of the c/t/x/u options. You can specify any of the
remaining options. These options are described in Table A-2. For more
information, see http://developer.java.sun.com/developer/online
Training/Programming/BasicJava2/jar.html
option description
-c Create a new archive.
Using manifest file: mymanifest, archive all the files in the foo/
directory into classes.jar:
Index
A component interface
PROCESSREQUESTBMC 2-1, 2-3,
Agent technology, overview 1-4 2-6
ANALYZE ERROR request status 3-7 Component Interface Tester window 2-7
API config utility
building 2-8 adding parameters 2-20
generated.jar 2-1 comment character 2-16
PeopleSoft-generated 2-1 deleting parameters 2-20
API Aware processes 3-5 description 2-15
Application Designer screen 2-6 examples 2-17, 2-19
Application Program Interface See API interactive mode 2-18
saving 2-21
silent mode 2-16
C special characters 2-16
syntax 2-17, 2-18
CANCELLED request status 3-7 Configuration file 2-21
codes See completion codes configuring, Environment file 2-15
comment character, config utility 2-16 CONTROL-M Interface Environment file
compatibility 2-11
PeopleTools and database versions 2-2 CONTROL-M Option for PeopleSoft
PeopleTools Client and Application limitations 1-6
Server 2-5, 2-8 cpt utility
completion codes examples 2-23
jobs 3-6 password encryption 2-22
utilities 3-7 ctmcpt utility, password encryption 2-23
Component Interface ctmpsft.env file
security 2-6 SERVERNAME parameter 4-3
selecting 2-3
BMC Software, Inc., Confidential and Proprietary Information
Index 5
D H
Database server HOSTNAME parameter
software requirements 2-2 Environment file 2-12
DBGLVL parameter runjob utility 3-2
Environment file 2-12 HP Unix 10.20 environment
default values running a PeopleSoft process 3-4
Environment file 2-11
defining jobs
Enterprise Controlstation 1-7 I
importing
E PROCESSREQUESTBMC Component
Interface 2-3
editing JCL installation
not available 1-6 Java Runtime Environment 2-2
encryption interactive mode
cpt utility 2-22 config utility 2-18
Enterprise Controlstation
defining jobs 1-7
overview 1-4 J
ENVFILE parameter
config utility 2-15 Java Runtime Environment
runjob utility 3-3 installation 2-2
Environment file website 1-5
configuration 2-15 java source code, removal 2-9
default 2-11 JCL editing, not available 1-6
description 2-11 JCL viewing, not available 1-6
parameters 2-12 job scheduling, runjob utility 1-8
updating 2-18 JOBNAME parameter
ERROR request status 3-7 runjob utility 1-8, 3-2
execution status JRE See Java Runtime Environment
API aware 3-5 JRE software requirements 2-1
G L
generated.jar file limitations
PeopleSoft-generated APIs 2-1 CONTROL-M Option for PeopleSoft
1-6
Index 7
R T
RDBMS website 1-5 test environment, building 2-9
removing java source code 2-9
request status, completion codes 3-6
restrictions U
CONTROL-M Option for PeopleSoft
1-6 UNKNOWN ERROR request status 3-7
return codes See completion codes UNSUCCESSFUL request status 3-7
RUNCNTLID parameter USER parameter
runjob utility 1-8, 3-2 Environment file 2-12
runjob utility runjob utility 3-2
completion codes 3-7 utilities
examples 3-3 See also individual utilities by name
job scheduling 1-8 completion codes 3-7
parameters 3-2
RUNLOCATION parameter
config utiltiy 2-17 V
Environment file 2-12
runjob utility 3-2 viewing JCL, not available 1-6
S
security
Component Interface 2-6
PROCESSREQUESTBMC Component
Interface 2-6
Server Definitions, PeopleSoft 4-4
Server List tab
PeopleSoft Process Scheduler 4-3
SERVERNAME
ctmpsft.env file 4-3
PS_SERVERDEFN table 4-3
Shout capability, not available 1-6
silent mode, config utility 2-16
software requirements 2-1
special characters, config utility 2-16
SUCCESSFUL request status 3-7
syntax, runjob utility 3-1