Peopletools 8.51 Peoplebook: SQR for Peoplesoft Developers

Peopletools 8.51 Peoplebook: SQR for Peoplesoft Developers

PeopleTools 8.51 PeopleBook: SQR for PeopleSoft Developers August 2010 PeopleTools 8.51 PeopleBook: SQR for PeopleSoft Developers SKU pt8.51tsqr-b0810 Copyright © 1988, 2010, Oracle and/or its affiliates. All rights reserved. Trademark Notice Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. License Restrictions Warranty/Consequential Damages Disclaimer This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. Warranty Disclaimer The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. Restricted Rights Notice If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. Hazardous Applications Notice This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications. Third Party Content, Products, and Services Disclaimer This software and documentation may provide access to or information on content, products and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third party content, products and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third party content, products or services. Contents Preface SQR for PeopleSoft Developers Preface ................................................................................................... xiii SQR for PeopleSoft Developers ................................................................................................................... xiii PeopleBooks and the PeopleSoft Online Library ......................................................................................... xiii Chapter 1 Getting Started with SQR for PeopleSoft .................................................................................................... 1 SQR for PeopleSoft Overview ........................................................................................................................ 1 SQR for PeopleSoft Implementation .............................................................................................................. 1 Other Sources of Information .......................................................................................................................... 2 Chapter 2 Introducing the Sample SQR Program ........................................................................................................ 3 Using with This Guide ..................................................................................................................................... 3 Setting Up the Sample Database ..................................................................................................................... 5 Considerations for DBX .................................................................................................................................. 6 Understanding the Sample Program for Printing a Text String ...................................................................... 6 Creating and Running a Sample SQR Program ............................................................................................... 7 Creating an SQR Program ........................................................................................................................ 7 Running an SQR Program ........................................................................................................................ 7 Viewing SQR Output ...................................................................................................................................... 8 Chapter 3 Creating Headings and Footings ............................................................................................................... 11 Understanding SQR Pages ............................................................................................................................ 11 Creating Page Headings and Footings ........................................................................................................... 11 Understanding the Heading and Footing Code Example ....................................................................... 11 Adding Page Headings ........................................................................................................................... 12 Adding Page Footings ............................................................................................................................ 12 Copyright © 1988, 2010, Oracle and/or its affiliates. All Rights Reserved. iii Contents Chapter 4 Selecting Data from the Database .............................................................................................................. 15 Understanding the Sample Program for Listing and Printing Data .............................................................. 15 Creating SQR Select Paragraphs ................................................................................................................... 16 Chapter 5 Using Column Variables ............................................................................................................................. 19 Using a Column Variable in a Condition ...................................................................................................... 19 Changing the Column Variable Name .......................................................................................................... 20 Chapter 6 Using Break Logic ....................................................................................................................................... 21 Understanding Break Logic .......................................................................................................................... 21 Using ON-BREAK ....................................................................................................................................... 22 Skipping Lines Between Groups .................................................................................................................. 23 Arranging Multiple Break Columns ............................................................................................................. 24 Using Break Processing Enhancements ......................................................................................................... 25 Controlling Page Breaks and Calculating Subtotals and Totals ............................................................. 25 Handling Page Breaks ............................................................................................................................ 27 Printing the Date ..................................................................................................................................... 28 Obtaining Totals ..................................................................................................................................... 28 Using Hyphens and Underscores ........................................................................................................... 29 Setting Break Procedures with BEFORE and AFTER ................................................................................. 29 Understanding the Order of Events ......................................................................................................... 30 Controlling Page Breaks with Multiple ON-BREAK Columns ................................................................... 33 Saving a Value When a Break Occurs .........................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    216 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us