Robert:

My memory has faded a lot but IIRC there are regularly SMF records that are "short" all the time. Without digging into the books too much I would print a few out and find which type is the short ones and exclude those before the sort. It seems to me that most SMF recs(except for the short ones) are at least 100 bytes long.
That is why I would exclude them (minor issue for sort) to exclude them.
I wish I could remember off the top of my head which SMF records tend to be short but the memory is failing with age (that is why we have manuals).

Ed


On Feb 14, 2014, at 3:56 PM, Robert A. Rosenberg wrote:

At 13:28 +0000 on 02/14/2014, Chase, John wrote about Re: WER027A control field beyond record:

 > -----Original Message-----
 From: IBM Mainframe Discussion List On Behalf Of Micheal Butz

Seems like one of my sort fields maybe beyond a short record Anything I can do about this

DFSORT has an OPTION VLSHRT to handle that situation. I'm confident that Syncsort has something similar if not identical.

    -jc-


I agree. If you are going to allow short fields, you need a way to note that this will occur OR you need to throw an error (not silently ignore the situation) when encountered. If you want to make accepting short records a default action (by doing something like I describe in my next paragraph) AT LEAST issue a warning level alter (even if you do not issue a non-zero return code). Otherwise abort the sort and/or throw a non-zero return code.

For purposes of doing the actual sorting, all that is needed is for the sort to add a constant field to the sort fields it associates with each record when the record is shorter than the end of the last listed sort field in the SORT command. This would not affect the record being output and since the added content is a constant the sort order will be the same as if the record was long enough to contain this field.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to