Creating report

Ask/Clarify the questions on EASYTRIEVE

Moderators: DikDude, Moderator Group

Post Reply
trushant
Member
Posts: 17
Joined: Thu Sep 12, 2013 5:21 pm

Creating report

Post by trushant » Thu Jan 23, 2014 1:03 pm

I have two files
file 1 (pos 214)
13
13
14
21
25
26
31
33
36

file2

11 (means in this file every 1-5 have 1-6 entries
12
13
14
15
16
21
22
23
24
..
..
56



My requirement is to get count of some specific fields from filea for all records of fileb
Ad those records which are not present in filea should be set to 0

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Jan 24, 2014 1:15 am

You need to provide a more clear explanation of what you want to do. You have not explained "the rules".
means in this file every 1-5 have 1-6 entries
What does this mean?

You need to post the output you want from the specified input.
Have a good one

Josdirut
Member
Posts: 2
Joined: Fri Mar 13, 2015 8:41 am
Contact:

Post by Josdirut » Fri Mar 13, 2015 9:02 am

I saw this forum content Interesting that so much.

NethajiR
Member
Posts: 1
Joined: Mon Jun 29, 2015 4:01 pm

Post by NethajiR » Mon Jun 29, 2015 4:03 pm

Hello Everyone,

Whenever the report is getting printed, the input file field name is also getting printed in the first line of each page of that report, Could you please assist me by advising how can i remove that?

Thanks in Advance!

Regards,
Nethaji R

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Jul 01, 2015 8:23 pm

Have a look of the documentation for the REPORT statement. From that you can work out how to turn it off. The default column-name for a field is the field-name.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others