Wednesday, February 20, 2008

Improvement in DAC 7.9 – Subject Area Assembly

One of the nice new features in DAC 7.9 is the facility to assemble all the ETLs required to populate a fact using the Assemble button
In the Pre DAC 7.9 days, the process for building a star schema was as below
  1. Think up all the tasks required to populate a star schemas (Basically the Informatica workflows)
  2. Create the tasks and Identify Dependent and Depending on tables manually when creating a task.
  3. Construct a Table Group where one had to figure out all tables that belong to the star schema i.e. the fact and related dimensions
  4. And then at last build the Subject Area
  5. Run the subject area and then curse yourself for not remembering some tables.
  6. Start all over again.
Now
  1. You don’t have to identify Dependent and Depending on tables. There is a sync feature which automatically identifies all the sources and targets which are affected/dependent on a task
  2. The concept of a Table Group is dead. You just have to name the fact to be populated and click on the Assemble button
  3. Click option: selected task only (unless you want to assemble for all subject areas delivered out of the box. Trust me : you don’t want to do this)
  4. The DAC assembles the selected subject area by determining what dimensions and other related tables are required, and what tasks are needed to load these tables.
  5. You will receive an informational message when the assemble process is comp
  6. Hey presto, the Subject Area is ready
But wait a minute,
  1. You still have to do some cleanup and remove unwanted tasks
  2. Click the Tasks tab to view which tasks the DAC has determined are required for this subject area
  3. Tasks that are automatically assigned to the subject area by the DAC are indicated with the Auto generated check mark.
  4. You can inactivate a task from participating in the subject area by selecting the Inactive check box.
  5. When the Inactive check box is selected, the task remains inactive even if you reassemble the subject area.
  6. You can also remove a task from the subject area using the Add/Remove command, but when you remove a task it is only removed from the subject area until you reassemble the subject area
  7. You still have to put in the implicit dependencies i.e. dependencies on tables that are not featured in the select statements or the workflow
  8. Upgrade does not work for custom workflows setup in DAC
There’s still more
  1. Unless you have a lot of time on your hands, don’t try clicking on the Assemble tab when DAC server has been up for some time
  2. Stop the server, restart the client and then click on Assemble
  3. It is much quicker. But don’t know why it works this way
So in conclusion Oracle DAC 7.9 is great and has some nice new features. But upgrading is going to be no fun. More on this later.
–Posted by Raghunatha Yadav/Sanjay Rao
Read More about  DAC 7.9

Thursday, February 14, 2008

Visibility Enablement for Express Mail/Cargo industry

Value added services hold the key to differentiate one service provider from the other in the increasing competitive express mail/cargo market. Near real time visibility of shipments and proactive exception management are essential for improving the customer experience and operational efficiency.
However, there are significant challenges in providing these value added services – large number of players, huge volume of shipments, intermediate manual operations and lack of electronic data exchange. In addition, the current technology infrastructure has limitations with respect to providing new features like messaging, e-tracking, m-tracking, proactive alert generation as well as interfacing with multiple devices for recording shipments.
Since a large number of players and platforms/technologies are involved, messaging holds the key to providing seamless connectivity required for real-time visibility enablement. At each check-point, the various parties who have subscribed to the specific checkpoint, would receive messages indicating real-time status of the shipment. Messaging would connect different systems with minimal changes to existing applications and system interfaces. In addition, it will enable workforces to become increasingly mobile and facilitate rapid response to shipment related issues.
Read More about  Point to Point

Thursday, February 7, 2008

Limitation of Scripting in Siebel


Siebel CRM is one of the most effective CRM solution available till date. Clients with complex business requirements opt for Siebel to help themselves in identifying, acquiring and retaining their respective Customers. As a Siebel Professional we use Configuration, Scripting and EAI in order to build an Application.
There are nearly 200 different types of objects that can be configured in Siebel to reflect the changes in the User Interface Layer, Business Objects Layer, and Data Objects Layer. Also, the Siebel objects have intertwined multiple relationships between them.
We need to write programs in case of complex requirements (According to Siebel best practices — scripting should be the last resort in situations where only configuration cannot accomplish the business and technical requirements).
There are primarily 4 programming languages used when customizing Siebel.
Siebel Visual Basic (Siebel VB), Siebel eScript, JavaScript (available as of Siebel 7) and Java (through Java Business Services).
But there are some limitations of scripting in Siebel which are cited below:
  • It’s case sensitive.
  • Siebel eScript code is executed one statement at a time, in the order in which it is read.
  • If objects are not instantiated properly then it can lead to Memory leakages.
  • Need to take extra care while declaring the variables at application level.
  • Difficult to maintain the code.
