home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / cobol / 699 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.1 KB  |  54 lines

  1. Newsgroups: alt.cobol
  2. Path: sparky!uunet!inmos!fulcrum!bham!warwick!pipex!mfmail!jfid
  3. From: jfid@mfltd.co.uk (James Fidell (x5320))
  4. Subject: Re: comp-3 and ascii data representation
  5. Message-ID: <1993Jan27.153424.8408@mfltd.co.uk>
  6. Sender: jfid@mfltd.co.uk (James Fidell (x5320))
  7. Organization: Micro Focus Ltd., Newbury, UK
  8. References: <1k2hkgINNcvi@shelley.u.washington.edu> <1993Jan26.175542.20192@tandem.com> <1k4t5qINN22j@shelley.u.washington.edu> <1k4v1fINN3pp@shelley.u.washington.edu>
  9. Date: Wed, 27 Jan 1993 15:34:24 GMT
  10. Lines: 42
  11.  
  12.  
  13. In article <1k4v1fINN3pp@shelley.u.washington.edu>, lambert@stein.u.washington.edu (D. Lambert) writes:
  14. > If implementaions of Cobol use different file storage formats
  15. > then wouldn't that make data files not portable?
  16.  
  17. Yes.
  18.  
  19. > Would each Data file from say an IBM implementation have to be converted
  20. > to ascii representation to be read by a cobol program with the same
  21. > file defintions on a DG implementation?
  22.  
  23. Probably.
  24.  
  25. > I thought that the data was stored the same way. Does the runtime
  26. > system have anything to do with conversion? I know that the runtile
  27. > MLS lock server prevents access to users during conficts with other
  28. > users or security definitions. This prevents corrupting data through
  29. > simultaneous write access to the file.
  30.  
  31. Different COBOL vendors write files in different ways -- there is no
  32. guarantee that a file written by, say, IBM, COBOL will be readable using
  33. the same program compiled under, say, DG COBOL.
  34.  
  35. IMHO, historically it has been the intention of many language vendors to
  36. write ``closed'' systems which are incompatible with others, in order to
  37. tie buyers into their system.
  38.  
  39. I believe, though I would not state categorically, that ANSI specify that
  40. certain data-types are stored in particular ways in memory (can anyone
  41. confirm or refute this ?), but that doesn't really get you anywhere.
  42.  
  43. > D.M Lambert
  44. > University of WAshington
  45.  
  46. James.
  47. -- 
  48.  "Yield to temptation --             |
  49.   it may not pass your way again"    |     jfid@mfltd.co.uk
  50.                                      |
  51.         - Lazarus Long               |              James Fidell
  52.