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
 

 

DISPLAY Operator report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Fri Mar 02, 2012 3:52 pm    Post subject: DISPLAY Operator report
Reply with quote

Hi,

I am using ICETOOL DISPLAY operator for a report. i am not sure how to shrink each column to the size of my data field.

here is my TOOLIN
Code:
 DISPLAY FROM(OUTDD3) LIST(OUTDD5) -                                   
     TITLE('XXXXXXXXXXXXXXXXXX') DATE(MD4-) PAGE -           
     LINES(80) -                                                       
     HEADER('CUSTOMER','NAME') ON(1,40,CH) -                           
     HEADER('TIE','BREAK') ON(42,5,CH) -                               
     HEADER('ACCOUNT','NUMBER') ON(48,9,CH) -                           
     HEADER('BRANCH','OF ID') ON(58,5,CH) -                             
     HEADER('REL','CODE') ON(64,3,CH) -                                 
     HEADER('XXXX','STATUS') ON(68,2,CH) -                             
     HEADER('INT','XXXX','CODE') ON(71,2,CH) -                         
     HEADER('PRINC','XXXX','CODE') ON(74,2,CH) -                       
     HEADER('SUB','PROD','CODE') ON(77,2,CH) -                         
     HEADER('XXXXXX','KEY') ON(80,9,CH) -                             
     COUNT('TOTAL NUMBER OF ACCOUNTS: ') EDCOUNT(U05)                   


my output looks like this
Code:
1XXXXXXXXXXXXXXXXXX                             03-02-2012        - 1 -           
                                                                       
 CUSTOMER                                   TIE                    ACCOUNT
 NAME                                       BREAK                  NUMBER
                                                                       
 ----------------------------------------   --------------------   --------------------
 XXXXXXXXXXXXX XXX                          00009                  000005454
 XXXXXXXXXXX XXXXXXX                        00003                  555554646


What changes to DISPLAY operator can give me report like the below? Any help?

Code:
1XXXXXXXXXXXXXXXXXX                                03-02-2012        - 1 -   
                                                                 
 CUSTOMER                                   TIE      ACCOUNT       
 NAME                                       BREAK    NUMBER     
                                                                 
 ----------------------------------------   -----    ---------   
 XXXXXXXXXXXXX XXX                          00009    000005454   
 XXXXXXXXXXX XXXXXXX                        00003    555554646   


forgive the truncation of report at the right.
Back to top
View user's profile Send private message

saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Fri Mar 02, 2012 11:09 pm    Post subject:
Reply with quote

Hi,

Please use below mentioned sort card.

Code:
DISPLAY FROM(IN) LIST(OUT) -                                         
     TITLE('XXXXXXXXXXXXXXXXXX') DATE(MD4-) PAGE BLANK -             
     LINES(80) -                                                     
     HEADER('CUSTOMER','NAME') ON(1,40,CH) -                         
     HEADER('TIE','BREAK') ON(42,5,CH) -                             
     HEADER('ACCOUNT','NUMBER') ON(48,9,CH) -                         
     HEADER('BRANCH','OF ID') ON(58,5,CH) -                           
     HEADER('REL','CODE') ON(64,3,CH) -                               
     HEADER('XXXX','STATUS') ON(68,2,CH) -                           
     HEADER('INT','XXXX','CODE') ON(71,2,CH) -                       
     HEADER('PRINC','XXXX','CODE') ON(74,2,CH) -                     
     HEADER('SUB','PROD','CODE') ON(77,2,CH) -                       
     HEADER('XXXXXX','KEY') ON(80,9,CH) -                             
     COUNT('TOTAL NUMBER OF ACCOUNTS: ') EDCOUNT(U05)             



i added BLANK keyword to remove the hyphens.
Back to top
View user's profile Send private message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Sat Mar 03, 2012 4:23 pm    Post subject: Reply to: DISPLAY Operator report
Reply with quote

that did what i wanted.. Thanks sai.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm


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