Re: SORT and FILE STATUS



Rick gave the correct answer for the SD file itself. It is worth noting,
however, that one MAY specify a File Status clause for the Input/Output files.
In fact, this is exactly why IBM says that using the FASTSRT compiler option
(where their non-COBOL SORT utility does the I/O) is *not* ANSI/ISO conforming.
They do NOT update the FS (or more importantly reach I/O Declaratives) if there
is an I/O "problem" with Input/Output files during a SORT (without an
Input/Output procedure) when FASTSRT is in effect. They DO conform to the
Standard when NOFASTSRT is specified.

--
Bill Klein
wmklein <at> ix.netcom.com
"Roger While" <simrw@xxxxxxxxxxxx> wrote in message
news:ep755i$g5v$03$1@xxxxxxxxxxxxxxxxxxxx
Is FILE STATUS legal with a SORT file ?
Can't see anywhere in the standard that says it is not.
If so, when and under what conditions should the file
status be set in combination with the SORT/USING/GIVING/RELEASE/RETURN
statments.
The chapter 9.1.12 I-O status only refers to usual I/O statements.

Roger



.



Relevant Pages

  • Re: Buffer overflows and asctime()
    ... struct tm members to be within their valid ranges is up to an user of ... There is no valid range for the year as specified in the standard. ... I wouldn't call it a defect, because the existence of a limit beyond which asctime() cannot be safely used is inferable from the description of asctime. ... I would consider it a substantial improvement for the standard to explicitly specify the limit. ...
    (comp.std.c)
  • Re: [fitsbits] Comments on image distortion conventions
    ... The document should specify default values for any coefficients that are absent from the header, but might be expected based upon the value of A_ORDER or B_ORDER. ... Presumably either the values would be taken to be zero or the convention should require that all keywords be present. ... The convention would appear to mis-use the CTYPEi reserved keyword in a way that at least technically violates the FITS standard. ... of including distortion in the pixel world coordinate transformation directly. ...
    (sci.astro.fits)
  • Re: Boolean Buyers Beware ... AIX compiler bug --- PMR 26241,756
    ... But the compiler does have other options for updating byte fields, ... I didn't bring the C++ standard into the discussion, ... C++ doesn't specify anything here, and still one needs multithreading. ...
    (comp.programming.threads)
  • Re: Boolean Buyers Beware ... AIX compiler bug --- PMR 26241,756
    ... IBM identified a source work-around, and claimed the problem was our ... I don't think the C++ standard has a word to say about threads. ... C++ doesn't specify anything here, and still one needs multithreading. ...
    (comp.programming.threads)
  • Meaning of implementation def. behaviour (was: Re: C99 IDE for windows)
    ... International Standard provides two or more possibilities and imposes ... provides all possible courses of action and the implementation is ... how can the Standard specify the output ...
    (comp.lang.c)