Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Yes, you would use DFSORT's PD format for COMP-3 variables. See the following for more information on how COBOL data types equate to DFSORT formats:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/C.3?DT=20060615185603
Here's an example of an INCLUDE statement to keep only records where the 3-byte PD value starting at position 21 is greater than or equal to +125:
Code: |
INCLUDE COND=(21,3,PD,GE,+125)
|
If you need more specific help, you'll have to give more details of what you're trying to do.
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
Use [URL] BBCode for External Links |
|