Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us