• Rajesh A R

F1 for Mainframe

F1 for Mainframe

Tag Archives: report

EASYTRIEVE – REPORT STAEMENT

21 Wednesday Mar 2012

Posted by rajeshar in EASYTRIEVE

≈ 1 Comment

Tags

easytrieve, every, label, limit, linesize, mainframe, nodate, nopage, pagesize, printer, report, spread, statement, summary

EASYTRIEVE – REPORT STAEMENT

The syntax of the REPORT statement is diagrammed below.

REPORT report-name +

[SUMMARY] +

LABELS ([ACROSS literal-1] + Format

[DOWN literal-2] + Determination

[SIZE literal-3] +

[NEWPAGE]) +

[PRINTER file-name] + File Directing

[PAGESIZE ({literal-6a} [literal-6b])] +

[LINESIZE literal-5] +

[SPREAD] + Spacing

[NOSPREAD] + Control

[NOADJUST] +

[NODATE] +

[NOPAGE] +

[LIMIT literal-6] + Testing

[EVERY literal-7] Aids

Report-name – It is the name of the report that you provide at PRINT statement

SUMMARY – This is used if you want to print only the summary lines (CONTROL statement has the fields on which you want to total) and not the detail lines.

LABELS ([ACROSS literal-1] + Format

[DOWN literal-2] + Determination

[SIZE literal-3] +

[NEWPAGE]) +

LABELS are made use of when you want your output to look something as mentioned above. Here

  1. ACROSS – mentions number of labels side by side
  2. DOWN – Number of lines for each LABEL
  3. SIZE – specifies the width of the LABEL
  4. NEWPAGE – Specifies that each LABEL should be printed in a new page.

PRINTER file-name – This filename specifies your output file name. Ensure that you provide the PRINTER parameter after your filename in FILE section as well.

Ex: FILE OUTPUT1 PRINTER

PAGESIZE – The PAGESIZE option establishes the length of each printed page. Literal-6a specifies the page length for LINE statements. Literal-6b specifies the page length for REPORT procedure DISPLAY statements.

LINESIZE – Specifies the size of your line

SPRERAD/NOSPREAD – This option adjusts the spacing of the columns of your report. SPREAD specifies to maximize the number of spaces between columns. NOSPREAD deactivates the SPREAD option. In most cases, NOSPREAD is the default, which puts three characters between columns and centers the report on the printer page.

NOADJUST – This option left-justifies your report on the printer page. Centering is usually the default.

NODATE – No date is displayed in the first line of your report

NOPAGE – This option suppresses displaying PAGE with page number

LIMIT – This option specifies the number of PRINT statements accepted for this report and is useful for testing. The value of literal-6 sets the maximum number of lines desired. For example, you could limit the output of your report to the first 50 PRINT statements to make sure your column spacing is what you want.

EVERY – This option is also used for testing. Literal-7 specifies the occurrence value for processing every Nth PRINT command directed to the report. If you specified LIMIT 50 EVERY 10, you could sample the output from the first 500 PRINT statements for your report.

——————————————————————————————————–

In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog

——————————————————————————————————–

You may also like to look at:

Working on Mainframes – Is Change to a different technology necessary
Important SQL CODES and ABEND CODES
SORT JOIN – TO JOIN TWO FILES BASED ON A KEY
KNOW YOUR MAINFRAME
REXX – INITIAL SETUP
EASYTRIEVE – A023 ABEND
EASYTRIEVE – SORT and FILE COMPARISION
EASYTRIEVE – Special-name Report Procedures
EASYTRIEVE – REPORT STAEMENT
EASYTRIEVE – Sample Program – Table And Search
EASYTRIEVE – Sample Program – Display Totals and Summary
EASYTRIEVE – Sample Program – Display Employee Data
CA-Easytrieve/Plus – Basics
REXX TOOL # 02 – FSAVE – Save member opened in VIEW mode
REXX TOOL # 01 – O – Open Any Mainframe Element from any ISPF Screen
REXX – INDEX, POS, SUBSTR, COMPARE
REXX – READ THE DSN PROVIDED AS DD IN JCL
REXX – SEND MULTIPLE ARGUMENTS THROUGH JCL
REXX – HOW TO COMPILE YOUR REXX EXEC
REXX – CHANGE UPPER TO LOWER CASE
REXX – GET LAST 4 DAYS FROM GIVEN DATE
REXX – PANEL Definition
REXX – READ, CREATE AND WRITE DATA TO A DATASET
REXX TOOL TO SUBSTITUTE SYMBOLICS IN A PROC

 

Advertisement

Rate this:

← Older posts

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Archives

  • November 2020
  • July 2020
  • February 2020
  • January 2020
  • September 2019
  • August 2019
  • October 2018
  • April 2018
  • March 2018
  • December 2017
  • October 2017
  • August 2017
  • July 2017
  • June 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • May 2016
  • March 2016
  • February 2016
  • January 2016
  • May 2015
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • January 2013
  • December 2012
  • November 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • April 2011
  • March 2011
  • August 2009
  • June 2009
  • April 2009

Categories

  • Azure
  • CA7
  • CICS
  • COBOL
    • Keywords
  • DB2
  • EASYTRIEVE
  • FILEAID
  • FILEMAXX
  • IMS
  • ISPF
  • JCL
  • KNOW YOUR MAINFRAME
  • Mainframe Migration
  • MAINFRAMES
  • Others
  • REXX
  • SDSF
  • SORT
  • Training
  • TSQL
  • VSAM

Meta

  • Register
  • Log in

Blog at WordPress.com.

  • Follow Following
    • F1 for Mainframe
    • Join 88 other followers
    • Already have a WordPress.com account? Log in now.
    • F1 for Mainframe
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar