Re: reading COBOL Sequential output file (Easy Question)---Help

From: Michael Mattias (michael.mattias_at_gte.net)
Date: 11/28/03


Date: Fri, 28 Nov 2003 13:15:49 GMT


"Judson McClendon" <judmc@sunvaley0.com> wrote in message
news:20031128074852.265$sv@news.newsreader.com...
> "Thane Hubbell" <thaneh@softwaresimple.com> wrote:
> > One caution below...
> >
> > "Judson McClendon" <judmc@sunvaley0.com> wrote:
> >
> > > > but what do I do with a
> > > > FLOORPLAN pic s99v99
> > >
> > > The field is exactly 4 characters. The rightmost character is both
> > > the low-order digit and the sign. Here are the possible values for
> > > the rightmost character:
> > >
> > > Digit value: 0 1 2 3 4 5 6 7 8 9
> > > - - - - - - - - - -
> > > Field Negative: p q r s t u v w x y
> > > Field Positive: 0 1 2 3 4 5 6 7 8 9
> > >
> >
> > The sign representation is implimentor defined - and differs between
> > COBOL compilers.
>
> Oops! You're right, Thane. :-)

My MF manual contains this:
"The USAGE IS DISPLAY clause (whether specified explicitly or implicitly)
specifies that a standard data format is used to represent a data item in
the storage of the computer, and that the data item is aligned on a
character boundary".

This does NOT contain one of the "MF" or "VSC2" 'circles' indicating a
implementor extension; nor does the description of the sign encoding for
USAGE IS DISPLAY for not-separately signed numeric data. In this latter
section the manual indicates negative signing is accomplished by setting bit
6 of the character on (i.e., add x'40') ; this will, of course, result in a
different display character depending on the character-set in use.

So, are you guys really sure that the sign encoding is implementor-defined?
Above seems to indicate it's standard.

MCM



Relevant Pages

  • Re: OT FireFox - ascii/html symbols displayed
    ... Linux but some don't (even less display correctly on ... Character 127, for instance, in your PC's character set does *NOT* equal ... Yes, you can use Windows-1252 encoding, and declare your pages as doing ...
    (Fedora)
  • Re: Prototype, Safari and Japanese problems?
    ... Character references and character entity references are there ever ... resource encoded with ISO-8859-1 and served as such. ... so that one encoding would suffice for all ... sets can be used to display that data. ...
    (comp.lang.javascript)
  • Re: Arabic cursive in Unicode
    ... For example, on the Mac, as you type an Arabic character, you see an isolated form or a final form. ... This means that the display software has to look at the context of the "logical character codes" and select the appropriate "presentation glyphs" every time the text has to be re-displayed. ... It would be up to the software whether to give the user the option of displaying the ligatures from the Presentation Forms-A list. ... I suspect that this kind of option would only be available in specialized Arabic-language input software. ...
    (sci.lang)
  • Re: Internet Explorer - Firefox
    ... David i have try to change the encoding with all the possible options i have ... If you can do it, create a test folder on your host, and upload the page to ... I imagine it is a problem with how the script is ... suppose to display a search box for flights..i am pretty sure that the ...
    (microsoft.public.publisher.webdesign)
  • Re: Alternative COBOL "telco" source program
    ... If the caller does a Cancel, Values will be there on the next Call. ... Even when the usage count goes to zero, Windows will keep DLLs in memory if this ... add unsigned with saturation, byte". ... I use display numbers for DISPLAY on screens, ...
    (comp.lang.cobol)