PHD

Deskin, Bob Bob.Deskin@Cognos.COM
Thu, 19 Nov 1998 06:59:34 -0500


"Get away with" is exactly it. You're right about the record size not
changing and the new fields not referenced meaning that there's no external
syntactical reference to error out. However, PowerHouse, like all good 4GLs,
does a lot in the background. Like initializing items before using them. All
those items you did not reference get initialized the old way. Security may
also be an issue. If you've got a SELECT option on an item, it can affect
your retrieval. Need I go on? This is why we say to recompile if you change
a file. This is also why Customer Support often asks if the problem still
occurs when you recompile. They're not being frivolous.

Bob Deskin              
Senior Product Advisor  bob.deskin@cognos.com
Cognos Inc.             (613) 738-1338 ext 4205 FAX: (613) 228-3149
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA


> ----------
> From: 	Richard Witkopp[SMTP:witkopp@idt.com]
> Sent: 	November 18, 1998 5:59 PM
> To: 	powerh-l@lists.swau.edu
> Subject: 	RE: PHD
> 
> Not to split hairs, but if the record size is not changed,
> and the newly added fields are not referenced, we seem to be
> able to get away with not recompiling programs. I suppose
> we probably should recompile, but usually don't. This is on
> RMS files.
> 
> > PhD and PDL are the same regarding when you must recompile 
> > screens, reports,
> > and runs. If you add or change a file to a PhD dictionary (via the
> > appropriate screen), or to a PDL dictionary (by adding the syntax and
> > recompiling the dictionary), you still have to recompile any screens,
> > reports, and runs that use that file.
> > 
> > In your example of adding an item to an existing file, you 
> > would have to
> > recompile any screen, report, or run that used that file. And 
> > again, this is
> > no different for PhD or PDL.
> > 
> > Bob Deskin              
> > Senior Product Advisor  bob.deskin@cognos.com
> > Cognos Inc.             (613) 738-1338 ext 4205 FAX: (613) 228-3149
> > 3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA
> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.