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
 
DFSORT - OUTREC - HEADER TRAILER Parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: DFSORT - OUTREC - HEADER TRAILER Parameters
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 Moderator


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

PostPosted: Fri Mar 18, 2005 10:04 pm    Post subject:
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    Post subject: (Resolved): DFSORT - OUTREC - HEADER TRAILER Parameters
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    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
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm

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