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

Does NODETAIL have a counterpart


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

New User


Joined: 22 Mar 2008
Posts: 4
Location: Seattle

PostPosted: Wed Apr 02, 2008 1:28 am
Reply with quote

Does NODETAIL have a counterpart? I have a sort sum getting unpacked to displayable data, the outfil has headers, sections and trailers. I want to create a secondary oulfil with just the outrec data. Do I need to create a duplicate outrec layout or is there a directive to supress everything except the detail.

Thanks
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 02, 2008 2:00 am
Reply with quote

I doubt it....
I've done what you are doing and I just duplicated the detail info and skipped the header stuff for the second output.....
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: Wed Apr 02, 2008 2:42 am
Reply with quote

Quote:
Does NODETAIL have a counterpart?


You mean like the hypothetical NOHT? icon_smile.gif

No, sorry. That wouldn't really make much sense in terms of syntax. You get the detail records by default, so specifying NODETAIL makes sense. But you have to specify HEADERx and TRAILERx to get header and trailer records, so NOT specifying them is equivalent to NOHT. I guess you're looking for something that relates two OUTFIL statements like INCLUDE and SAVE do:

Code:

  OUTFIL FNAMES=OUT1,HEADER1=(...),TRAILER1=(...),
     BUILD=(...)
  OUTFIL FNAMES=OUT2,NOHT


So NOHT would take the BUILD from the previous OUTFIL without the H/T.
But unlike SAVE which writes any record not written by all other OUTFILs, NOHT would not be that straightforward - e.g., for multiple OUTFILs with different BUILD operands, which one would the OUTFIL with NOHT use?

At any rate, there's no keyword for that currently and I doubt I'll add one in the future given that you're the first one to ever ask for it and a few seconds with an editor can give you what you need (a copy of just the BUILD operand).

Sorry.

(Probably more than you wanted to know, but I thought some people might be interested in the thought processes involved in whether we consider a new function for DFSORT.)
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 02, 2008 3:52 am
Reply with quote

Frank Yaeger wrote:
(Probably more than you wanted to know, but I thought some people might be interested in the thought processes involved in whether we consider a new function for DFSORT.)
Not really, but an interesting insight into the process......Thanks....
Back to top
View user's profile Send private message
Taylortek

New User


Joined: 22 Mar 2008
Posts: 4
Location: Seattle

PostPosted: Wed Apr 02, 2008 4:37 am
Reply with quote

Thanks for the confirmation. Since the parms are usually kept in library members i was just trying to avoid duplicating build statements. Just have to notate that any changes have to be done in 2 spots.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 02, 2008 4:57 am
Reply with quote

Taylortek wrote:
Thanks for the confirmation. Since the parms are usually kept in library members i was just trying to avoid duplicating build statements. Just have to notate that any changes have to be done in 2 spots.
IIRC, both output descriptions should reside in the same member, making it easy to keep both sysouts equal. At least, that's how I've always seen it done......
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 GZIP counterpart in MVS JCL & VSAM 8
No new posts NEAT command counterpart in REXX CLIST & REXX 11
No new posts OVERLAY Counterpart in SYNCSORT JCL & VSAM 6
Search our Forums:

Back to Top