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
 

 

page break in Sort utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: page break in Sort utility
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 Moderator


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

PostPosted: Wed Feb 14, 2007 9:27 pm    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Thu Feb 15, 2007 10:05 pm    Post subject:
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:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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