HP3000-L Archives

February 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Glenn J. Koster, Sr." <[log in to unmask]>
Reply To:
Date:
Mon, 1 Feb 1999 08:53:57 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Jow Howell wrote:

> isn't there a way (COBRUNTIME?) to tell Cobol to ignore this offending
> condition?

In a word - Nope!

Actually, I found this to be useful in Y2K remediation.  One of the
solutions that is touted for Y2K is date expansion.  However, if you
expand date fields, but don't expand the "REC=" clause on file equations
and build statements you risk losing data.  This helps prevent this from
happening.  Of course, if you merely expand buffer sizes but not FD
clauses in your COBOL program you may still have a data truncation
problem.

Glenn
--
 ______________
|  Navigators  | Under contract to Hewlett-Packard ISG (Greeley, CO)
|     |)       |
|     | )      | Glenn J. Koster, Sr.             [log in to unmask]
|     |  )     | Managed Business Solutions    http://www.mbsnav.com
|     |   )    | 214 S. College, Suite 201              970 350-5337
|     |----    | Fort Collins, CO  80524                970 224-1016
| ============ |
| \__________/ |
|   of Change  | aka:  [log in to unmask]
|______________| home: http://members.aol.com/MichiTex

ATOM RSS1 RSS2