Some of the biggest demerits of Scripting in Siebel are:
  1. May not be fully upgradable. In Siebel upgrades, scripts undergo extensive retrofitting

  2. One object can be scripted in only one programming language, i.e. if you are writing a BS in eScript and want to access some COM / ActiveX object then in most of the cases you need to switch on to a different Object which is written in VBscript. If the facility to use many scripting language in an Object has been given then one do not require to switch in between objects.

  3. In one method of an Object one can write only 16KB of code, which some times becomes critical especially when one wants to modify some existing functionality.

  4. If the script is written in Browser side then one can easily call Server side script and get it executed, but the vice-versa is not true.

There are numerous benefits of scripting in Siebel in comparison to its miniscule limitations. However it is very vital that one is aware of the limitations too.
Please feel free to Read More : Scripting in Siebel

Tuesday, February 5, 2008

PeopleSoft Fine Grained Auditing – Part I

We all know how critical it is to enable Oracle Database Auditing for our production environment. It is equally important to monitor the audit results and take actions. Though enabling auditing using the AUDIT_TRAIL initialization parameter plus using the AUDIT statements to enable different auditing options is the common approach, with the availability of FGA feature, it is time to take the next step.
FGA allows us to audit more specific business rules. Today, I will walk you through the steps to implement FGA for PeopleSoft.
Ensure that EnableDBMonitoring is set to 1 in psappsrv.cfg. This will enable PeopleSoft to populate CLIENT_INFO column in V$SESSION.
Identify the table and the criteria that we need to set for the policy. In this example, I will use the custom table PS_ABC_COMPANY_TBL. I need to audit any SELECT* statements on PS_ABC_COMPANY_TBL when user selects data related to
abc_company = ‘ABC Confidential’
We need to create a procedure that will populate the CLIENT_INFO so that we can identify the OPRID.
CREATE OR REPLACE PROCEDURE GET_OPRID (OBJECT_SCHEMA VARCHAR2, OBJECT_NAME VARCHAR2, POLICY_NAME VARCHAR2)
AS
V_CLIENT_INFO VARCHAR2(1000);
V_OPRID VARCHAR2(32);
BEGIN
V_CLIENT_INFO := SYS_CONTEXT(‘USERENV’,'CLIENT_INFO’);
IF ( LENGTH(V_CLIENT_INFO) IS NULL ) THEN
V_OPRID := ‘NOOPRID’;
ELSIF ( SUBSTR(V_CLIENT_INFO,1,1) = ‘,’ ) THEN
V_OPRID := ‘NOOPRID’;
ELSE
V_OPRID := SUBSTR(V_CLIENT_INFO, 1, INSTR(V_CLIENT_INFO,’,',1)-1);
END IF;
DBMS_SESSION.SET_IDENTIFIER (V_OPRID);
END;
Create a policy as shown below
begin
dbms_fga.add_policy (
object_schema=>’SYSADM’,
object_name=>’PS_ABC_COMPANY_TBL’,
policy_name=>’ABC_COMPANY_TBL_ACCESS’,
audit_column => ‘ABC_COMPANY’,
audit_condition => ‘ABC_COMPANY = ”ABC Confidential”’,
handler_module => ‘GET_OPRID’
);
end;
That’s it!!
In my next post I will share the results of enabling this feature.
 
Read More About PeopleSoft Fine Grained Auditing

Unleashing the Giant – Siebel CRM


The first “C” program that I wrote was about printing “Hello World”. On synonymous lines to my first “C” program, while blogging the first post I would like say “Welcome and Explore the Siebel Street”. Siebel has been the most active promoter of CRM for more than a decade. How many customers have been better served because Tom Siebel decided to help popularize Customer Relationship Management? The answer is innumerable.
Siebel CRM has been consistent market leader in CRM software arena. The best in-class customization, top-notch user interface, strong integration tools, diversified industry-wide applications, easy upgrades and reliable customer support are few key attributes of this Giant – Siebel CRM. Siebel CRM caters to its clients in various verticals like Finance, Pharma, Telecom, Hi-tech manufacturing, Insurance, Sales, Marketing etc.
The customizations in the Siebel applications are implemented using Configuration, Scripting and Workflows. Siebel EAI integrates third party applications/objects with Siebel and Siebel EIM populates external data in interface tables and user data in base tables. Siebel Analytics furnishes the needs of Report generation, analyzing of business trends, logistics etc. This Giant CRM’s robustness lies in the sheer depth and breadth of its functionality. Siebel products are continuously rated at the apex in sales, marketing, customer service and other CRM peripheral areas.
Post-Oracle’s big ticket acquisition Siebel CRM has been the lustrous feather in the cap of Oracle. Oracle already has PeopleSoft, JD Edwards, Oracle Apps under its belt and now the bellwether – Siebel CRM. With so-many CRM solution providers under its kitty, Oracle plans to roll-out Oracle-Fusion in near future.
Moving forward, Oracle plans to make Siebel as the center piece of its CRM product, while bringing together the functionality of all its acquisitions under Fusion. So if I was to choose between a newcomer, a struggling cameo or a strong veteran with no signs of fading off, the choice would be clear – Siebel CRM.
Watch out this space for more on various Siebel CRM topics, techno-functional issues, problems-resolutions, experiences etc.

Monday, January 28, 2008

Instant Peoplesoft Cloning Refresher Kit


Here are the instant refresher steps for performing a peoplesoft clone.
  • The target system – the system to which the Peoplesoft Instance to be cloned.
  • The source system – the system from which the Peoplsoft Instance is cloned.
  • Oracle Application 9i with the patch at version 7 is installed in the target system.
  • Application and Web Server is also installed in the target system
  • The Database structure files from PSHOME from the source system is copied to the target system’s separate drive.
  • Update the domain names and coordinates in the TNS Listener files
  • Configure the application and web server domain names
Points to Ponder
  • Before initializing the activity, the very first step would be to shutdown the source database using
    • Set Oracle_SID = Domain Name, and
    • Connect Sys as Sysdba shutdown immediate
  • Shutdown the Application Server in the Source system
  • Shutdown the Web Server in the Source system
  • Access the Oracle\Oradata\Domainname and copy the *.dat files to the target system
  • Make sure all the control files, data files and redo log files are in place in the destination system
  • Execute the ‘alter database backup control file to trace’ in the source system
  • Make sure that the file is created under Udump folder as a result of the above script
  • Make the necessary changes in the file and save it as *.sql
  • Copy the parameter file names initdomainname.ora under oracle\ora92\database and edit the coordinates and parameters in order to reflect the target system’s features
  • Startup Nomount; and execute the script generated from the source system
  • Update PSDBOWNER Set DBNAME =”New Domain Name”
  • Use NET Configuration Assistant wizard to configure the listener with the parameters for TNS, Host Name, IP Address, System Name(Target System) and perform a test
  • Using the configuration assistant, test for the access of Peoplesoft Application Designer , Data Mover with the same user access credentials of the Source system database
  • Configure the Web Server by providing the domain name, Peoplesoft web site name and startPIA.exe; Make sure that the environment variables are also set for JavaHome.

Take 3: Jolt Session Pooling Covered….

Before reading this entry (always a friendly warning first!), please read about my two blog entries that I posted earlier. This entry is kind of closure to my previous topic “Jolt Session Pooling”. If you still have decided to read this one, you cant complain about not able to understand this one….
In our last blog entry, we talked about Jolt Session Pooling. As I stated earlier, Jolt Session Pooling is enabled by default in Tools Version 8.48 and later. Considering this new feature(!), there are some things that are changed due to this parameter single change starting with Tools 8.48 and later….
Also, we talked about the sevlets (like psc, psp etc) that are having ‘definitions” in the web.xml file (under DOMAIN/PORTAL/WEB-INF directory). So, back to our main point.. why JoltPooling needs to be disabled for all the servlet entries in the web.xml file to resolve the “download to excel” button to work… Probably you have guessed it already.
The key point here is, when Jolt Session Pooling is enabled, the session is shared across all the servlets. The existing sessions are shared across multiple servlets within weblogic server. This is supposed to be provide good performance results. There are no dedicated sessions. As of now, I know some of the effects of this change in 8.48 environment:
  1. “Download to Excel” button not working
  2. Tuxedo is unable to list the online users on the system
  3. “View Attachment” is not working
  4.  
If you know anything else due to this “Jolt Session Pooling” enabled option causing in Peoplesoft, please write on the comment below for me to know and learn. My policy is to share the knowledge and feel free to learn. :)
To know more about Jolt and Weblogic, I would recommend you to read the BEA documentation about “Using BEA Jolt with BEA Weblogic Server” Guide. I am going to write some new things going forward… One of the m is about my favorite. Inter Process Communication in the Unix System and Peoplesoft.
Read More About  Jolt Session Pooling