MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multi-line column headings

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
msdandy
Beginner


Joined: 12 Aug 2005
Posts: 5
Topics: 2

PostPosted: Thu Aug 18, 2005 1:47 am    Post subject: Multi-line column headings Reply with quote

According to my toolmsg, we have the following release of ICETOOL:
SYNCTOOL RELEASE 1.4D - COPYRIGHT 2003 SYNCSORT INC.


I am trying to format a report with three heading lines. When I execute the code below, I get the error message listed at the end or my post. Am I having a problem because my firm is not using the latest release?

Code:

//TOOLMSG  DD  SYSOUT=*                                               
//DFSMSG   DD  SYSOUT=*                                               
//ERRFILE  DD  DSN=TSTT.NVS.PMSDDNAS.NASDTRC.OUTFILE(+0),             
//             DISP=SHR                                               
//T1       DD  DSN=&&T1,                                             
//             DISP=(,PASS),                                         
//             UNIT=SYSDA,                                           
//             SPACE=(CYL,5,5))                                                                 
//RPTFILE  DD  DSN=TSTT.NVS.NASDTRC.ICEFILE(+1),                     
//             DISP=(MOD,CATLG,DELETE),                               
//             UNIT=SYSDA,                                           
//             SPACE=(CYL,(10,10),RLSE),                             
//             DCB=(LRECL=133,BLKSIZE=0,RECFM=FBA)                   
//TOOLIN   DD  *                                                     
    SORT FROM(ERRFILE) TO(T1) USING(SRT1)                             
    DISPLAY FROM(T1) LIST(RPTFILE) WIDTH(133)               -         
         DATE                                               -         
         TITLE('ELIGIBLE ITEMS OTHER THAN CORPORATE BONDS') -         
         PAGE                                               -         
         DISPLAY FROM(IN) LIST(RPT) BLANK -                           
         HEADER(' ',' ','DWR') ON(1,9,CH)                    -       
         HEADER(' ',' ','CUSIP') ON(11,9,CH)                 -       
         HEADER(' ',' ','MOD-1') ON(21,3,CH)                 -       
         HEADER(' ',' ','MOD-2') ON(25,3,CH)                 -       
         HEADER(' ',' ','MOD-3') ON(29,3,CH)                 -       
         HEADER(' ',' ','MOD-4') ON(33,3,CH)                 -       
         HEADER(' ',' ','SHORT DESCRIPTION') ON(37,30,CH)    -       
         HEADER(' ','TR','IND') ON(68,1,CH)                  -       
         HEADER('TR','EFF','DATE') ON(70,1,ZD)               -       
         HEADER(' ',' ','NO ACCTS') ON(79,11,ZD)             -       
         BLANK                                                       
   COPY FROM(ERRFILE) USING(SRT2)                                     
*                                                   
/*                                                   
//SRT1CNTL DD  *                                     
  SORT FIELDS=(1,09,CH,A)                           
/*                                                   
//SRT2CNTL DD  *                                     
  OUTFIL FNAMES=RPTFILE,NODETAIL,                   
    OUTREC=(132X),                                   
    TRAILER1=(30:'RECORDS WRITTEN:   ',COUNT)       
/*                                                   
//*     


SYT050E INVALID OPERAND ON "DISPLAY" STATEMENT
SYT030I OPERATION COMPLETED WITH RETURN CODE 12

SYT015I PROCESSING MODE CHANGED FROM "STOP" TO "SCAN" DUE TO OPERATION FAILURE

COPY FROM(ERRFILE) USING(SRT2)
SYT019I STATEMENT VALID; NOT PROCESSED DUE TO "SCAN" PROCESSING MODE
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Aug 18, 2005 7:53 am    Post subject: Reply with quote

msdandy,

The error messages indicate that your shop has syncsort at your shop. DFSORT and Syncsort are two different products. Even though you are running ICETOOL , you are actually running Synctool as Icetool is an alias of load module Synctool.

Now coming to your problem. Do you want a three line header like as shown below ?

Code:

header line-1
header line-2
header line-3


or do you want like this

Code:

header desc-1 header desc2 header desc-3


here the above header is just for 1 field itself

Please let us know the exact format with a sample input and desired output and we will try to help you.

PS: You could have used the reporting features of SORT and get the whole thing done in just 1 pass.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Aug 18, 2005 10:58 am    Post subject: Reply with quote

Note that the multiline HEADER syntax you used DOES work for DFSORT's ICETOOL and would produce headings like this:

Code:

                           TR
                     TR    EFF
  DWR   CUSIP  ...   IND   DATE  ...


For more information on this DFSORT/ICETOOL feature, see:

www.ibm.com/servers/storage/support/software/sort/mvs/pdug/
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group