Page 1 of 1

Can we use OUTREC & BUILD interchangeably ?

PostPosted: Tue Oct 28, 2008 8:51 pm
by ranga_subham
Hi,

Can we use BUILD & OUTREC interchangeably with OUTFIL IFTHEN?

Please let me know if my understanding is wrong.

Thanks.

Re: Can we use OUTREC & BUILD interchangeably ?

PostPosted: Tue Oct 28, 2008 9:45 pm
by ranga_subham
I got confused after looking at the syntax picture and assumed & tried it that way....

Thanks.

Re: Can we use OUTREC & BUILD interchangeably ?

PostPosted: Wed Oct 29, 2008 7:52 pm
by Alissa Margulies
ranga_subham wrote:I got confused after looking at the syntax picture and assumed & tried it that way....

So did you answer your own question or do you still need clarification?

Re: Can we use OUTREC & BUILD interchangeably ?

PostPosted: Wed Oct 29, 2008 8:31 pm
by ranga_subham
Hi,

The below statement from v1.3 programmer's guide caused me the confusion :!:

The BUILD parameter has been added. BUILD can be used as an alias for FIELDS in an INREC or OUTREC statement and as an alias for OUTREC in an OUTFIL statement.


Thanks.

Re: Can we use OUTREC & BUILD interchangeably ?

PostPosted: Wed Oct 29, 2008 8:38 pm
by Alissa Margulies
Yes, but OUTREC cannot replace BUILD when used with an IFTHEN statement.

Re: Can we use OUTREC & BUILD interchangeably ?

PostPosted: Wed Oct 29, 2008 8:39 pm
by ranga_subham
Thank you for the details.