Grant.sql

hi all
i wish to grant select privelege to all the tables in user_tables to a user created by me
select ' Grant Select on '|| table_name || ' to user_name ' from user_tables ;
now when i run this i do get the grant succeeded
when i spool and create a .sql file and then run it it helps, is there any other way?
can i not grant from the query above ...
pls clarify
regards
prem

Create a file containing the statements below and run it in SQL*Plus
--- file begin ----
set heading of
set feedback off
set pages 1000
set termout off
spool a.sql
select ' Grant Select on '|| table_name || ' to user_name;'
from user_tables ;
spool off
set termout on
set feedback on
set heading on
set pages 14
--- file end ---
To grant a privilige to a user, you have to mention the object and the user.
The select statement creates the right statement to grant the select privilige to the user.
So, you select the objects (table_name from user_tables) and hardcode the user (user_name).
The first three lines instruct SQL to show no heading, no feedback and that 1000 lines will fit on a page
Otherwise the spool file wil contain header rows every couple of rows and the last row in yor spool file
will be something like '50 rows selected.'
Spool file_name instructs SQL to create a file wich contains the output of the statements executed.
The last three lines set everything back to the original state.
The a.sql now contains the grant script for user (user_name).
Just run this a.sql script to grant the select statements to the user.
Another way of granting the select privilige to the user is to type:
grant select on table_name to user_name;
and repeat this for every table_name the grantor owns. If the grantor owns just one or two tables, this might be faster than creating the statements dynamically. If the grantor owns quite a lot of tables, I would use the danamically created statements

