PeopleSoftGuys.com Home
Navigate
February 22nd, 2008

Difference between Custom Objects and Customized Objects

I know this sounds little stupid for some people, but for some people this is helpful. I know one guy who gets confused all the time with these two terms and comes and asks me all the time. I thought I would list these here and ask him to remember PeopleSoftGuys.com, so that he can come here and read it..

Custom Objects in PeopleSoft: Custom objects are the objects built by a PeopleSoft client to accommodate their business needs.

Customized Objects in PeopleSoft: Customized objects are the delivered objects from PeopleSoft to which the client made some changes to accommodate their business requirements.

February 17th, 2008

COMMIT statement usage in PeopleSoft Data Mover

PeopleSoft Data Mover issues COMMIT statements after most successful SQL commands, except for EXPORT and IMPORT commands. But for EXPORT and IMPORT commands, PeopleSoft Data Mover issues a COMMIT after each record. With IMPORT commands you can associate a  SET COMMIT n command, which will perform a COMMIT after the system inserts every n rows.

Example:

SET INPUT C:\PS_CUSTOMER.dat;
SET COMMIT 5000;
IMPORT *;

The example shows that it will import all the data from PS_CUSTOMER.dat file and it will commit the data after every 5000 rows are inserted into PeopleSoft record.

February 17th, 2008

PeopleSoft Data Mover Commands

ENCRYPT_PASSWORD
 Encrypt one or all user passwords defined in PSOPRDEFN table.
  Example: ENCRYPT_PASSWORD ROGERS;

EXPORT
 EXPORT command will be used to export the data from a table or a join of tables and store the result set in a file. You can use the generated export file as input for migrating data to any another platform.
Example:
SET OUTPUT C:\PS_CUSTOMER.dat
EXPORT PS_CUSTOMER;

IMPORT
IMPORT command will be used to Insert data into PeopleSoft tables using the data in an exported file. If a tablespace or table does not exist, this command creates tablespace, table, and indexes for the record, using the information in the exported file, and inserts the data.
Example
SET INPUT C:\PS_CUSTOMER.dat
IMPORT *;
 
REM, REMARK, and –
 These commands will be used to indicate comment statements in the data move scripts.

Example:
REM Example file;
 

February 17th, 2008

PeopleSoft Data Mover Operating Modes

You can connect to PeopleSoft data mover in two modes depending on the previlages that your user id has. The following two are the modes that you can connect to the data mover.

  • Regular mode.

Most of the time you connect using this mode. To sign in to the data mover in regular mode, enter your PeopleSoft user ID and password during sign-in. In regular mode, all data mover commands are valid.

  • Bootstrap mode.

In bootstrap mode, you use a database access ID and access password when signing in to data mover. Typically, we use bootstrap mode for database load. When we create a brand new PeopleSoft database we connect to the data mover in a bootstrap mode. We also use bootstrap mode for running some security commands, such as ENCRYPT_PASSWORD.

February 7th, 2008

Conversion of SBT to PeopleSoft 8.8 FSCM

I’m currently leading a project for a public sector client and we needed to perform a data conversion of legacy data from SBT system into PeopleSoft financials and supply chain system.

The approach I designed to bring the data into the PeopleSoft system is

  • Export the data from SBT system (Which is in FoxPro) to .dbf files
  • Import the data into MS Access database by using MS Access import utility
  • Export the data into Sybase database (which is where PeopleSoft database is located) using MS Access export utility by using Open Database connectivity (ODBC).
  • Once the data is in Sybase database we are planning to import the metadata into Convoy DM tool and map the tables to a target database.
  • Then we are planning to generate the conversion SQRs using Convoy DM.

I will post more info regarding this conversion. Once we start progressing on this. I thought this would be useful for someone as I couldn’t find any information on this anywhere else.

January 19th, 2008

Oracle to buy BEA Systems for $8.5 billion in cash.

Oracle plans to acquire BEA Systems a middleware developer for $8.5 billion in a cash deal, the company announced Wednesday.

Under this deal, which is expected to close by the middle of the year 2008, Oracle agreed to pay nearly $19.38 per share. That purchase price is above Oracle’s initial offer of $17 a share, which BEA had rejected earlier, saying that it would need $21 a share for any party to enter acquisition talks with the company.

