home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / 3x400 / qryf.lzh / QRYF.DOC < prev    next >
Text File  |  1987-09-04  |  2KB  |  43 lines

  1.                  QRYF (Query report for a file) Command
  2.  
  3. The QRYF command can be used to create a temporary query program in
  4. QTEMP and list a file.
  5.  
  6.                            = *LIBL =========
  7. QRYF----FILE file-name---<                   >-----------------------
  8.                            - .library-name -
  9.  
  10. >-FORMAT--format-name------TITLE--'report-title'-(32 char max)-------
  11.  
  12.       (1)                        = *LIST ==========
  13. >-FIELDS--field-name-------USE-< - *SUM------------ >----------------
  14.                                  - *SBTx (x=1-9) --
  15.               (3)                    (2)
  16.           = *DFT ==========                 = *DFT ============
  17. >-EDIT--<                   >------SPACE--<                     >----
  18.           RPG edit code----                 - 1-9 -------------
  19.                                                  (4)
  20.             = *DFT =====================
  21. >-TITLE---<-- 'column title' or *BLANK -->---------------------------
  22.               │                       │
  23.                -- 3 maximum ----------                 Required
  24. ---------------------------------------------------------------------
  25.                               (5)                      Optional
  26.              = *FIRST========
  27. >---MEMBER-< - *OPNQRYF------ >-----
  28.              - member-name---
  29.  
  30. (1) Up to 10 fields may be specified
  31.  
  32. (2) SBTx indicates that subtotals are to be taken when this field
  33. changes, the x is a number between 1 and 9 which indicates the sort
  34. order with 1 being the highest.
  35.  
  36. (3) *DFT indicates to use the query utility default
  37.  
  38. (4) This is the number of spaces to insert before the column.
  39.  
  40. (5) When MEMBER is *OPNQRYF the reformat utility is used to copy the
  41. output from the OPNQRYF to a temporary file in QTEMP so that the
  42. generated query program can read it.
  43.