Re: reading COBOL Sequential output file (Easy Question)---Help
From: Michael Mattias (michael.mattias_at_gte.net)
Date: 11/28/03
- Next message: Joe Zitzelberger: "Re: OT 50 States was: OT: Hemlines"
- Previous message: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- In reply to: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Next in thread: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Reply: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Joe Zitzelberger: "Re: OT 50 States was: OT: Hemlines"
- Previous message: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- In reply to: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Next in thread: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Reply: Judson McClendon: "Re: reading COBOL Sequential output file (Easy Question)---Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|