PS Query & SQL

 View Only
  • 1.  Metadata records

    Posted 03-03-2025 07:28 PM

    Based on parts of previous discussions with this group that have come up,  what metadata records do you find helpful in your work? Here are a few I use often/have been mentioned. 

    • PSQRYDEFN - Query Definition
      • The header data for a query has information creation, updated, and descriptions
    • PSQRYRECORD - Query Record
      • All the records used in a query
      • helpful in finding and updating queries
    • PMN_PRCSLIST - Process Monitor Process List
      • Has the data on the Process Monitor
      • useful in tracking how long processes take
    • PSSQLTEXTDEFN - SQL Object Text
      • Has the SQL for views
      • Can help with debugging views or pulling helpful SQL
    • PSPRSMDEFN - Portal Structure Defn Tbl
      • Data on how and where different pages are located
      • helpful for data on navigation collections, activity guides, etc.


    ------------------------------
    Ross Nolan
    Data and Reporting Analysis
    University of California, Berkeley
    rvnolan@berkeley.edu
    ------------------------------
    Alliance 2026 Registration is Open!


  • 2.  RE: Metadata records

    Posted 03-04-2025 07:44 AM

    We could be friends.  I obsessive track my main job's run times. 

     




    Alliance 2026 Registration is Open!


  • 3.  RE: Metadata records

    Posted 03-04-2025 10:29 AM
    Ross,

    This is very helpful! Thank You for sharing!

    Mital Naik

    UT Arlington

     




    Alliance 2026 Registration is Open!


  • 4.  RE: Metadata records

    Posted 03-05-2025 12:16 PM

    I use PSOPRDEFN a lot. My main use is to identify OPRIDs I can use for testing, but I also use it for other queries. I recently used it to modify an existing query that we use to identify employees who have terminated or lost Self Service access so that we ensure that we print their W-2.

    PSROLEUSER is also useful for whenever I need to look at security, or find users with specific roles for testing.



    ------------------------------
    Audrey Liddy
    IT Business Analyst
    State of New Mexico
    ------------------------------

    Message from the HEUG Marketplace:
    ------------------------------
    Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the HEUG Marketplace.
    ------------------------------

    Alliance 2026 Registration is Open!


  • 5.  RE: Metadata records

    Posted 03-05-2025 03:02 PM
    In the same vein as PSQRYRECORD... PSQRYEXPR and PSQRYFIELD are other useful records when trying to find queries. 

    PSQRYCRITERIA is useful too, but perhaps not as much as the others on its own.

    There are times when I KIND OF remember writing a query several years ago. Using these records, I was able to find those queries that return a certain field, or chunk of an expression.

    I work in support of our Financial Aid Office; we also used these records to find all queries that called on a specific fields that we knew were changing because of the recent FAFSA Simplification.

    --
    Jeffrie Brooks | BUSINESS SYSTEM ANALYST
    UNIVERSITY OF MICHIGAN | INFORMATION AND TECHNOLOGY SERVICES
    734-647-8763 | jedobr@umich.edu



    Alliance 2026 Registration is Open!


  • 6.  RE: Metadata records

    Posted 03-05-2025 04:28 PM
      |   view attached
    There are all kinds of great tables out there.  I've attached a list of (some of) mine which was fed into a presentation done at Alliance '23.  The final list in the presentation I believe contains more entries.  The presentation is called "How to Speak PeopleTools", session # 9790 if you are interested in finding that.




    David Ehrlich | Senior Business System Analyst - Admissions, Student Records, Data & Reporting

    Duke University | Student Information Services & System (SISS)

    david.ehrlich@duke.edu | 919-684-1270

    www.sissoffice.duke.edu





    Attachment(s)

    xlsx
    P-Tools Tables.xlsx   12 KB 1 version
    Alliance 2026 Registration is Open!


  • 7.  RE: Metadata records

    Posted 03-05-2025 04:53 PM

    Hi Jeffrie,

    Along the lines of query metadata including access to query SQL I would highly suggest looking at @Scott Douglas' great presentation Query your query quarry quickly: Fun with PeopleSoft metadata tables. Our campus has been using the query SQL export which has been very helpful in searching for SQL snippets across all of our queries.  



    ------------------------------
    Ross Nolan
    Data and Reporting Analysis
    University of California, Berkeley
    rvnolan@berkeley.edu
    ------------------------------

    Alliance 2026 Registration is Open!


  • 8.  RE: Metadata records

    Posted 03-05-2025 09:34 PM
    What a great presentation. Thanks!



    Alliance 2026 Registration is Open!