Outrec Parse And Dfsort On Variable Length File

View All Questions

Ask a New Question

  Main Question - Posted From Guest:
I am running a dfsort on the mainframe with a variable length file, so the input positions are in different byte positions. I have to use the outrec parse (for exmaple OUTREC PARSE=(%01=(ENDBEFR=C',',FIXLEN=5)) to parse the positions in the sort but I keep getting this error: BLANK NEEDED IN COLUMN 1 OR OPERATION NOT DEFINED CORRECTLY How do I get around this as no matter how many times I have run it, this BLANK NEEDED IN COLUMN 1 OR OPERATION NOT DEFINED CORRECTLY error occurs. I'm not real familiar with dfsort and variable data files, so it may be something stupid.

Guest Says:
That pretty much means you have a comma missing somewhere or a syntax error or typo error somewhere in your sort parms. Double check your sort parms as I'm sure you have something missed there.

Frank Yaeger Says:
That error means you did not start the DFSORT statement in position 2 or later, or you do not have the DFSORT PTF installed that supports PARSE (it's been available since 2006 so that's probably unlikely).  Make sure your OUTREC statement looks like this (replace b with blank):

bbOUTREC PARSE=(%01=(ENDBEFR=C',',FIXLEN=5))

Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration                                                      
DFSORT/MVS is on the Web at http://www.ibm.com/storage/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).

See All Tips        Iphone Apps


Your Name:

Your Reply:

Type in verification code:


Main Menu

Shareware and Freeware Database

Tasks and Spyware Database

Various Computer Help Topics