PHD

Neil Harvey neil@nha.co.za
Fri, 20 Nov 1998 07:48:54 +0200


On the subject of making newly compiled screens and dictionaries
available while the old ones are in use, we sometimes use rm.hpbin.sys
on the MPE/iX platform to remove the old, and then compile the new.

Existing users carry on using their "copy" of the old screen, while new
logons get the new. More Posix magic, I guess.

It's probably dangerous, and not allowed etc.. but what the hell, you
only live once (I think).

We also have a script that does a full recompile of all screens for use
when all users have logged off, or after major surgery to the system.
The trick here is to keep the production source repository nice and
clean and avoid having "copies" of screen sources in the same group.
Many's the time that old bugs creep back into production after a full
screen recompile, because the old screen was "temporarily" copied to
<screenname>0.

regards

Neil <by the seat of his pants> Harvey




> -----Original Message-----
> From:	Deskin, Bob [SMTP:Bob.Deskin@Cognos.COM]
> Sent:	Thursday, November 19, 1998 2:06 PM
> To:	powerh-l@lists.swau.edu
> Subject:	RE: PHD
> 
> Please see my other response on this subject. In addition, if you have
> 1000
> screens and you obsolete 1 item, I can see not wanting to recompile.
> Especially if the item didn't have SELECT values or anything else I
> care
> about. If you got away with not recompiling in PhD, you'll also get
> away
> with not recompiling in PDL. I do question going through lots of
> changes and
> continually having to select which programs you compile and don't
> compile.
> Hopefully everything gets recompiled from time to time to ensure
> consistency.
> 
> Since PDL is compiled (like QUICK), you can't recompile while it's in
> use.
> However, you can recompile to a temp location and slip the new one in
> during
> your daily backups when no one's on the system. Or during the
> "unexplained"
> 5 minute down-time.
> 
> 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: 	Chris Sharman[SMTP:Chris.Sharman@ccagroup.co.uk]
> > Sent: 	November 19, 1998 3:42 AM
> > To: 	Bob.Deskin@cognos.com
> > Cc: 	Chris.Sharman@ccagroup.co.uk; powerh-l@lists.swau.edu
> > Subject: 	RE: PHD
> > 
> > >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.
> > 
> > This isn't true: changes that don't affect the length of records
> don't
> > require a recompile. If a field becomes obsolete, and I rename it to
> > obsolete-garbage, I don't have to recompile anything that wasn't
> using it.
> > When I reuse it, again I don't have to recompile anything which
> doesn't
> > use it.
> > This saves a lot of work, and hopefully will still be the case with
> PDL,
> > even with a full re-compile from source.
> > 
> > Someone mentioned that you can't PDL a dictionary while it's in use:
> I
> > think
> > that's why we never use it.
> > 
> > If PHD is getting dumped, how about putting the sources in the
> public
> > domain,
> > with appropriate disclaimers. That way those of us really fond of it
> can
> > put
> > the work in to keep it going as freeware.
> >
> ______________________________________________________________________
> > Chris Sharman			Chris.Sharman@CCAgroup.co.uk
> > CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
> > 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> = = =
> 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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.