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

DFSORT - OUTREC - HEADER TRAILER Parameters


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

New User


Joined: 15 Mar 2005
Posts: 17
Location: Toronto, Canada

PostPosted: Fri Mar 18, 2005 1:14 pm
Reply with quote

Hi,

When I use HEADER1 and TRAILER1 in OUTREC, DFSORT is forcing me to use only FBA on RECFM. But I need to merge this output file with files that are RECFM=FB.

1. Is it possible to get SORTOUT which is RECFM=FB with HEADER and/or TRAILER defined in OUTFIL? OR

If #1 is not possible,

2. Is there a way to MERGE some FB files and some FBA files with SORTOUT having RECFM=FM with correct results?

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: Fri Mar 18, 2005 10:04 pm
Reply with quote

You can use DFSORT's REMOVECC parameter to get FB instead of FBA for your OUTFIL reports. For example:

Code:

  OUTFIL REMOVECC,HEADER1=(...),TRAILER1=(...)


REMOVECC tells DFSORT to remove the ANSI carriage control character for an OUTFIL report. Thus, the data starts in position 1 instead of position 2 and RECFM=xB is used instead of RECFM=xBA.
Back to top
View user's profile Send private message
sivaplv

New User


Joined: 15 Mar 2005
Posts: 17
Location: Toronto, Canada

PostPosted: Sat Mar 19, 2005 12:22 am
Reply with quote

Thanks a lot. I got this working.
Siva.
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 SORT on detail record, then repeat he... DFSORT/ICETOOL 3
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
No new posts Starting a PROC with parameters from ... CLIST & REXX 6
No new posts DFSORT GUID DFSORT/ICETOOL 5
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top