SQL script to update the Peoplesoft database information

Hi all

I'm a new DBA for a charity running both PS financials & HR which often must create test, training and instances of dev of our production environments. Doing so currently requires a number of manual steps to update the different nodes and paths to those required for the new instance, and naturally I did not become a DBA to do manual work ;-)

I'm looking for these steps, but the schema PS script being what it is, I'm not having much joy to find where relevant data could be. If someone had a script to do something similar, or could point me in the direction of the tables, I would be extremely grateful. The kind of things that we currently do through the interface are:

PeopleTools > Integration Broker > Configuration of integration > nodes
PeopleTools > Security > security objects > Single Sign-on
PeopleTools > Public Services > Administration > URL
PeopleTools > Integration Broker > Configuration > Quick Setup > Integration Broker areas
PeopleTools > Portal > node definitions
PeopleTools > the Ren Server Configuration > Ren Server Cluster

We are currently running MS SQL Server, but all the PL SQL scripts would be great - I just need to know what are the tables contain the data.

Thank you very much


Andy

Well, it is very dependent on version Peopletools.
An easy way might be to open the corresponding page that you speak, and then display the definition of page and the associated record. At least that is what I use to do.
Then, update you the table background and see if she takes your new values.

To be brief, here is an excerpt of these tables (non-exhaustive list, PT.48):
Node of single sign - we built: pstrustnodes
Scheduler process definition: ps_serverdefn
Run the command: psprcsruncntl
Message channels: pschnldefn
The e-mail table of contents: psapmsgpub *, psapmsgsub *, psapmsgarc *.
Definition of message node: psmsgnodedefn
URL: psurldefn
Definition of employment: ps_prcsjobdefn
OPRID (e-mail address): psoprdefn
...

Then fill out your own list with the method that I gave above.

Nicolas.

Tags: Oracle Applications

