28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PIPE DELDUPES<br />

70 <strong>Programming</strong>: <strong>Pipes</strong><br />

COLLINS, MARY 11/03/01 10:15:40<br />

DOE, JOHN 11/02/23 09:00:00<br />

HOWE, TOM 11/02/23 04:14:20<br />

JONES, FRED 11/02/23 11:16:44<br />

SMITH, FRED 11/02/18 13:29:21<br />

In this example, the stable nature of SORT keeps records with the same sort field<br />

in their original order. Optionally, you can use another SORT to examine the date<br />

fields and return the records to their original order. If sortable date fields were not<br />

included in the records, the same result can be achieved by adding COUNT<br />

EACHLINE be<strong>for</strong>e the SORT and EDIT LINECOUNT 1 prior to CONSOLE.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!