This would make Oracle to substitute it’s fusion middleware with better middleware product out in the market.

June 5th, 2007

Oracle extends Cases Against SAP

Oracle has just filed new charges against rival ERP leader SAP in the corporate espionage case between the rival enterprise software vendors

Oracle intially sued SAP in March 2007, caliming that TomorrowNow (SAP’s subsidary) had infringed on Oracle copyrights by downloading support material from PeopleSoft customer connection, which is only intended for their customers.

The charges to the case is that SAP also used login credentials from legitimate clients to download the documents and software for which SAP and and its clients had not purchased a licence.

TomorrowNow is specialized in supporting the PeopleSoft appications and SAP acquired the company 2005.

SAP AG declined to comment on the Oracle Charges.

October 18th, 2006

Writing an SQR output to a custom file and post it to web

The background of the issue is in older versions of PeopleSoft SQR programs used to execute from a client workstation and there was no 4-tier concept, so People used to hardcode the output file path with in the program.

PeopleSoft 8 onwards reports are being posted to web and people can view the reports in the view log trace.

But for custom data files SQR uses the OPEN FOR WRITING and WRITE commands for creating these files and control where the output goes.  Since SQR is controlling the output vs the Process Scheduler or PSSQR controlling the output, even if it is written to the right directory, the Report Distribution Server may be unaware of it’s presence and will not transfer and generate a link to view this output. 

To overcome this issue one of the following solutions can be adopted.

With PeopleTools 8.4 onwards the following option can be used. Make sure that the supported file extensions (like .pdf, .lis, .txt are used.).

Option 1:
Use the FILEPREFIX variable from the delivered SETENV.SQC to build the directory path for the hard coded file name. Make sure that SETENV.SQC is coded at the top of the program. Otherwise it will give a substitution variable error.

Example:

  LET $filename = ‘{FILEPREFIX}’||’bank1.txt’
  OPEN $filename AS 1 FOR-WRITING RECORD=85:FIXED
Option 2:
Use the following code format.

Example:

let $filepath = ‘[PS_HOME]\appserv\prcs\[databasename]\log_output\SQR_’ || $ReportID || ‘_’ || $prcs_process_instance || ‘\’
let $filename = $filepath || ‘datafile.lis’
open $filename as 1 for-writing record=100

if the above code doesn’t work for you, you can do one more thing.

You can query PSPRCSPARMS table for PRCSOUTPUTDIR field for your $prcs_process_instance and substitute output value as your file path

Example:
SELECT PRCSOUTPUTDIR FROM PSPRCSPARMS WHERE PRCSINSTANCE = $prcs_process_instance

October 18th, 2006

Query result set too large, (124,87). Result of (SQL Fetch) is over the maximum result size specified for the application server

One of the users reported that she was getting the above error when she runs a private query.

I found out that this query is bringing back around 100,000 rows back and which is taking a lot of memory and the size.

To overcome the issue I asked her to adjust the query to bring the less no of rows, but unfortunately she wants to have all those rows.

The only solution for this is to increase the fetch size on PSQRYSRV and/or PSAPPSRV.

PeopleSoft Queries that are run through the web through the ‘Run’ option have the ability to utilize the PSQRYSRV if it’s been configured and started. PeopleSoft Queries that are run from the ‘Preview’ tab (8.4x onwards) can only use the PSAPPSRV.  If users need to run the long running queries from the Preview tab, the PSAPPSRV max fetch size will need to be increased, for an unlimited size set this value to 0 (Zero).

[PSQRYSRV]

Max Fetch Size = change it to a higher number

[PSAPPSRV]

Max Fetch Size = change it to a higher number

October 16th, 2006

SQL Error = (226) TRUNCATE TABLE command not allowed within multi-statement transaction.

The below error was came up when one of my colleague was trying to truncate a table with in an SQR procedure. I don’t know whether this is a Sybase specific or for all the databases.

SQL Error  = (226) TRUNCATE TABLE command not allowed within multi-statement transaction.
The Solution is to COMMIT before and after the truncate table statement, So that this will commit the previous transactions.

Example:

Before:

TRUNACATE TABLE PS_CUSTOMER_TMP;

After:

COMMIT;
TRUNACATE TABLE PS_CUSTOMER_TMP;
COMMIT;