Dfsort - Question


Main Menu        Computer Tips        Software Downloads Menu

  Main Question - Posted From Guest:
I have a file with many records I want to omit all records where field A = Field B (in the same record) Is this possible with DFSORT?

Guest Says:
haven't tried this on omit, but I think you can say omit (1,5,eq,6,5) for example ... in other words checking first 5 bytes against next 5 bytes

Guest Says:
FAILED - GOT: 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - SORT FIELDS=COPY OMIT COND=(01,04,EQ,06,04) E RECORD TYPE IS F - DATA STARTS IN POSITION 1 3 INVALID OR MISSING FORMAT 0 C5-K26318 C6-K90007 C7-K90000 C8-K23476 E7-K24705 3 END OF DFSORT

Guest Says:
FAILED.. WITH: ICE018A 3 INVALID OR MISSING FORMAT

Guest Says:
Thank you Guest.. I changed the control statement to : SORT FIELDS=COPY OMIT COND=(01,04,EQ,06,04),FORMAT=CH and it works fine!!

Guest Says:
Great, I figured that would work but never actually tried that myself :)

Guest Says:
icetool is also very good for these things, you may want to look at icetool instead of dfsort


Add your reply below ...



This site allows you to ask questions and get answers from various posters, you may also answer any posts if you feel like you have input to give. Feel free to ask for help with any new question you wish, but most of the questions here are tech related. You will find many questions and answers related to your Ipod or Ipod Nano, Itunes, audio and video converting, spyware or adware cleanup, pc or other computer questions, and even mainframe questions. Although these are the tech questions most often asked, you will find help on almost any computer or software related subject. Feel free to go to the main menu and review the posts already present, or feel free to ask your own question. (Some questions will be closed once the moderator feels they are sufficiently answered and that no other input is needed).

Your Name:

Your Reply:

Type in verification code:


Main Menu

Shareware and Freeware Database

Tasks and Spyware Database

Various Computer Help Topics