Page 1 of 1

Change Output FB instead of FBA in SORT.

Posted: Wed Sep 14, 2016 4:48 pm
by Rahul Batliwala
Hi,

I am using a SORT card to solve a problem I have. In that I have used OUTFIL with HEADER1. But it looks like HEADER1 needs an FBA File as output. How can I get the output as FB?

Actually, by OUTREC and HEADER1 I have added a constants and the current date but output is FBA.

Can this have a solution?

Re: Change Output FB instead of FBA in SORT.

Posted: Wed Sep 14, 2016 4:53 pm
by Magesh_j
add REMOVECC.

check the dfsort getting started book for details

Thanks
Magesh

[ Post made via Samsung Galaxy S5 ] Image

Re: Change Output FB instead of FBA in SORT.

Posted: Wed Sep 14, 2016 5:40 pm
by Anuj Dhawan
Yes, as Magesh has said - something like this should do the trick:

Code: Select all

 OUTFIL REMOVECC, 
       HEADER1=(....)