Can we use OUTREC & BUILD interchangeably ?



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Can we use OUTREC & BUILD interchangeably ?

Postby ranga_subham » Tue Oct 28, 2008 8:51 pm

Hi,

Can we use BUILD & OUTREC interchangeably with OUTFIL IFTHEN?

Please let me know if my understanding is wrong.

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can we use OUTREC & BUILD interchangeably ?

Postby ranga_subham » Tue Oct 28, 2008 9:45 pm

I got confused after looking at the syntax picture and assumed & tried it that way....

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can we use OUTREC & BUILD interchangeably ?

Postby Alissa Margulies » Wed Oct 29, 2008 7:52 pm

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?
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times

Re: Can we use OUTREC & BUILD interchangeably ?

Postby ranga_subham » Wed Oct 29, 2008 8:31 pm

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.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Can we use OUTREC & BUILD interchangeably ?

Postby Alissa Margulies » Wed Oct 29, 2008 8:38 pm

Yes, but OUTREC cannot replace BUILD when used with an IFTHEN statement.
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 3 times

Re: Can we use OUTREC & BUILD interchangeably ?

Postby ranga_subham » Wed Oct 29, 2008 8:39 pm

Thank you for the details.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post