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

page break in Sort utility


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karnataka

New User


Joined: 15 Sep 2006
Posts: 20
Location: bangalore

PostPosted: Wed Feb 14, 2007 12:23 pm
Reply with quote

HI,

Can any body tell how to give page break using sort utility.currently we are using below mentioned sort card,it is working fine but not able to get page breck.

Code:
SORT FIELDS=COPY                                                   
 OUTFIL REMOVECC,                                                   
 HEADER1=(01:'DATE:',&DATE,                                         
          60:'***  AUDIT REPORT FOR MTG TORTEE-NAMES ***',/,       
          60:'     =================================   ',/),       
 HEADER2=(160:'PAGE:',PAGE=(M12,LENGTH=5),/,                       
          13:'ORGINAL NAME',60:'CONVERTED NAME',90:'SUFFIX',       
          100:' FWL/OWL/FNL  ',126:'RULE #',                       
          135:'SRULE # ',145:' C/I/B  ',                           
          159:'INST NUMBER ',172:'SEQUENCE'/,                       
          13:'------------',60:'--------------',90:'-------',       
          100:'------------',126:'------',                         
          135:'-------',145:' ------  ',                           
          159:'----------- ',172:'--------'),                       
 TRAILER2=(/),                                                     
 TRAILER1=(60:'*** END OF THE REPORT  ***')                         
 OUTREC FIELDS=(1,50,52,39,93:92,1,100:94,25,126:120,4,136:125,4,   
            147:130,2,159:133,13,174:152,6,13X)                     
/*



Thanks
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Feb 14, 2007 9:27 pm
Reply with quote

REMOVECC tells DFSORT to suppress the ANSI carriage control characters such as page break ('1'). If you want those characters, don't specify REMOVECC.
Back to top
View user's profile Send private message
karnataka

New User


Joined: 15 Sep 2006
Posts: 20
Location: bangalore

PostPosted: Thu Feb 15, 2007 11:04 am
Reply with quote

hi,

i tried by removing removecc but getting error. here i am sending my syntax by altering according your message (removed removecc).


SORT FIELDS=COPY
OUTFIL,
HEADER1=(01:'DATE:',&DATE,
60:'*** AUDIT REPORT FOR MTG TORTEE-NAMES ***',/,
60:' ================================= ',/),
HEADER2=(160:'PAGE:',PAGE=(M12,LENGTH=5),/,
13:'ORGINAL NAME',60:'CONVERTED NAME',90:'SUFFIX',
100:' FWL/OWL/FNL ',126:'RULE #',
135:'SRULE # ',145:' C/I/B ',
159:'INST NUMBER ',172:'SEQUENCE'/,
13:'------------',60:'--------------',90:'-------',
100:'------------',126:'------',
135:'-------',145:' ------ ',
159:'----------- ',172:'--------'),
TRAILER2=(/),
TRAILER1=(60:'*** END OF THE REPORT ***')
OUTREC FIELDS=(1,50,52,39,93:92,1,100:94,25,126:120,4,136:125,4,
147:130,2,159:133,13,174:152,6,13X)



Thanks,
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Feb 15, 2007 10:05 pm
Reply with quote

I guess I should have showed you how to change the syntax (I assumed you'd look it up and not just throw in a random comma):

Code:

   SORT FIELDS=COPY
   OUTFIL HEADER1=(01:'DATE:',&DATE,
   ...


FYI, you can access all of the DFSORT books online from:

Use [URL] BBCode for External Links
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts REASON 00D70014 in load utility DB2 6
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top