Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Adjust Heading Position in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Mon Dec 21, 2015 3:26 pm    Post subject: Adjust Heading Position in Easytrieve
Reply with quote

Hi All,

Need help on Easytrieve. I tried looking in Docs but could not find the needfull


I am writing a report where I have print some data by column headings , I want to align the headings with the start position of data but Headings are not printed as desired , I tried usinig COL option in LINE but did not work

My Report is like below


Code:
12/21/15 MINOR/SPECIAL TITLE DAILY MAINTENANCE REPORT 
                                                       
    ACCOUNT NUM      DATE OF CHNG          DESC OF FLD
0052871320             20151219   COSIGN FIRST NAME   
0052871320             20151219   COSIGN LAST NAME     
0052871320             20151219   DEBTOR BIRTHDATE     
0052871320             20151219   DEBTOR FISRT NAME   


The Account number and desc of change ia snot alligned with data.

Can some one pleaae let me know the way to do it , I used NOADJUST and NOSPREAD option as well but no luck.

Below is my report definition

Code:
*-----------------------------------------------------------------     
* DETAIL REPORT DEFINITION ,CONTROL ,SEQUENCE AND LINE DISPLAY         
*-----------------------------------------------------------------     
                                                                       
REPORT DETRPT PRINTER ACTRPT -                                         
       LINESIZE(179)  SPACE (1) PAGESIZE(58) NOADJUST                   
                                                                       
*-----------------------------------------------------------------     
* SEQUENCE TO BE DISPLAY ON THE REPORT                                 
*-----------------------------------------------------------------     
                                                                       
SEQUENCE FIELD1         +                                         
           FIELD2         +         
           FIELD3         +                                         
           FIELD4         + 
           FIELD5         +                                         
           FIELD6                                         

*-----------------------------------------------------------------     
* TITLE TO BE DISPLAYED ON THE REPORT                                   
*-----------------------------------------------------------------     
                                                                       
TITLE 1 '         MINOR/SPECIAL TITLE DAILY MAINTENANCE REPORT'         
                                                                       
*-----------------------------------------------------------------     
* HEADING OF THE FIELDS TO BE DISPLAYED ON THE REPORT                   
*-----------------------------------------------------------------     
                                                                       
HEADING FIELD1             ('ACCOUNT NUM')                           
HEADING Date                  ('DATE OF CHNG')                         
HEADING Desc                   ('DESC OF FLD')                           
HEADING OLD-VALUE          ('OLD VALUE')                           
HEADING WS-NEW-VALUE-R    ('NEW VALUE')                             
HEADING WS-USER-ID            ('USER ID')                               
HEADING WS-CHEX-$VAL          ('CHEX C/O $')                           
HEADING ACCONT-TITLEMSA-USER-DEF-81       ('ACCT TTL')                             

*-----------------------------------------------------------------     
* LINE VALUES ORDER TO BE DISPLAY  ON THE REPORT                       
*-----------------------------------------------------------------     
                                                                       
LINE 1  FIELD1         +                                         
           FIELD2         +         
           FIELD3         +                                         
           FIELD4         + 
           FIELD5         +                                         
           FIELD6                                         
                                       
*-----------------------------------------------------------------     
* END OF THE PROGRAM                                                   
*-----------------------------------------------------------------     
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Mon Dec 21, 2015 4:46 pm    Post subject: Reply to: Adjust Heading Position in Easytrieve
Reply with quote

The data-names you have given headings for don't match the names on the LINE statement.

What alignment do you want? You can use COL for the nutty case where you need to get everything in some "right" position.

Personally I'd use SPREAD and if anything looks widely odd, left-pad the HEADING values.
Back to top
View user's profile Send private message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Tue Dec 22, 2015 11:39 am    Post subject:
Reply with quote

Thanks Bill for your reply !!

When we say Left PAD the headings , does it mean put some spaces withing the single quotes and then heading name?
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Tue Dec 22, 2015 1:26 pm    Post subject: Reply to: Adjust Heading Position in Easytrieve
Reply with quote

The text of the HEADING. Quote, some space to get what you want, then the heading text, then the closing quote.
Back to top
View user's profile Send private message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Tue Dec 22, 2015 2:18 pm    Post subject:
Reply with quote

Thanks Bill , I will try this !!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts RACF Easytrieve Plus macro Susan Jackson CA Products 0 Fri Jun 03, 2016 8:25 pm
No new posts ISREDIT - Position Cursor on the Comm... Tarique Anwer TSO/ISPF 5 Wed Feb 03, 2016 12:44 pm
No new posts Query regarding Easytrieve program shanudarling All Other Mainframe Topics 2 Wed Jan 06, 2016 5:33 pm
No new posts Easytrieve Report: Advanced blank Lin... Raj Vatsav CA Products 6 Mon Jul 06, 2015 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us