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
 
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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 4 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm

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