CMDTUX_CAT:122 Error configuring PeopleSoft Application Server

I just started working for a new client, and they have a very long domain name, and then the new servers they created for their new HR 9.1 environment were on a subdomain as well.  So the server name (LMID – logical machine ID) exceeds 30 characters in length, which happens to cause Tuxedo to get very angry.  I found the easy way to resolve this issue is by doing the following:

Step: 1
Add a new environment variable called PMID (physical machine id). The value I set to simply the machine name (without the domain).
export PMID=psappmachine1

Step: 2
Verify that there is a psappmachine1 reference in the hosts file so that the IP can resolve
more /etc/hosts

Step: 3
Change the psappsrv.ubx file that is in the $PS_HOME/appserv directory. Change all references to {MACH} to the value of PMID, making sure that the case matches exactly.
vi psappsrv.ubx
:%s/{MACH}/psappmachine1/g

Step: 4
Build a new domain for the application server and there should be no CMDTUX_CAT:122 or 868 errors.

PeopleSoft Project Object Reference

This is a quick handy guide to PeopleSoft Application Designer Project Definition References and their key tables.  In the document PeopleSoft Object Reference you will find a more extensive break down of the common objects and their table references.

Object Type Object Type Definition Meta-Data Record
0 Record PSRECDEFN
1 Index PSKEYDEFN
2 Field PSDBFIELD
3 Field Format PSFMTDEFN
4 Translate Value PSXLATITEM
5 Page PSPNLDEFN
6 Menu PSMENUDEFN
7 Component PSPNLGRPDEFN
8 Record PeopleCode PSPCMPROG
9 Menu PeopleCode PSPCMPROG
10 Query PSQRYDEFN
11 Tree Structure PSTREESTRCT
12 Tree PSTREEDEFN
13 Access Group PS_ACCESS_GRP_TBL
14 Color PSCOLORDEFN
15 Style PSSTYLEDEFN
16 Business Process Map
17 Business Process PSBUSPROCDEFN
18 Activity PSACTIVITYDEFN
19 Role PSROLEDEFN
20 Process Definition PRCSDEFN
21 Process Server Definition PS_SERVERDEFN
22 Process Type Definition PS_PRCSTYPEDEFN
23 Process Job Definition PS_PRCSJOBDEFN
24 Process Recurrence Definition PS_PRCSRECUR
25 Message Catalog PSMSGCATDEFN
26 Dimension PS_DIMENSION
27 Cube Definition
28 Cube Instance Definition
29 Business Interlink PSIODEFN
30 SQL Objects PSSQLDESCR
31 File Layout PSFLDDEFN
32 Component Interface PSBCDEFN
33 Application Engine Program PSAEAPPLDEFN
34 Application Engine Section PSAESECTDEFN
35 Message Node PSMSGNODEDEFN
36 Message Channel PSMSGCATDEFN
37 Message PSMSGDEFN
38 Approval rule set APPR_RULE_HDR
39 Message PeopleCode PSPCMPROG
40 Subscription PeopleCode PSPCMPROG
41 N/A
42 Component Interface PeopleCode PSPCMPROG
43 Application Engine PeopleCode PSPCMPROG
44 Page PeopleCode PSPCMPROG
45 Page Field PeopleCode
46 Component PeopleCode PSPCMPROG
47 Component Record PeopleCode PSPCMPROG
48 Component Record Field PeopleCode PSPCMPROG
49 Image PSCONTDEFN
50 Style sheet
51 HTML
52 File References PSFILEREDEFN
53 Permission List PSCLASSDEFN
54 Portal Registry Definitions
55 Portal Registry Structure PSPRSMDEFN
56 URL Definitions PSURLDEFN
57 Application Packages PSPACKAGEDEFN
58 Application Package PeopleCode PSPCMPROG
59 Portal Registry User Homepage
60 Problem Type
61 Archive Templates
62 XSLT
63 Portal Registry User Favorite
64 Mobile Page PSMPDEFN
65 Relationships
66 Component Interface Property PeopleCode
67 Optimization Models
68 File References PSFILEREDEFN
69 File Type Codes PSTYPECODEDEFN
70 Archive Object Definitions
71 Archive Templates – Type 2
72 Diagnostic Plug In
73 Analytic Model
79 Service PSSERVICE
80 Service Operation PSOPERATION
81 Service Operation Handler PSOPRHDLR
82 Service Operation Ver PSOPRVERDFN
83 Service Operation Routing SIBRTNGDEFN
84 Info Broker Queues SIBQUEUEINST
85 XLMP Template Definition
86 XLMP Report Definition
87 XMLP File Definition
88 XMLP Data Source Definition

Converting dos to unix ascii files

There is just nothing in this world that is universal and that even includes straight up text files. When carriage returns are stored in windows they are stored as Carriage Return & Line Feed, however, in unix they are stoed as just Carriage Return.

So when you ftp a file from windows to unix sometimes you will see ^M characters at the end of each line. This is because the files has been transferred as a binary file versus an ascii file. Most ftp (sftp, ftps, etc..) programs will convert the carriage returns correctly if the file is set to transfer in ascii mode based on the operating system it is going to.

However, if by chance you end up with a “dos” based file on your unix system and you want to convert it. A quick simple trick is to use the vi editor using the the :set ff command.

Simply open the text file in the vi editor, and type
:set ff=unix

This will change the file format from dos to unix based and the carriage return problem should be solved!

Renaming Tables (Dealing with Duplicates)

Sometimes it is helpful to be able to rename a table in PeopleSoft. I find when dealing with duplicates in tables during upgrades, you can rename a table to a temporary table and then re-create the table in question and then simply do an insert into the new table from the temporary table using a select distinct statement.

SQL SERVER:
sp_rename ‘TABLENAME’, ‘NEWTABLENAME’

ORACLE:
alter table tablename rename to newtablename