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

BUILD Function


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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Thu Jan 19, 2006 12:37 am
Reply with quote

Can you explain me what are the advantage of Build function over INREC or OUTREC in sort untility.
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: Thu Jan 19, 2006 1:28 am
Reply with quote

DFSORT's BUILD parameter can be used for INREC, OUTREC, OUTFIL and IFTHEN. The advantage is simplicity.

For the INREC and OUTREC statements, the BUILD parameter is identical to the FIELDS parameter. For the OUTFIL statement, the BUILD parameter is identical to the OUTREC parameter. The reason I added BUILD to DFSORT is to have ONE parameter you can use for INREC, OUTREC, OUTFIL and IFTHEN. So instead of remembering to use FIELDS for INREC, FIELDS for OUTREC, and OUTREC for OUTFIL, you can just use BUILD for all of them, as well as for IFTHEN. Likewise, you can use OVERLAY for INREC, OUTREC, OUTFIL and IFTHEN.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FUNCTION ADD-DURATION COBOL Programming 11
No new posts Dynamically build unload and load sta... DB2 14
No new posts Dynamically build sort control statem... SYNCSORT 18
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
No new posts Calling an Open C library function in... CICS 1
Search our Forums:


Back to Top