Similar Questions

  • SQL script to query the entire database?

    Hello

    I have column names, I need to figure out what array these column names in the database.

    In dev and prod table names are different. I need to understand what is the name of the table with some columns in prod that exsits in dev. Any help is appreciated.

    I use

    Oracle Database 11 g Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    Thank you.

    Hello

    You can query the data dictionary view dba_tab_columns.

    For example, if you want to find who files an EMPNO and DEPTNO column:

    SELECT master, table_name

    FROM dba_tab_columns

    WHERE nom_de_colonne IN ('EMPNO', 'DEPTNO')

    GROUP BY master, table_name

    HAVING COUNT (*) = 2

    ORDER BY owner, table_name

    ;

  • Use a script to update the MaxL substitution variables

    We use the Essbase 11.1.1 version. Can we use MaxL script for updating the substitution variables rather than using the EAS web console? We want to put the MaxL script in a batch file and plan its Windows scheduled task.

    Thanks for your help!

    Hello-

    Yes. Here is an example of script maxl-

    connection "Hypadmin" "#" on myessbaseserver.
    spool to 'mymaxl.log ';

    / * Definition of the substitution variable * /.
    ALTER database appname.databasename set variable "CurMonth" "August";

    variable display;

    spool off;
    Disconnection;
    Exit;

    You can call this maxl from a batch file at the request of windows scheduled task.

    Concerning

  • Where the SQL Scripts running after the installation of the ODAC for Oracle Client?

    I just installed ODAC for Oracle Client on a windows server that runs a database of sql server, allowing developers to connect to a web application to an Oracle/Unix database. The installation States to run SQL scripts, located in the $ORACLE_HOME\ASP.NET\SQL directory after installation. I don't know where to run them? On the ORACLE DB on the Unix server? If someone could let me know, I'd appreciate it. Thank you.

    You must run on the Oracle database server, but they are necessary only if you use Oracle for ASP.NET providers.

    If you just install the software, so you can use OLEDB with SQL Server linked server, for example, you don't need them. What do you need to run although if this is the case is the oramtsadmin.sql script that creates the objects used by the Oracle MTS Recovery Service (if you do not have these objects created on the database) that SQL Server uses a distributed transaction for Oracle connections I think.

    It will be useful,
    Greg

  • Discoverer for the PeopleSoft database to use

    Hello

    We currently use the discoverer of OracleApplications 11i instance.
    We are currently investigating the possibility of using the discoverer for the peoplesoft so database tool.

    Our TNSNAMES.ora file has an entry of the peoplesoft database names and I would like to know how I could get connected.

    Could you please guide me as to what steps I need to take in the admin of discoverer to implement user "Peoplesoft" to access the end user tables? Because peoplesoft user id which I am using is not listed down in the list of users (I guess that's because the list of current users listed are the users of Oracle Applications).

    Any input is greatly appreciated.

    Thank you.

    Hello
    Oracle only writes the E-Business Suite interface, which allows users to connect in Scout using the E-Business Suite, the password user and responsibility. There is no mechanism for the Discoverer connection using a user name and password associated with any ERP Peoplesoft system included.

    The easiest, although a nuisence, way would be to create accounts for database mirroring of your Peoplesoft accounts, using the same passwords. You to reproduce somehow Peoplesoft security, probably using some sort of VPD.

    Sorry to be the bearer of bad news. Furthermore, this information applied to all of the Oracle BI including BI Enterprise Edition tools so don't think that it is a defect of discoverer, it is the entire product stack.

    Best wishes
    Michael

  • SQL script to change the database user

    Oracle 11g on Solaris 10.5 64-bit SPARC

    I work on generate a SQL script to change all default users to a new or custom password.
    Example: change the system of the user identified by new_password

    Problem:
    My problem is that I don't want the 'new_password' be in plain text, because the script will on the ground prior to deployment.
    Can anyone give me some suggestions?
    Is this doable or I can generate the already hashed password - as change User Manager idenfified < hash_characters >

    Example change manager users identified by 'HE5823WE4095432241252 ';

    You can use the hashed password if you say for example:

    change the system of the user identified by values 'hashed_password_string '.

  • script to install the entire database from scratch?

    I have Oracle database 10g and Java code to connect to the database and the system is running.
    This database have been created over the years, incementally adding some objects, patterns, roles and so on.
    How can I create a script now that settles the entire database from scratch?
    I mean what can I create the file called "set_up_database.sql", which creates the database clone/copy of my current Production database now?

    CharlesRoos wrote:
    I intend to use ' expdp/impdp' to create the binary export file and then import it into the new instance of the database.
    These tools of import-export will create me all schemas and the rights and roles of database and created patterns will have the same password?

    Yes it is possible. But it depends on the options that you set when you use expdp/impdp.

    You can export the entire database or only some users, or even just a few tables.
    You can choose to include or exclude data during export.
    When you import, you can choose again to import with or without data. With data are possible cause only if the dmp files have included data.

    You can also rename a schema during import.
    Best way to start would be to do some exercises to imp/exp using a simple 'play' database.

  • Impossible to update the credit card information, please help

    Hello

    The site doesn't let me update my credit card information. He said something about a date has expired and that I should write another date, but where exactly? My credit card details are correct, but the site won't let me save them! Please help, I must not lose my subscription now!

    Thank you in advance,

    Bernhardina

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===> NOTE DAYS AND TIME
    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • Impossible to update the credit card information, finally try

    Hi, I tried several times to update my credit card information to get my fitness plan motion.

    He never accepts my visa card and I can't soon to use Photoshop.

    In two days my plan will turn off and I need to work.

    This will be the date for me to find an alternative solution

    I hope that someone at Adobe will make my problem seriously, as I have already written to support and never got a reply.

    Guillaume

    Hello

    Please reach out to support call/chat for the update request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Kind regards

    Sheena

  • Inflation does not update the user interface information; always playing 'thin '.

    Don't know what else to do. Here you can see a thin provisioned disk:

    ScreenHunter_25 Jun. 10 13.49.jpg

    Which is confirmed by the client as well

    ScreenHunter_25 Jun. 10 13.50.jpg

    Now I inflate the vmdk (makes no difference, PowerCLI or browser data store)

    ScreenHunter_25 Jun. 10 13.51.jpg

    Once completed, the disc should show 'Thick' - or "Willing to scratch thick" when you use the client.

    ScreenHunter_26 Jun. 10 13.51.jpg

    However, it still shows thin, PowerCLI and vSphere Client. When you try to inflate again, he confirmed that the disc is not thinner

    ScreenHunter_27 Jun. 10 13.51.jpg

    The only solution seems to be to unregister the virtual machine or at least just the VMDK and re - register. This will update the information.

    Only reference I've found so far is 1037619 KB, but it simply indicates that this error means that the disc is not thin-provisioned.

    Another reference, I found online is:

    http://virtual-stones.stonemountains.nl/2013/04/sphere-client-shows-wrong-disk.html

    However, this indicates that the information changes once the virtual machine is running. What I can not confirm, it always shows 'End' until I have de-register / register VM or disc.

    Is there information somewhere on how to update the information of the UI once the disc is being inflated?

    The same effect that restore a virtual machine can be achieved with a reloading-VM as this operation:

    On the shell via SSH or DCUI ESXi:

    Get the id of the virtual computer with:

    # vim - cmd vmsvc/getallvms | grep-i [VM - name]

    Perform a reload:

    # vim - cmd vmsvc/reload [VM - ID]

    Through the PowerCLI:

    (Get - VM [VM name] |) Get - View). Reload()

    Check if this updates information properly.

    So again, it does not check if a restart of the host management agents work.

  • Remove the DBCA database information

    Greetings,

    I have problem regarding the creation of database using dbca.
    Have previously configured a database by using the utility, but then DB deleted files and when I try to recreate the database using dbca utility, the database information remain, and removal of dbca utility is not possible, as I already deleted files db, redo, control files...
    How can I force dbca to 'forget' db?

    you check oratab entry... Also check if the listener is running

  • Convert [VB Script] link updated the script to CS to CS4

    Hello

    I have problems with my old VB script conversion to a CS4 version.

    The part that updates the links in my document is no more compatible with CS4.

    I know that CS4 manages files related differently than previous versions, but I find a way to make it compatible CS4.

    My script does the following:

    -Open InDesign

    -Open the file

    -update all links (these are +/-75 tagged text files)

    -Save the file as EPS file

    -close InDesign file without saving changes

    -close the application InDesign

    The script:

    REM InDesign open and file

    Set myInDesign = CreateObject ("InDesign.Application.CS4")

    The value of myDocument = myInDesign.open("C:\files\InDesignDocument.indd",False)

    REM update all links

    For each link in myDocument.Links

    link. Update

    Next

    Error resume next

    REM, save the file as EPS

    myInDesign.EPSExportPreferences.EPSColor = 1129142603

    myDocument.Export "EPS","C:\export\InDesignDocument.eps".

    REM, close the document without saving changes and quit InDesign

    myDocument.Close 1852776480

    myInDesign.Quit 1852776480

    Y at - there someone who can help me with this?

    Thanks in advance,

    Bastiaan

    in CS4 - you cannot update link - if she does not need to be updated, bug or feature

    Try this:

    error resume next

    for a = myDocument.Links.Count to 1 step - 1

    call the myDocument.Links.Item (a). Update

    Next

    on error goto 0

    and - as in my example - don't use for each because there is bug - no more 255(256?) elements will be processed

    Robin

    www.adobescripts.co.UK

  • Need help please, how can update to Dreamweaver database information

    Hello, I have a problems with my database, I know that my database works perfectly but when inserting the update to my database of my table form that I created with dreamweaver, I have this error

    Warning: mysql_real_escape_string() [Function.MySQL - real-escape-string]: access denied for user 'SYSTEM'@'localhost' (using password: No.) in C:\wamp\www\dwwithphp\TMPbcn96qcid9.php on line 20

    I don't know why change my localhost to "SYSTEM@localhost" in the part has declared using ready-made password set up in dreamweaver the password may access all databases in Dreamweaver, so I don't know what I can do?

    This all my talble form code:

    <? php require_once('Connections/dw_bookstore.php');? >
    <? PHP
    If (! function_exists ("GetSQLValueString")) {}
    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
    If (via PHP_VERSION < 6) {}
    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;
    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}
    case 'text ':
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';
    break;
    case "double":
    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';
    break;
    case "date":
    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";
    break;
    case "set":
    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;
    break;
    }
    Return $theValue;
    }
    }

    $editFormAction = $_SERVER ['PHP_SELF'];
    If (isset {}
    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);
    }

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "form1")) {}
    $updateSQL = sprintf ("put a DAY of titles SET title = %s pub_id = %s id_auteur = %s, price = %s, notes = %s, pubdate = %s WHERE title_id = %s",
    GetSQLValueString ($_POST ["title"], "text").
    GetSQLValueString ($_POST ["'pub_id"], "text").
    GetSQLValueString ($_POST ["au_id"], "text").
    GetSQLValueString ($_POST ['price'], "double").
    GetSQLValueString ($_POST ['notes'], "text").
    GetSQLValueString ($_POST ["pubdate"], "date").
    GetSQLValueString ($_POST ['id_titre'], "text"));

    @mysql_select_db ($database_dw_bookstore, $dw_bookstore);
    $Result1 = mysql_query ($updateSQL, $dw_bookstore) or die (mysql_error ());
    }

    @mysql_select_db ($database_dw_bookstore, $dw_bookstore);
    $query_rsPubs = "SELECT pub_id, nom_editeur of publishers ORDER BY nom_editeur ASC";
    $rsPubs = mysql_query ($query_rsPubs, $dw_bookstore) or die (mysql_error ());
    $row_rsPubs = mysql_fetch_assoc ($rsPubs);
    $totalRows_rsPubs = mysql_num_rows ($rsPubs);

    @mysql_select_db ($database_dw_bookstore, $dw_bookstore);

    $query_rsAuthors = 'SELECT au_id, au_lname, au_fname from authors ORDER BY au_lname ASC';
    $rsAuthors = mysql_query ($query_rsAuthors, $dw_bookstore) or die (mysql_error ());
    $row_rsAuthors = mysql_fetch_assoc ($rsAuthors);
    $totalRows_rsAuthors = mysql_num_rows ($rsAuthors);

    $colname_rsTitles = "-1";
    If (isset($_GET['title_id'])) {}
    $colname_rsTitles = $_GET ['id_titre'];
    }
    @mysql_select_db ($database_dw_bookstore, $dw_bookstore);
    $query_rsTitles = sprintf ("" SELECT * FROM titles WHERE title_id = %s ", GetSQLValueString ($colname_rsTitles,"text")");
    $rsTitles = mysql_query ($query_rsTitles, $dw_bookstore) or die (mysql_error ());
    $row_rsTitles = mysql_fetch_assoc ($rsTitles);
    $totalRows_rsTitles = mysql_num_rows ($rsTitles);
    ? >
    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    <? PHP $pagetitle = "The Night Owl"? >
    " < html xmlns =" http://www.w3.org/1999/xhtml " >
    < meta http-equiv = "Content-Type" content = "; charset ="/ >
    < title > The Night Owl < /title >
    < link rel = "stylesheet" href = "styles.css" type = "text/css" media = "screen" / > "
    < / head >
    < body >

    <? PHP include('Includes/header.php');? >

    Welcome to < h1 > <? PHP echo $pagetitle? > < / h1 >
    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >
    < table align = "center" >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > Title_id: < table >
    < td > <? PHP echo $row_rsTitles ["id_titre"];? > < table >
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > title: < table >
    < td > < input type = "text" name = "title" value = "<?" PHP echo htmlentities ($row_rsTitles ['title'], ENT_COMPAT, ");? ">" size = "32" / > < table >
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > Pub_id: < table >
    < td > < select name = "id_editeur" >
    <? PHP
    {}
    ? >
    < option value = "<?" PHP echo $row_rsPubs ['id_editeur']? ' > ' <? PHP if (!) strcmp () ($row_rsPubs ['id_editeur'], htmlentities ($row_rsTitles ['id_editeur'], ENT_COMPAT, "))) {echo"SELECTED";}? > > <? PHP echo $row_rsPubs ["pub_name']? > < / option >
    <? PHP
    } While ($row_rsPubs = mysql_fetch_assoc ($rsPubs));
    ? >
    < / select > < table >
    < /tr >
    < tr > < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > id_auteur: < table >
    < td > < select name = "au_id" >
    <? PHP
    {}
    ? >
    < option value = "<?" PHP echo $row_rsAuthors ["au_id"]? ' > ' <? PHP if (!) strcmp () ($row_rsAuthors ["au_id"], htmlentities ($row_rsTitles ["au_id"], ENT_COMPAT, "))) {echo"SELECTED";}? > > <? PHP echo $row_rsAuthors ["au_lname"]? > < / option >
    <? PHP
    } While ($row_rsAuthors = mysql_fetch_assoc ($rsAuthors));
    ? >
    < / select > < table >
    < /tr >
    < tr > < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > price: < table >
    < td > < input type = "text" name = "value" = "<?" PHP echo htmlentities ($row_rsTitles ['price'], ENT_COMPAT, ");? ">" size = "32" / > < table >
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" valign = "top" > Notes: < table >
    < td > < textarea name = cols 'notes' = "50" rows = "5" > <? PHP echo htmlentities ($row_rsTitles ['notes'], ENT_COMPAT, ");? > < / textarea > < table >
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > Pubdate: < table >
    < td > < input type = "text" name = "pubdate" value = "<?" PHP echo htmlentities ($row_rsTitles ["pubdate"], ENT_COMPAT, ");? ">" size = "32" / > < table >
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > < table >
    < td > < input type = "submit" value = "Update file" / > < table >
    < /tr >
    < /table >
    < input type = "hidden" name = "MM_update" value = "form1" / >
    < input type = "hidden" name = "id_titre" value = "<?" PHP echo $row_rsTitles ["id_titre"];? ">" / >
    < / make >
    < p > < / p >
    < p > < / p >

    <? PHP include('Includes/footer.php');? >
    <! - end page - >
    < p > < / p >
    < / body >
    < / html >
    <? PHP
    mysql_free_result ($rsPubs);

    mysql_free_result ($rsAuthors);

    mysql_free_result ($rsTitles);
    ? >

    So please help me thanks for you time!

    I really apreciate that...

    Learning_men wrote:

    I have this error

    Warning: mysql_real_escape_string() [Function.MySQL - real-escape-string]: access denied for user 'SYSTEM'@'localhost' (using password: No.) in C:\wamp\www\dwwithphp\TMPbcn96qcid9.php on line 20

    Look at the name of the file in the error message. It shows that you are trying to use a temporary file. That's why he tries to access MySQL as SYSTEM. You may not use temporary files to access the database.

    Open the Panel preferences in the Edit menu, and then select the preview in browser category. Deselect preview using a temporary file, and then click OK. If your test server is set up correctly, you should now be able to interact properly with the database.

  • SQL script to check the status of the last command

    Hi all

    I need to make a SQL script and call it from Unix (bash) shell.


    =========================
    sqlplus vikas/vikas < < END
    coil /oracle/vikas/output.txt
    order 1
    command 2
    ...
    ....
    command N
    spool off;
    commit;
    END
    =========================


    It works perfectly, but my problem is that if a command fails, the other controls in suite works. However, I need to keep a check when a broken command that you exit the script.

    On unix, we have an option of echo $? to check the status of the previous command, but how to accomplish this SQL.

    Pls help!
    __________________
    == > VIKAS < ==

    =========================
    sqlplus vikas/vikas<>
    coil /oracle/vikas/output.txt
    WHENEVER SQLERROR EXIT; -Add this
    order 1
    command 2
    ...
    ....
    command N
    spool off;
    commit;
    END
    =========================

  • trying to create an ESXi data store on the local drive.  Configuring the host error: unable to update the disk partition information

    I'm a newbie on ESXi and don't know what it takes to get ESXi correctly partition my drive SATA 500 correctly.

    I will implement a laboratory unit to carry out tests for ESXi and ESXi is not quite correctly the disk partitioning or do not see a good partition in order to create a data store.

    This system was able to correctly identify and configure a data store on a small 80 GB seagate SATA disk, however, this isn't quite enough storage so I swapped the hard drive and tried to re - install ESXi on the new hd.

    I use a USB boot ESXi since and it is launched and configures the card intel pro1000 pci ethernet correctly.  also correctly the id of the cpu and memory.  everything seems fine and he is even able to see the hard drive.

    Here are some screenshots of the process that I go through to make my data store...

    on this photo-sous the column titled 'available' is 'none', also said, under the title 'san identifier' he said 'not applicable' - I guess that's not quite right?

    and disappointment - failure?

    I tried to go into the bios if there are some settings I need to do to get this hard drive set up... I don't understand enough about ESXi to find out why the drive is not found and configured correctly.  is this a bios problem w / my system or a problem of ESXi?

    pls help!

    You have generally not, but it might be interesting to start with something like a Linux live CD and then using gparted or other to wipe all the top partition information.

Maybe you are looking for

  • 8 5901 stream: Call 8 5901 with 10 windows workflow?

    Hello world It is possible to make calls from the Stream 8-5901 tablet with windows OS 10. There is a phone app for windows 10? Thank you

  • HP 250 G4: Yet I am interesting in the upgrade of my GPU (laptop)

    I have a computer laptop g4 250 HP with an intel i5-5200u and integrated graphics card HD 5500. I've heard a thousand times that it is impossible to add a dedicated gpu on a laptop, but: HP provides aservice guide with the largest part of the laptop.

  • Updates failed to install Windows error 0 x 80240036

    Original title: I can not get updates, it keeps going to the error message whenever I go to windows update it begins searching for updates, and then goes to an error [error number: 0 x 80240036 how can I solve this]

  • CVP: Configuration of separate GW &amp; VXML GW penetration

    Hi all I have the following scenario for a upgrade CECP UCCX (a) dedicated Ingress GW for CVP & back office E1s (CUCM with MGCP) (b) separate VXML GW for CVP (c) are dedicated to CVP and also dedicated E1 E1s meant for back-office [no problem in crea

  • Site to Site VPN Phase 2 problem

    Hello I have a problem of IPsec VPN. We have an ASA 5580 to build the VPN site to site with ALU VPN gateway (from partner). The VPN connection is not established. We have checked configurations of devices pair but not found so far any problem. I trie