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

Difference between 'outrec' and 'outrec fields


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

New User


Joined: 06 Dec 2010
Posts: 2
Location: chennai

PostPosted: Tue Dec 07, 2010 8:02 pm
Reply with quote

Hi,

Can anyone tell me what's the difference between 'outrec' and 'outrec fields' and also 'include' and 'include cond' usage in sort jcl.




Thanks & Rgds

VigneshBalaji
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Tue Dec 07, 2010 8:16 pm
Reply with quote

If you were to look at the dfsort Application Programming guide,
found here: www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080

and go to Chapter 3, There is a summary of all CONTROL Statements (OUTREC, INCLUDE) and each has its own major topic that lists the paramerters (cond for INCLUDE, fields for OUTREC).
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: Tue Dec 07, 2010 10:08 pm
Reply with quote

INCLUDE is a control statement.

COND is an operand on the INCLUDE statement.

OUTREC is a control statement.

BUILD (preferred) or FIELDS is an operand on the OUTREC statement.

OUTFIL is a control statement.

INCLUDE is an operand on the OUTFIL statement.

BUILD (preferred) or OUTREC is an operand on the OUTFIL statement.

The following figure may help you put it all together:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA50/FIGSTMTSEQ?SHELF=&DT=20100630155256&CASE=&ScrollTOP=FIGSTMTSEQ#FIGSTMTSEQ
Back to top
View user's profile Send private message
Vigneshbalaji

New User


Joined: 06 Dec 2010
Posts: 2
Location: chennai

PostPosted: Tue Dec 07, 2010 10:16 pm
Reply with quote

HI,

Thanks a lot for the replies...



Rgds,
Vignesh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Partial Sort conditions for PD fields DFSORT/ICETOOL 16
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts Difference between PLT txn and schedu... CICS 3
No new posts Timestamp difference and its average ... DB2 11
Search our Forums:

Back to Top