This document guides you through the new installation of a PeopleSoft agent.
1. | Installing the AE Interface |
---|
The complete installation process of the AE interface is described in a separate document.
AE's interface is required in order to use bind variables.
2. | Adjusting values in the field OUTDESTTYPE (PeopleSoft) |
---|
Value | Active | Eff Dt | Long Name | Short Name |
---|---|---|---|---|
0 | 01.01.1899 | Any | Any | |
1 | 01.01.1899 | (None) | NONE | |
2 | 01.01.1899 | File | FILE | |
3 | 01.01.1899 | Printer | PRINTER | |
4 | 01.01.1899 | Window | WINDOW | |
5 | 01.01.1899 | |||
6 | 01.01.1899 | Web | WEB | |
7 | 01.01.1899 | Default | DEFAULT |
3. | Transferring the Agent's tar file to the host and unpacking it |
---|
4. | Adjusting the Agent's configurationA set of constituent components that make up a system. This includes information on how the components are connected including the settings applied. file |
---|
The psjoa.jar file's content was changed as of People Soft version 8.54. Some Java classes are missing from it. They may be found in the People Soft 8.54 Internet Architecture installation in the following directory:
<PS_HOME>\webserv\peoplesoft\applications\peoplesoft\PORTAL.war\WEB-INF\classes
You have to add the psjoa.jar and the missing classes to the CLASSPATH of the following components:
- People Soft Agent (to enable job execution)
- UserInterface (to order to be able to use FORMS, when defining People Soft Jobs).
5. | Creating the start script |
---|
set +vx
UC4_ROOT=$HOME
UC4_BIN=$UC4_ROOT/bin
UC4_TEMP=$UC4_ROOT/temp
#
JAVA_DIR=/opt/java1.3/jre/lib/PA_RISC2.0
UC4_LIB=$UC4_ROOT/lib
export SHLIB_PATH=$JAVA_DIR/classic:$JAVA_DIR:$UC4_LIB
echo "SHLIB_PATH ----> '$SHLIB_PATH'"
#
#PS_HOME=<Home directory of PeopleSoft>
export PS_SERVDIR=$PS_HOME/appserv/HR800/prcs/PSHR800
echo "PS_SERVDIR ----> '$PS_SERVDIR'"
#
nohup $UC4_BIN/UCXJPSX > $UC4_TEMP/UCXJPSX.log 2>&1 &
6. |
Using ERP Forms (optional) |
---|
Example:
[ENVIRONMENT]
classpath=.;.\psjoa.jar;.\ucdj.jar
7. |
Shortening the interval for checking tasks in PeopleSoft |
---|
Automic recommends reducing the frequency with which jobs are checked. This requires creation and installation of a separate variable for the host characteristics of the installed agent.
8. |
Editing ERP Login |
---|
For the agent's start-up phase, you need a login for the PeopleSoft application (Operator ID, passwordA secret combination of characters for a Automation Engine user.). This information is stored in client 0000, Login object ERP_LOGIN.
9. |
Defining operator IDs in AE |
---|
Operator IDs are required in order to execute tasks in PeopleSoft. AE must know the passwords for these user IDs. Enter the operator ID and password in the Login object of the client that is used to execute the tasks.
10. |
Testing the PeopleSoft connection |
---|
11. |
Functional test |
---|
12. |
Entering the Agent's start script for system start |
---|
13. |
Configuration for using bind variables (optional) |
---|
ORACLE:
The following SQL script is required if you use PeopleSoft version 8.50 or 8.51:
INSERT INTO PS_PRCSTYPEDEFN
SELECT 'UC4_'||PRCSTYPE,
OPSYS,
DBTYPE,
VERSION,
PARMLIST,
CMDLINE,
WORKINGDIR,
OUTPUTDEST,
GENPRCSTYPE,
WINPARM,
MVSSHELLID,
AS4JOBDESCNAME,
AS4JOBDESCLIB,
'UC4_'||PRCSTYPEDESCR,
RESTARTENABLED,
SYSDATE,
'UC4'
FROM PS_PRCSTYPEDEFN;
0
COMMIT;
The following SQL script is required if you use PeopleSoft version 8.2x or 8.4x:
INSERT INTO PS_PRCSTYPEDEFN
SELECT 'UC4_'||PRCSTYPE,
OPSYS,
DBTYPE,
VERSION,
PARMLIST,
CMDLINE,
WORKINGDIR,
OUTPUTDEST,
GENPRCSTYPE,
WINPARM,
MVSSHELLID,
AS4JOBDESCNAME,
AS4JOBDESCLIB,
'UC4_'||PRCSTYPEDESCR,
RESTARTENABLED,
SYSDATE,
'UC4'
FROM PS_PRCSTYPEDEFN;
COMMIT;
Assign execution rights to the new process types:
INSERT INTO PS_SERVERCLASS
SELECT ORIG.SERVERNAME,
ORIG.OPSYS,
'UC4_'||ORIG.PRCSTYPE,
ORIG.PRCSPRIORITY,
ORIG.MAXCONCURRENT
FROM PS_SERVERCLASS ORIG
WHERE 0 =
(SELECT COUNT(*) FROM PS_SERVERCLASS SC
WHERE SC.SERVERNAME=ORIG.SERVERNAME
AND SC.OPSYS=ORIG.OPSYS
AND SC.PRCSTYPE='UC4_'||ORIG.PRCSTYPE )
AND 0 <
(SELECT COUNT(*) FROM PS_PRCSTYPEDEFN PT
WHERE PT.PRCSTYPE='UC4_'||ORIG.PRCSTYPE
AND PT.OPSYS=ORIG.OPSYS );
COMMIT;
MS SQL Server:
The following SQL script is required if you use PeopleSoft version 8.50 or 8.51:
INSERT INTO PS_PRCSTYPEDEFN
SELECT 'UC4_' + PRCSTYPE,
OPSYS,
DBTYPE,
VERSION,
PARMLIST,
CMDLINE,
WORKINGDIR,
OUTPUTDEST,
GENPRCSTYPE,
WINPARM,
MVSSHELLID,
AS4JOBDESCNAME,
AS4JOBDESCLIB,
LEFT('UC4_' + PRCSTYPEDESCR,30),
RESTARTENABLED,
GETDATE(),
'UC4',
0
FROM PS_PRCSTYPEDEFN;
The following SQL script is required if you use PeopleSoft version 8.2x or 8.4x:
INSERT INTO PS_PRCSTYPEDEFN
SELECT 'UC4_' + PRCSTYPE,
OPSYS,
DBTYPE,
VERSION,
PARMLIST,
CMDLINE,
WORKINGDIR,
OUTPUTDEST,
GENPRCSTYPE,
WINPARM,
MVSSHELLID,
AS4JOBDESCNAME,
AS4JOBDESCLIB,
LEFT('UC4_' + PRCSTYPEDESCR,30),
RESTARTENABLED,
GETDATE(),
'UC4'
FROM PS_PRCSTYPEDEFN;
Assign execution rights to the new process types:
INSERT INTO PS_SERVERCLASS
SELECT ORIG.SERVERNAME,
ORIG.OPSYS,'UC4_' + ORIG.PRCSTYPE, ORIG.PRCSPRIORITY, ORIG.MAXCONCURRENT
FROM PS_SERVERCLASS ORIG WHERE 0 =
(SELECT COUNT(*) FROM PS_SERVERCLASS SC
WHERE SC.SERVERNAME=ORIG.SERVERNAME
AND SC.OPSYS=ORIG.OPSYS
AND SC.PRCSTYPE='UC4_' + ORIG.PRCSTYPE )
AND 0 <
(SELECT COUNT(*) FROM PS_PRCSTYPEDEFN PT
WHERE PT.PRCSTYPE='UC4_' + ORIG.PRCSTYPE
AND PT.OPSYS=ORIG.OPSYS );
14. |
Configuration for using the RemoteTaskManager (optional) |
---|