IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem in Easytrieve report generation


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prem.y

New User


Joined: 09 Feb 2011
Posts: 7
Location: Hyderabad

PostPosted: Mon Mar 28, 2011 7:33 pm
Reply with quote

Hi,

I am trying to generate the report as follows using easytrieve program

Code:



3/28/2011                      S U M M A R Y -                     PAGE      1
                         PROC-IND   TYPE    COUNT
                       ----------   ------  ---------- 
                     FILIN-CRDT   FILIN-PROG     TALLY
                     DTCY/CCAN                         5
                     DTCY/CCAN                         5
                     DTCY/DLVA                        16
                     DTCY/DLVA                        16
                                                              21


But i am getting as follows

Code:


3/28/2011                      S U M M A R Y -                     PAGE      1
                          PROC-IND   TYPE    COUNT

                     FILIN-CRDT   FILIN-PROG     TALLY
                     DTCY/CCAN                         5
                     DTCY/CCAN                         5
                     DTCY/DLVA                        16
                     DTCY/DLVA                        16
                                                              21



I want to insert a extra lines(Like : ---------- ----- ------- ) between title and heading
Title --> PROC-IND TYPE COUNT

Heading--> FILIN-CRDT FILIN-PROG TALLY

Code as follows:

Code:


TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND   TYPE    COUNT '
HEADING  FILIN-CRDT ('FILIN-CRDT')
HEADING  FILIN-PROG ('PROG')
HEADING  TALLY      ('TALLY')
LINE 01  FILIN-CRDT FILIN-PROG  TALLY

Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Mar 28, 2011 7:54 pm
Reply with quote

EASYTRIEVE is a CA product.
Please learn to post in the correct forum.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Mar 28, 2011 10:00 pm
Reply with quote

How about this (and RTFM) :

TITLE 03 '---------- ------ ----------'

And change this :

Never give up until you try and succeed:-)

into

Never give give up, till other people do your work.
Back to top
View user's profile Send private message
Prem.y

New User


Joined: 09 Feb 2011
Posts: 7
Location: Hyderabad

PostPosted: Tue Mar 29, 2011 12:41 pm
Reply with quote

Thanks Peter icon_smile.gif

Now My requirement is changed. Expecting to be as follows

Code:

 
3/28/2011                      S U M M A R Y -                     PAGE      1
                         PROC-IND   TYPE    COUNT
                         
                     FILIN-CRDT   FILIN-PROG     TALLY
                    ----------    ---------     ----------
                     DTCY/CCAN                         5
                     DTCY/CCAN                         5
                     DTCY/DLVA                        16
                     DTCY/DLVA                        16
                                                              21



Expecting the lines ( --------- ------- ---------- ) after heading

I tried but not able to get the expected one.do needul.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 29, 2011 1:35 pm
Reply with quote

As far as i see it nothing changed in your requirement (your 1st post)
So you say the following is not working ? :

Code:

TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND   TYPE    COUNT '
TITLE 03 '---------- ------ ----------'
HEADING  FILIN-CRDT ('FILIN-CRDT')
HEADING  FILIN-PROG ('PROG')
HEADING  TALLY      ('TALLY')
LINE 01  FILIN-CRDT FILIN-PROG  TALLY


And maybe you show your whole REPORT statement?
Back to top
View user's profile Send private message
Prem.y

New User


Joined: 09 Feb 2011
Posts: 7
Location: Hyderabad

PostPosted: Tue Mar 29, 2011 1:59 pm
Reply with quote

The above code which you pasted is working fine and lines will be displayed in the report after Title 02 ( i.e after 'PROC-IND TYPE COUNT ) , but here my requirement is I want the lines to be displayed in the report after Heading(i.e after FILIN-CRDT FILIN-PROG TALLY
) as

Code:

TITLE 01 'S U M M A R Y - '
TITLE 02 'PROC-IND   TYPE    COUNT '
HEADING  FILIN-CRDT ('FILIN-CRDT')
HEADING  FILIN-PROG ('PROG')
HEADING  TALLY      ('TALLY')
TITLE 03 '---------- ------ ----------'
LINE 01  FILIN-CRDT FILIN-PROG  TALLY


When i put TITLE 03 after heading then Job ending with Maxcc=16

The report should look like:
Code:

3/28/2011                      S U M M A R Y -                     PAGE      1
                         PROC-IND   TYPE    COUNT
                         
                     FILIN-CRDT   FILIN-PROG     TALLY
                    ----------    ---------     ----------
                     DTCY/CCAN                         5
                     DTCY/CCAN                         5
                     DTCY/DLVA                        16
                     DTCY/DLVA                        16
                                                              21


and not like:
Code:


3/28/2011                      S U M M A R Y -                     PAGE      1
                         PROC-IND   TYPE    COUNT
                       ----------   ------  ---------- 
                     FILIN-CRDT   FILIN-PROG     TALLY
                     DTCY/CCAN                         5
                     DTCY/CCAN                         5
                     DTCY/DLVA                        16
                     DTCY/DLVA                        16
                                                              21


Suggest me icon_neutral.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 29, 2011 2:06 pm
Reply with quote

My bad, i missed the '----' after the heading.

But try this :

HEADING FILIN-CRDT ('FILIN-CRDT' '----------')

etc.

And you still didnt RTFM icon_eek.gif

One or more alphanumeric literal values specify the content of the alternate
heading. Multiple literals within the parentheses are stacked vertically over the
field when printed.
Back to top
View user's profile Send private message
Prem.y

New User


Joined: 09 Feb 2011
Posts: 7
Location: Hyderabad

PostPosted: Tue Mar 29, 2011 2:32 pm
Reply with quote

Thanks a lot Peter icon_biggrin.gif

Its working icon_smile.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 29, 2011 2:45 pm
Reply with quote

Everything i suggest is working icon_mad.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 29, 2011 2:59 pm
Reply with quote

the only thing that seldom works around here is the suggestion to read the manuals icon_wink.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 29, 2011 3:08 pm
Reply with quote

Enrico, thats the terrible truth.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Mar 29, 2011 3:51 pm
Reply with quote

Why read it yourself when you have staff to do it for you icon_lol.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 29, 2011 6:19 pm
Reply with quote

That was a long time ago when i was a "staff" member, after a while my a-social behavior helped me to form my own staff, that was me and myself.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Started task using a generation dataset JCL & VSAM 7
Search our Forums:

Back to Top