Re: COBOL format definitions?



http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/igy3lr30/5.3.12?ACTION=MATCHES&REQUEST=pic+clause&TYPE=FUZZY&SHELF=&DT=20050714120224&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT


Barb wrote:
Hi all,

I'm not a COBOL programmer at all, but I am starting to work with data
that was given to me with a COBOL field format listing. I get most of
the format codes, but there are a few that I need to verify that I'm
understanding them correctly.

For example, I understand that PIC X(03) is an alpha/numeric field with
a length of 3 characters.
I also understand that PIC 9(03) is a numeric integer field with
numbers <= 999.

But I would like to find some sort of online listing or guide to help
me as I encounter other ones such as:

* PIC S9(09) COMP-3
* PIC 9(02)V9(04)
* PIC S9(07)V99 COMP-3

I don't need to program an import file (I know that SAS can convert a
COBOL copybook to a SAS informat), but I would like to sound half-way
intellegent with the people who provided the copybook when I have
questions about the files.

Can anyone point me to a good website that just explains the basics of
what these codes mean (there are others besides the 3 above that I
would like to be able to interpret).

Thanks for any help you can provide!

Barb

.



Relevant Pages

  • COBOL format definitions?
    ... I'm not a COBOL programmer at all, but I am starting to work with data ... that was given to me with a COBOL field format listing. ...
    (comp.lang.cobol)
  • Re: COBOL format definitions?
    ... I'm not a COBOL programmer at all, but I am starting to work with data ... that was given to me with a COBOL field format listing. ... Barb, understanding PIC defintions is a non-trivial undertaking. ... If the PIC contains ONLY digits and a "V," allow one byte for each ...
    (comp.lang.cobol)
  • Re: Is Micro Focus doomed?
    ... Literally you saw the documents on screen and the cursor trundling across each page, character by character as it followed the instructions in your macros. ... But I think you might be in a plus, plus situation if your schooling first taught you COBOL. ... So what I'm suggesting is, with that disciplined COBOL background, firstly familiarizing yourself with the new language you are using, and applying the COBOL common sense approach, ANY language should not be an obstacle to a COBOL programmer. ...
    (comp.lang.cobol)
  • Re: COBOL format definitions?
    ... input and output but can't remember the Comp-3 in detail. ... I'm not a COBOL programmer at all, but I am starting to work with data ... COBOL copybook to a SAS informat), but I would like to sound half-way ...
    (comp.lang.cobol)
  • Re: COBOL compiler
    ... > Thus spake Ron Johnson: ... >> Instead of lots of small functions and a minimum of global variables, ... > of necessity used COBOL first does not make them a bad person. ... the Bad COBOL Programmer I worked with never did. ...
    (Debian-User)