Similar Messages

  • Problems when tyring to continue install: Errors with grant.sql

    Going through the install procedure for PeopleTools 8.50 with PeopleSoft HRMS 9.1. Running Windows XP Pro SP3. Install on single machine for testing purposes.
    I ran scripts in Data Mover to populate the PeopleSoft database tables. I did this through Database Setup for PeopleSoft HRCS Database and selected Demo for the database type. I have checked all the log files and everything completed successfully.
    Now I am trying to run grant.sql, but I'm getting errors telling me none of the tables exist. I have checked my services and the instance is running. I am attempting to run this script after a shut down of my machine so I could simply be missing a service or something. Not sure what I should be looking for...
    Thanks in advance...
    Edited by: ibrahim2k2 on Nov 19, 2009 8:27 AM

    Now I am trying to run grant.sql, but I'm getting errors telling me none of the tables exist. Which user are you connected with when running the script ?
    Nicolas.

  • Possible to do "grant" sql statement in Native SQL?

    We have a need to do a grant of access from one of our systems out for various applications.  In order for this to work we need to run a grant access command on the table and are trying to put a wrapper around this so we can use an abap.  Below is the code I am unit testing.  Two questions.  First, can a grant be done via native SQL in abap?  Second, if it can be done, what is the error with the logic where I am trying to put in the table name via a parameter.
    REPORT  ZLJTEST2.
    tables dd02l.
    DATA scarr_carrid TYPE dd02l-tabname.
    SELECT-OPTIONS s_carrid for dd02l-tabname no intervals.
    DATA s_carrid_wa LIKE LINE OF s_carrid.
    DATA name TYPE c LENGTH 20.
    TRY.
        EXEC SQL.
          CREATE FUNCTION selfunc( input CHAR(20) )
            RETURNING char(20);
            DEFINE output char(20);
            set schema sapr3;
            grant select on table input to group infouser;
            RETURN output;
            END FUNCTION;
        ENDEXEC.
        LOOP AT s_carrid INTO s_carrid_wa
                         WHERE sign = 'I' AND option = 'EQ'.
          TRY.
             EXEC SQL.
                EXECUTE PROCEDURE selfunc( IN  :s_carrid_wa-low,
                                           OUT :name )
              ENDEXEC.
              WRITE: / s_carrid_wa-low, name.
            CATCH cx_sy_native_sql_error.
              MESSAGE `Error in procedure execution` TYPE 'I'.
          ENDTRY.
        ENDLOOP.
        EXEC SQL.
          DROP FUNCTION selfunc;
        ENDEXEC.
      CATCH cx_sy_native_sql_error.
        MESSAGE `Error in procedure handling` TYPE 'I'.
    ENDTRY.

    Hi,
    Yes it is posible.
    I made one program like you want. But it need very long code.
    Here I explain the idea:
    1. Create Screen with input TEXT EDIT CONTROL.
        This is for input SQL Statement.
    2. Get SQL Statement from Text Edit Control using method <b>get_text_as_r3table</b>.
    3. Now we need to separate SQL Statement into different table.
        We Separate SELECT, FROM, WHERE, GROUP, HAVING, ORDER, etc.
    4. We need dynamic internal table to store the data.
    5. Select the data according SQL statement.
          SELECT (IT_SELECT)
            into corresponding fields of table  <dyn_table>
          FROM (IT_FROM)
          WHERE (IT_WHERE)
          GROUP BY (IT_GROUP)
          HAVING (IT_HAVING)
          ORDER BY (IT_ORDER).
    6. Display our data using ALV GRID
    Hopefully it will help you.
    Regards,

  • Grant Agent Job Reader/Operator permission in SQL SERVER 2000

    Hello Experts
    Today I got a request to grant sql server agent job read access. The server is SQL 2000. It was totally new for me. I googled but couldn't find anything useful. I feel pretty uncomfortable with SQL 2000. Have never worked before. Please help.
    Thanks alot in advance

    Hi Prasant,
    If you grant a user read access to SQL Server 2000 agent jobs by adding the user to TargetServersRole role in msdb, please note that TargetServerRole is available from SQL Server 2000 Service Pack 3. Prior to SQL Server 2000 SP3 the user must be added to the
    sysadmin group in order to view the jobs that are owned by sysadmin group.
    Besides, if you need to grant a user permission to create/modify/delete jobs in SQL Server 2000, then the user must be added as a member of the sysadmin role.
    Reference:
    How to allow access to non sysadmin users to view status of sysadmin owned scheduled jobs?
    Thanks,
    Lydia Zhang

  • Granting Privileges.

    Hi all,
    I have created user A.I want A to SELECT,INSERT,UPDATE the tables of user B,but A should not have DELETE privis.
    For granting this privilege.
    If i give GRANT SELECT ANY TABLE TO USER A.? for SELECTing tables..
    Is it right or will the user be able to all the select all tables (OF OTHER USERS ALSO) if I grant this privilege..?
    And for INSERT and UPDATE what grants I need to give.?
    Edited by: soundar on Nov 6, 2009 12:56 AM

    Hi,
    "ANY" privilrges are very tricky. They will grant you access on all objects in DB that means objects on all schemas and not only one.
    If you "GRANT SELECT ANY TABLE" to user A, he can select ffrom any table in DB (including all SYS tables, provided he can access though proper synonyms).
    The best idea would be to grant explicit privileges. You can write a small script to generate all grant statements.
    set pagesize 1000 heading off feedback off
    spool grants.sql
    select 'GRANT SELECT, INSERT, UPDATE ON ' || table_name || ' TO A' from dba_tables where owner = 'B';
    spool offYou can then executee this script as:
    @grants.sql

  • How to exclude table grants from getting being streamed

    I have one way schema level streams replication setup with DDL. The destination database does not have all the roles and users setup that the source database has so when a grant happens on the source and the role or user does not exist in the destination database the grant fails and I get an apply error. I want to be able to ignore these.
    Thanks

    Assigning grants is not an automated process so why not use the DBMS_STREAMS.SET_TAG on source DB into the session and then issue the grant :
    SQL> exec DBMS_STREAMS.SET_TAG(tag => HEXTORAW('17'));
    PL/SQL procedure successfully completed.
    grant MY_ROLE to MY_OWNER ;
    -- the grant is not captured by streams, so not apply error
    SQL> exec DBMS_STREAMS.SET_TAG(tag => null ) ;
    PL/SQL procedure successfully completed.
    -- capture enabled again in this sessionhttp://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_strm.htm

  • Granting Pvivileges on a schema

    grant all on schema schemaname to user
    when i execute this command missing keyword error is shown..how can i resolve??

    Thats qustion pertaining to database section as it your first post so i am answering you becareful next time
    SQL>
    SQL> sho user
    USER is "SYSTEM"
    SQL> select * from system_privilege_map
    2 where name like '%PRIV%';
    PRIVILEGE NAME PROPERTY
    -167 GRANT ANY PRIVILEGE 0
    -244 GRANT ANY OBJECT PRIVILEGE 0
    SQL>
    SQL> -- Create a new user with just create session (to log on) and grant
    SQL> -- any privilege to, well grant all privileges.
    SQL> create user emil identified by emil;
    User created.
    SQL> grant create session, grant any privilege to emil;
    Grant succeeded.

  • GRANT user privilages

    I have created a system admin in oracle xe 10g edition. I attempted to create a user defined type and got the insufficient priviliges error.
    I need help with GRANT sql statements that will aloow me to create these types.
    Any help much appreciated.

    From the following e-book:
    Oracle® Database SQL Reference
    10g Release 2 (10.2)
    Part Number B14200-02
    Prerequisites:
    To create a type in your own schema, you must have the CREATE TYPE system
    privilege. To create a type in another user's schema, you must have the CREATE
    ANY TYPE system privilege. You can acquire these privileges explicitly or be
    granted them through a role.
    To create a subtype, you must have the UNDER ANY TYPE system privilege or the UNDER object privilege on the supertype.
    The owner of the type must be explicitly granted the EXECUTE object privilege in
    order to access all other types referenced within the definition of the type, or the
    type owner must be granted the EXECUTE ANY TYPE system privilege. The
    owner cannot obtain these privileges through roles.
    If the type owner intends to grant other users access to the type, then the owner
    must be granted the EXECUTE object privilege on the referenced types with the
    GRANT OPTION or the EXECUTE ANY TYPE system privilege with the ADMIN OPTION. Otherwise, the type owner has insufficient privileges to grant access on
    the type to other users.
    Greetings....
    Sim

  • Transparent Gateway Oracle 9i - MS SQL Server

    Hello from Germany,
    I tried to generate a gateway from my Oracle 9i Database to the MSSQL, both databases running on the same machine!
    I don´t know why, but its not working! TNSPing is ok, but a select to the databaselink gives me the ORA-28500 mistake.
    Here are my facts:
    MSSQL-User: Test Password: tt (everything granted)
    SQL-Server-DB: "Videothek"
    ###########init.ora (initvideothek.ora)#########
    HS_FDS_CONNECT_INFO=localhost.videothek
    HS_FDS_RECOVERY_ACCOUNT=Test
    HS_FDS_RECOVERY_PWD=tt
    HS_FDS_TRACE_LEVEL=DEBUG
    ###########listener.ora###################
    LISTENER=
    (DESCRIPTION_LIST=
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = 127.0.0.1)
    (PORT = 1521)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = Videothek)
    (ORACLE_HOME = D:\Programme\DB\Oracle\Ora92)
    (PROGRAM = tg4msql)
    #########tnsnames.ora#####################
    Videothek =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = Videothek)
    (HS=OK)
    ########database-link#########
    create database link Videothek
    connect to Test identified by tt
    using 'Videothek'
    select * from tbkunde@videothek gives me the mistake:
    ORA-02068
    ORA-28511 and
    ORA-28509
    It would be very kind of You to give me a hint!
    Best Regards
    Marlon Schreiber

    Hello Tak, hello Scott,
    thank You for the suggestions You gave me meanwhile!
    Returned from holidays I'm still frustrated because my Transparent gateway is not working!
    From my point of view I tried everything!
    Listener is starting up without any problems and tnsping is working also!
    Again I'll give You my konfiguration-information hoping You can help me!
    Transparent gateway installed on Win2003 (Oracle 9.2i with 9.2.0.4-Patch)
    MSSQL-Server installed on seperate Win2003-machine (IP: 192.168.48.15)
    MSSQL-User: sa --> password:dd
    ######### initMARLONTG.ora ############
    # HS init parameters
    HS_FDS_CONNECT_INFO="SERVER=192.168.48.15;DATABASE=Videothek"
    HS_FDS_FEFAULT_OWNER=sa
    #HS_FDS_RECOVERY_ACCOUNT=sa
    #HS_FDS_RECOVERY_PWD=dd
    HS_FDS_TRACE_LEVEL=DEBUG
    ######### listener.ora ##############
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = 127.0.0.1)
    (PORT = 1521)
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = 127.0.0.1)
    (PORT = 1434)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = BNS)
    (ORACLE_HOME = D:\Programme\DB\Oracle\Ora92)
    (SID_NAME = BNS)
    (SID_DESC =
    (SID_NAME = MARLONTG)
    (ORACLE_HOME = D:\Programme\DB\Oracle\Ora92)
    (PROGRAM = tg4msql)
    ########### tnsnames.ora #############
    BNS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = BNS)
    (SERVER = DEDICATED)
    TG4MSSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1434))
    (CONNECT_DATA=(SID=MARLONTG))
    (HS=OK)
    ########## SQLNET.ora #########
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    ########## Created database-link #######
    create database link TESTLINK
    connect to SA identified by DD
    using 'TG4MSSQL';
    When I try a select on the database-link I get the ORA-02068, ORa-28511 and ORA-28509 failure-messages!
    If I look the trace-files it appears as I'm able to connect to MSSQL but somewhere is an unknown error:
    ######### trace-file ######
    Oracle Corporation --- MITTWOCH SEP 07 2005 14:17:06.853
    Heterogeneous Agent Release
    9.2.0.4.0
    (0) hoagprd (2): ; Entered.
    (0) (0): ; [Transparent gateway for MSSQL] version: 3.3.00.00.0030
    (0) (0): ; Class version: 117
    (0) hoagprd (2): ; Exited with retcode = 0.
    (0) hoainit (3): ; Entered.
    (0) (0): ; connect string is: defTdpName=MARLONTG;SYNTAX=(ORACLE8_HOA,
    (0) BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",
    (0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj>
    <binding>
    <datasources>
    (0) <datasource name='MARLONTG' type='MSSQLODBC'
    (0) connect='SERVER=192.168.48.15;DATABASE=Videothek'>
    (0) <driverProperties/></datasource></datasources><environment>
    <misc
    (0) year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
    (0) parserDepth='2000' noInsertParameterization='true'
    (0) noThreadedReadAhead='true'/><debug
    (0) generalTrace='true'/></environment></binding></navobj>
    (0) ORACLE SQL SERVER GATEWAY Log File Started at 07-Sep-05 14:17:06
    (0) hoainit (3): ; Exited with retcode = 0.
    (0) hoalgon (7): ; Entered. name = SA.
    (0) Created new MSSQLODBC connection (15668040)
    (0) MESSAGE.C (1): ; Unexpected error opening message catalog
    (0) D:\Programme\DB\Oracle\Ora92\tg4msql\nls\eng\msg_base.msg
    (0) MESSAGE.C (190): ;
    (0) MESSAGE.C (11): ; Cannot open message file
    (0) D:\Programme\DB\Oracle\Ora92\tg4msql\nls\eng\msg_base.msg
    (0) DATABASE.C (475): ;
    (0) hoalgon (7): ; Exited with retcode = 0.
    (0) hoaulcp (4): ; Entered.
    (0) hoaulcp (4): ; Exited with retcode = 0.
    (0) hoauldt (5): ; Entered.
    (0) hoauldt (5): ; Exited with retcode = 0.
    (0) hoabegn (9): ; Entered. formatID = 306206, hoagttln = 24, hoagttid =
    (0) BUILD.06bf057.2.19.40973, hoagtbln = 10, hoagtbid = , tflag = 0, initial = 1
    (0) hoabegn (9): ; Exited with retcode = 0.
    (0) hoadtab (26): ; Entered. count = 1
    (0) hoadtab (26): ; schema_name = , table_name = TBKUNDE
    It would be very kind of You to give me any hint!
    Thanks for Your patience!
    Best regards from Germany!
    Marlon

  • Grant access to all object/tables in other schemas to a user

    Is there any and simple way to grant access to all object/tables in other schemas (more than one) to a scheme/user?
    Thanks.
    Tarman.

    HI.
    grant SELECT ANY TABLE,delete any table, insert any table to user; Giving this delete,insert ANY TABLE privilege to a user can be dangerous and the use can mislead it. Its better to create a dynamic script and then grant it.
    E.g Suppose you want to give select,inert,delete,update privileges to user A on user B's object.
    sql> spool grants.sql
    sql> select 'grant select,insert,update,delete on '||owner||'.'||table_name||' to A;' from dba_tables where owner='B';
    sql>@grants.sqlHTH
    Anand

  • Grant select on all tables of a schema

    I need to grant select on all tables (over 200 tables) of a schema to other users. Are there any SQL syntax to do this?
    Thanks!

    Execute the following script, modify it for your environment:
    Script
    Accept from_owner char prompt 'Grant from user:'
    Accept to_user char prompt 'grant to user:'
    set head off;
    set lines 300;
    set pages 0;
    set termout off;
    set feedback off;
    set head off;
    set verify off;
    spool d:\temp\grant.sql
    select 'grant select on &from_owner..'||
      table_name||
      ' to &to_user;'
      from dba_tables
      where owner=upper('&&from_owner');
    spool off;
    set head on;
    set pages 24;
    set termout on;
    set feedback on;
    set head on;
    @d:\temp\grant.sqlExecution example:
    system@DBA> @d:\temp\grants.sql
    Grant from user:scott
    grant to user:ejemplo
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.

  • Peoplesoft signon error after run psbuild.sql

    I followed the PT849 installation guide
    Task B-15-6: Altering PeopleTools Tables
    ALTER AUDIT is an online utility used to check whether the PeopleTools tables are synchronized with the
    underlying SQL data tables in your database. This process compares the data structures of your database tables
    with the PeopleTools tables to uncover inconsistencies. ALTER AUDIT then reports its findings. In this
    release, we expect to see differences between the database structure and the tools tables. You will generate and
    run a SQL script to synchronize the PeopleTools table definitions with the underlying tables in your database.
    After run the script psbuild.sql generated by Application Designer
    I found I can't login use VP1/VP1

    Try to run grant.sql once again. The ALTER AUDIT might change (drop+create) some tables and then remove grant to people user. By issuing grant.sql (after updating correctly) you reapply the grant as well.
    Nicolas.

  • Search is not working in HCM9.1 , pt8.52 after install

    Hi I just installed HCM9.1 with Peopletools 8.52 on windows xp 32bits with Oracle 11g. This is my first install ever.
    When I login online the search does not work (when i click search on any page that has a search record it just shows that progress gif image but nothing happens.)
    I logged in using PS/PS
    any ideas of what I did wrong during the installation?
    These are the steps I followed.
    1-Installed Oracle11g
    2-Installed web logic
    3-Installed Tuxedo and defined TUX_DIR
    4-Installed Peopletools in C:\pt8.52 and HCM9.1 in c:\hcm9.1 nad Verity
    5-Manualy created a database called HRSD using initHRSD.ora and configured the listner and defined ORACLE_SID , ORACLE_HOME and created the spfile.
    then ran the scripts in the documentation to create namespaces , roles , dbowner etc
    6-configured the application designer
    7-loged into datamover and installed a demo hcm9.1
    8-ran grant.sql
    9-ran pt851u.sql and pt852u.sql.
    10-configured the application server and booted it.
    Created a new domain and configured it and started it. 8 processes start
    11-configured the web server and started the PIA.
    12-loged in successfully but the search does not work
    Edited by: user2003312 on Feb 17, 2012 7:42 AM

    Hi,
    First of all I am very surprised you were able to get so far with the installation, since PeopleTools 8.52 is not certified on 32 bits systems and definitely not on Windows XP.
    However,
    Your are trying to install HCM 9.1 which is delivered with PeopelTools 8.50 and you are installing PeopleTools 8.52 so, you should have run the scripts as defined in chapter Updating PeopleTools System Tables in the installation manual to update your HCM 9.1 to PeopelTools 8.51.
    Did you run these scripts?
    If not please complete these steps as described in the installation manual.
    And I also do not see you mention you have installed any PeopleTools patch. We are currently at 8.52.05. It is common at installations to patch PeopelTools to the last patch level.
    Hakan

  • Install HRCS 9.0 R5 with Linux Issue: upgrade Database HRCS 9.0 from PT8.52 to PT8.53

    Folks,
    Hello. I have been installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and client machine is Windows XP.  My internet architecture is WebLogic11g/Tuxedo11g/OracleDatabase 11gR1. Peopletools 8.53 runs correctly in browser.
    In Oracle Linux 5.10 Database Server machine, I run the scripts "createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql" one by one. Then I use Data Mover to load data from Windows XP into Oracle Linux 5.10 DB instance HRCS90. The Data Mover script hrcs90ora.dms completes successfully in Windows XP. Configuration Manager is set up correctly.  But when I login into Application Designer, I cannot login and get the message as below:
    "Security Table Manager (Get): The database is at release 8.52.  The PeopleTools being run require databases at release 8.53."
    I have been following the document http://docs.oracle.com/cd/E37306_02/psft/acrobat/PeopleTools-8.53-Upgrade_02-2013.pdf to upgrade HCM and Human Resources 9.0 Revision 5 Database Instance HRCS90 in Oracle Database Server with Linux. I have been following chapter 4 task by task to do. Actually, I have run 4 scripts into HRCS90 as below:
    Task 4-3-5: run rel853.sql at SQL> in Linux.
    Task 4-3-6: run grant.sql at SQL> in Linux.
    Task 4-5-3: run ddlora.dms in Windows XP Data Mover into HRCS90.
    Task 4-6: run msgtlsupg.dms in Windows XP Data Mover into HRCS90.
    Then need to run Task 4-7 to copy project ppltls84cur Project in Application Designer. When login into Application Designer with Database HRCS90 and UserID and pwd PS, I get the same error message as below:
    "The database is at release 8.52. The PeopleTools being run require Database at release 8.53."
    Application Designer is supposed to login by Task 4-7 to copy projects but it cannot. I have tried to fing out what's wrong as below:
    In task 4-1-3: I cannot run script dbtsfix.sqr in Linux and Windows XP.
    In task 4-1-9: script ptupgibdel.sql does not have the string "End of PT8.53". There is no script ptupgibdel853.sql to run.
    In task 4-3-6: when run script grant.sql, table PSSTATUS and PSACCESSPRFL don't exist. There is only PSOPRDEFN table.
    I continue to do task by task in chapter 4 until task 4-27 that's the end, but Application Designer still cannot login. All of Application Engine Programs and SQR Programs cannot run.
    My questions are:
    First, does Oracle Database HRCS90 has table PSOPRDEFN only without table PSSTATUS and PSACCESSPRFL ?
    Second, what's the error by task 4-7 when Application Designer still cannot login ?
    Third, why Application Designer still cannot login a the end of doing chapter 4 task 4-27 ? How to solve the issue ?
    Thanks.
    Thanks.

    I'm not quite sure what you are missing, but it looks like you missed a script which could cause problems.  You need to look through your logs for errors. Are you running rel853 as the AccessID user?  I don't know how you would trash PSSTATUS in this process.
    You don't mention running this.
    Task 4-3-2:  Creating Tablespaces
    This step runs the PTDDLUPG script, which builds new tablespaces as part of the upgrade to the new PeopleSoft release.
    It creates tablespace PSIMAGE2, which doesn't exist in the datamover load you did.  Oracle moves and puts around 208 tables here when you run rel853 from what I see.
    The first line of rel853 is
    UPDATE PSSTATUS SET TOOLSREL='8.53',
                      LASTREFRESHDTTM = SYSDATE
    This is what changes the tools release, sometimes people just run this one update to gain quick and dirty access to a different version.
    I pulled this download and ran through it myself without incident doing all the steps you say, adding in 4-3-2 which you seemed to have skipped.  I built a system database.
    My hcengs.log shows
    Importing  PSSTATUS
    Creating Table  PSSTATUS
    Import  PSSTATUS  1
    Building required indexes for PSSTATUS
    Updating statistics for PSSTATUS
    Records remaining: 7686
    After import, PSSTATUS is
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.52
    After running rel853n it's now
    SQL> COMMIT
      2  ;
    Commit complete.
    SQL> SPOOL OFF
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.53
    I ran the other 3 quick scripts.  Not sure if it was necessary, but I reset the passwords and re-encrypted them with the new 8.53 datamover for the new salted encryption and fired up app designer.  It works.  By the way, you should probably run rel853n, it utilizes "newer" (for PeopleSoft that is) data-types than just rel853.sql that were delivered with the 9.0 application line.  Since this is a new 9.0 based app build it should be used.

  • Install HRCS 9.0 R5 with Linux Issue: upgrade HRCS 9.0 from PT8.52 to PT8.53

    Folks,
    Hello. I have been installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and client machine is Windows XP.  My internet architecture is WebLogic11g/Tuxedo11g/OracleDatabase 11gR1. Peopletools 8.53 runs correctly in browser.
    In Oracle Linux 5.10 Database Server machine, I run the scripts "createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql" one by one. Then I use Data Mover to load data from Windows XP into Oracle Linux 5.10 DB instance HRCS90. The Data Mover script hrcs90ora.dms completes successfully in Windows XP. Configuration Manager is set up correctly.  But when I login into Application Designer, I cannot login and get the message as below:
    "Security Table Manager (Get): The database is at release 8.52.  The PeopleTools being run require databases at release 8.53."
    I have been following the document http://docs.oracle.com/cd/E37306_02/psft/acrobat/PeopleTools-8.53-Upgrade_02-2013.pdf  to upgrade HCM and Human Resources 9.0 Revision 5 Database Instance HRCS90 in Oracle Database Server with Linux. I have been following chapter 4 task by task to do. Actually, I have run 4 scripts into HRCS90 as below:
    Task 4-3-5: run rel853.sql at SQL> in Linux.
    Task 4-3-6: run grant.sql at SQL> in Linux.
    Task 4-5-3: run ddlora.dms in Windows XP Data Mover into HRCS90.
    Task 4-6: run msgtlsupg.dms in Windows XP Data Mover into HRCS90.
    Then need to run Task 4-7 to copy project ppltls84cur Project in Application Designer. When login into Application Designer with Database HRCS90 and Username PSADMIN, I get the same error message as below:
    "The database is at release 8.52. The PeopleTools being run require Database at release 8.53."
    Application Designer is supposed to login by Task 4-7 to copy projects but it cannot. I have tried to fing out what's wrong as below:
    In task 4-1-3: I cannot run script dbtsfix.sqr in Linux and Windows XP.
    In task 4-1-9: script ptupgibdel.sql does not have the string "End of PT8.53". There is no script ptupgibdel853.sql to run.
    In task 4-3-6: when run script grant.sql, table PSSTATUS and PSACCESSPRFL don't exist. There is only PSOPRDEFN table.
    I continue to do task by task in chapter 4 and chapter 5, but Application Designer still cannot login and all of Application Engine Programs cannot run. Windows XP cannot run SQR programs. Tuxedo Application Server cannot boot in Linux. Both Application Designer and Tuxedo Application Server gets the same error message: "The database is at release 8.52. The PeopleTools being run require Database at release 8.53."
    My questions are:
    First, does Oracle Database HRCS90 has table PSOPRDEFN only without table PSSTATUS and PSACCESSPRFL ?
    Second, what's the error by task 4-7 when Application Designer still cannot login ?
    Third, why Application Designer still cannot login and get the same error message after finish doing chapter 4 and chapter 5 ? How to solve the issue ?
    Thanks.

    I'm not quite sure what you are missing, but it looks like you missed a script which could cause problems.  You need to look through your logs for errors. Are you running rel853 as the AccessID user?  I don't know how you would trash PSSTATUS in this process.
    You don't mention running this.
    Task 4-3-2:  Creating Tablespaces
    This step runs the PTDDLUPG script, which builds new tablespaces as part of the upgrade to the new PeopleSoft release.
    It creates tablespace PSIMAGE2, which doesn't exist in the datamover load you did.  Oracle moves and puts around 208 tables here when you run rel853 from what I see.
    The first line of rel853 is
    UPDATE PSSTATUS SET TOOLSREL='8.53',
                      LASTREFRESHDTTM = SYSDATE
    This is what changes the tools release, sometimes people just run this one update to gain quick and dirty access to a different version.
    I pulled this download and ran through it myself without incident doing all the steps you say, adding in 4-3-2 which you seemed to have skipped.  I built a system database.
    My hcengs.log shows
    Importing  PSSTATUS
    Creating Table  PSSTATUS
    Import  PSSTATUS  1
    Building required indexes for PSSTATUS
    Updating statistics for PSSTATUS
    Records remaining: 7686
    After import, PSSTATUS is
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.52
    After running rel853n it's now
    SQL> COMMIT
      2  ;
    Commit complete.
    SQL> SPOOL OFF
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.53
    I ran the other 3 quick scripts.  Not sure if it was necessary, but I reset the passwords and re-encrypted them with the new 8.53 datamover for the new salted encryption and fired up app designer.  It works.  By the way, you should probably run rel853n, it utilizes "newer" (for PeopleSoft that is) data-types than just rel853.sql that were delivered with the 9.0 application line.  Since this is a new 9.0 based app build it should be used.

Maybe you are looking for