Howard: 
 
You bring up a very good point. I was thinking as I followed this thread, that 
when I supported a large group of Cobol programmers that all of the posters 
thus far had a valid point. At one point we too said there was no need to use 
the display, or something we saw once in a while, Exihibit-Named to print the 
error data. But we also realized that there ARE some conditions that perhaps 
cannot be easily detected in an edit and decided that it was better to capture 
the data when it occurs rather than to have to re-create it later since enough 
of the information may already be available to resolve the problem. Of course 
it should not be used indiscriminently. One condition I remember seeing was 
assembling a record from multiple indices of a highly normalized database which 
would be difficult to detect in an edit. 
 
Just my .02 since I am partied out and decided to check emails. 
 
Just a thought
Bill
 
 
> Date: Sun, 30 Dec 2007 09:58:35 -0700> From: [EMAIL PROTECTED]> Subject: Re: 
> Controlling COBOL DDs named SYSOUT> To: [email protected]> > On Fri, 28 
> Dec 2007 18:46:05 -0800, Paul Knudsen> <[EMAIL PROTECTED]> wrote:> > 
> >>Judicious use of DISPLAY statements can tell the programmer, for example,> 
> >>exactly which record to pull from the input file. Yes, you can also figure> 
> >>that out from the dump, but it takes longer.> >> >Don't you have a 
> debugger, fergodsake?> > If the DISPLAY occurs before abending a production 
> job we know the> data that existed that caused the problem. Those people 
> with> debuggers can later on step through the problem, provided they have> 
> enough information to duplicate it (data in the 4,432,134th record was> 
> unexpected).> > 
> ----------------------------------------------------------------------> For 
> IBM-MAIN subscribe / signoff / archive access instructions,> send email to 
> [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO> Search the archives at 
> http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to