Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
youayshu,
Here's a DFSORT/ICETOOL job that will do what you asked for in one step. If you don't want ANSI control characters (e.g. '1' for eject) in your reports, add REMOVECC to the OUTFIL statements. Note that you can change the form of the PAGE number, DATE and TIME if you need to.
Joined: 07 Nov 2006 Posts: 13 Location: Thiruvanathapuram
Thank you for ur suggestion. It worked ou correctly.....
Can you please suggest the keyword using which we can filter only the required FIELDS(not records) from the input files? I think INCLUDE is for filtering the records only, right?
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
Can you please suggest the keyword using which we can filter only the required FIELDS(not records) from the input files? I think INCLUDE is for filtering the records only, right?
I don't understand what you're asking. This question doesn't seem to relate to your original example. INCLUDE "filters" records based on a test of values in the fields of the records (e.g. if field1 = 5). What do you mean by "filter only the required fields"? It would help if you gave an example of what you want to do (input records and expected output records).