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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


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