Production Reporting Samples

Production Reporting provides a library of sample Production Reporting programs you can use to customize and experiment with. If you installed Production Reporting in the default directory, the sample programs are in:

C:\Hyperion\products\biplus\docs\samples\Production Reporting

Modify these programs any way you like to create customized Production Reporting reports.

Table 90 lists the sample Production Reporting programs and provides a brief description of each. Each program consists of a report specification and a sample of the output.

Table 90. Production Reporting Sample Reports

Name

Description

_______.DAT

Data files used by the LOADALL.Production Reporting programs

_______.MEM

Startup files to run tiny, medium, and big Production Reporting programs

APPEND.SQR

Demonstrates the append and fixed-nolf commands

APTDIARY.SQR

Demonstrates columns, text wrapping

AREA100.SQR

Demonstrates a 100% area chart

BAR100.SQR

Demonstrates a 100% bar chart

BARCODE.SQR

Demonstrates printing a bar code

CALENDAR.SQR

Demonstrates nondatabase formatting

COMP_FOR.SQR

Prints a graph of the forecasted and actual sales for a given employee

COMP_F_G.SQR

Prints a graph of the forecasted and actual sales for month or quarter

COMP_PLN.SQR

Prints a graph of the planned and actual sales for a given employee

COMP_P_G.SQR

Prints a graph of the planned and actual sales for month or quarter

COVLET02.SQR

Uses Production Reporting to input data from user, enter data in the database, and write a form letter using a DOCUMENT paragraph

CRUPSAL.SQR

(Oracle) Creates stored functions and procedures for Oracle Version 7

CUST.SQR

Prints a list of all of the customers bursted by page

CUSTLBLS.SQR

Demonstrates printing mailing labels within columns

CUSTOMER.SQR

Demonstrates multiple detail lines, NEXT-LISTING command

CUSTOMR2.SQR

Demonstrates the use of the ON-BREAK argument to the PRINT command

CUSTOMR3.SQR

Demonstrates the use of the INPUT command to change report output

CUSTOMR4.SQR

Demonstrates the use of arrays

CUSTOMR5.SQR

Demonstrates dynamic queries to allow user to qualify a report as it runs

CUST_SUM.SQR

Prints and charts on a bar chart information about each customer in the customer table

CUSTTAPE.SQR

Demonstrates the flat file output for magnetic tape or other post-processing

DATAA.DAT

Needed for append.sqr

DATAB.DAT

Needed for append.sqr

DROPALL.SQR

Drops all the Production Reporting sample tables created by the LOADALL program

DROPPROC.SQR

(Sybase) Deletes leftover temporary stored procedures belonging to the user

DYNAMCOL.SQR

Demonstrates use of dynamic columns, dynamic tables and variables passed to ON‑ERROR procedure

EMP.SQR

Prints a list of all of the employees bursted by page

EMP_COMM.SQR

Calculates each employee's commission based on sales

EMP_P_Q.SQR

List all employee quotas for a given month or quarter

ENVELOPE.SQR

Demonstrates use of printing envelope with proper bar code

EXPORT.SQR

Creates two Production Reporting reports: one to export a database table, the second to import that table. Data from the table is stored in an external operating system file in compressed format, with trailing blanks removed.

FLATFILE.SQR

Creates a Production Reporting report to extract a database table and place it into a flat file

FLOATBAR.SQR

Demonstrates a floating bar chart

FOR_CUST.SQR

Sales forecast for given customer grouped by month or quarter

FOR_EMP.SQR

Sales forecast for given employee grouped by month or quarter

FOR_PROD.SQR

Sales forecast for given product grouped by month or quarter

FOR_REG.SQR

Sales forecast for given region grouped by month or quarter

FOR_SUM.SQR

Creates a table of projected product sales with links to more information

FORMLETR.SQR

Demonstrates form letters using a DOCUMENT paragraph

HILO.SQR

Demonstrates a high-low-close chart

HISTGRAM.SQR

Demonstrates a histogram chart

INQUIRY.SQR

Creates an Production Reporting program to display rows at your terminal selected from a database table you specify. The resulting Production Reporting program prompts you to qualify rows to be selected, display those rows, then repeat.

INVOICE.SQR

Demonstrates multiple reports, printing invoices, and printing envelopes

LOADALL.SQR

Creates and loads sample tables used in the above Production Reporting programs

Note: The sample tables are in ASCII format. As a result, you must specify a valid ASCII-derived encoding value in SQR.INI. For more information on encoding values, see Encoding Keys in the [Environment] Section.

MAKEDATA.SQR

Creates a data file with fixed length and NOLF attributes

MAKEREPT.SQR

Helps you create Production Reporting reports more quickly

MITI1.EPS

Needed for sqrlogo.sqr

MULTIPLE.SQR

Demonstrates creating multiple reports

NESTREPT.SQR

Demonstrates nesting of procedures

ORDERS.SQR

Lists all the orders and the orderlines associated with them

ORD_MONG.SQR

List all orders for a given month and group them by employee number

ORD_M_Q.SQR

List all orders for a given month or quarter

ORD_PROD.SQR

List all orders for a given product

ORD_REGG.SQR

Creates a report of all orders from a given region grouped by month or grouped by quarter

ORD_SUM.SQR

Displays an order's summary by month

ORD_S_Q.SQR

Prints a graph of the percent of orders for each region (in a year) and four graphs of the percent of orders for each region (one for each quarter of that year)

OVERBAR.SQR

Demonstrates an overlapped bar chart

PHONELST.SQR

Demonstrates printing within columns, page headings, and page footings

PLN_EMP.SQR

Sales plan for given employee grouped by month or quarter

PLN_GEN.SQR

Sales plan grouped by month or quarter

PLN_REG.SQR

Sales plan for given region grouped by month or quarter

PRODUCT.SQR

List of products and their prices and a graph of orders of products

SALELEAD.SQR

Demonstrates DOCUMENT paragraphs

SALES.SQR

Demonstrates charting from stored data and printing several charts on one page

SCATTER.SQR

Demonstrates a scatter chart

SHOWPROC.SQR

(Sybase) Shows any leftover temporary stored procedures belonging to the user

STCKAREA.SQR

Demonstrates a stacked area chart

SQR3DBAR.SQR

Demonstrates a 3D bar chart

SQRLASER.SQR

Demonstrates graphic and file I/O commands

SQRLINE.SQR

Demonstrates a line chart

SQRLOGO.SQR

Demonstrates printing images

SQRPIE.SQR

Demonstrates a pie chart

TABREP.SQR

Creates a tabular Production Reporting report for a table you choose

UPDATE.SQR

Generates an Production Reporting program that allows you to query and update database tables. The created program uses the SHOW command to simulate a menu interface.

UPDSAL.SQR

A sample report that demonstrates use of stored functions and procedures in Oracle