You can easily write a program to do this for you... you can use the PB
library functions to export all the objects in a library, us the string
service's of_globalReplace to replace the code you want, then do a library
import... loop through all the PBLs in the libary list.
You can probably write this in 20 lines or less.
The functions you want are:
LibraryDirectory
LibraryExport
LibraryImport
n_cst_string lnv_string.of_globalReplace
You will want to examine a few exported syntaxes to figure out what to
replace (i.e. "from pfd_dw" with "from pfe_dw")...
And of course, make backups before ever thinking of running this....
Daniel
----- Original Message -----
From: Theisen, Timothy J. <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: 'PFCSig' <[EMAIL PROTECTED]>
Sent: Thursday, December 16, 1999 4:48 PM
Subject: RE: PFCSIG Any way to remove a PFD layer in PFC 6.5?
> Thats a good point ... I had not thought of that. I was thinking that I
> would have to export and change all the objects ... thx for the info!
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, December 16, 1999 3:23 PM
> > To: [EMAIL PROTECTED]; Theisen, Timothy J.; [EMAIL PROTECTED]
> > Subject: RE: PFCSIG Any way to remove a PFD layer in PFC 6.5?
> >
> > KLJ has a good point, even thought you may have a lot of code in your
> > PFDs,
> > there is unlikely to be any in more then just a few objects. So, if you
> > only have to deal with exporting, modifying and re-importing those with
> > code, it becomes a lot smaller problem to deal with.
> >
> > But I wouldn't delete my PFDs until I had converted the ones with code
to
> > PFEs...
> >
> > -----Original Message-----
> > From: KJ R [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 16, 1999 2:17 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: PFCSIG Any way to remove a PFD layer in PFC 6.5?
> >
> >
> > Is there some reason you don't just delete the pfd
> > pbl's and get a fresh copy of the pfc/pfe??? I must be
> > missing something.
> >
> > Kevin <with a perplexed look on my face>
> >
> > --- [EMAIL PROTECTED] wrote:
> > > Greetings from Washington DC,
> > >
> > > Don't think there is anyway short of exporting and
> > > re-importing -- but the
> > > process could be automated with WinGREP (or
> > > Greenbrier & Russel's,
> > > ObjectSmith FAIK).
> > >
> > > Lester LaForce
> > > Consultant, COMSYS
> > > U.S. Army, Personnel Information Systems Directorate
> > > Washington DC area
> > >
> > > -----Original Message-----
> > > From: Theisen, Timothy J. [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, December 16, 1999 8:54 AM
> > > To: 'PFCSig'
> > > Cc: 'Jeff Willis - Sybase'
> > > Subject: PFCSIG Any way to remove a PFD layer in PFC
> > > 6.5?
> > >
> > >
> > > We added a PFD layer between the PFC and PFE layers
> > > ... and now are
> > > realizing
> > > that we really do not need it in our environement.
> > > Is there any way to
> > > remove the
> > > PFD layer from the PFC objects, short of exporting
> > > each object and changing
> > > the
> > > pfd prefix with pfc? Thanks in advance.
> > > > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH
> > > LIST SERVE COMMANDS,
> > > ADDRESS
> > > > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING
> > > MESSAGE: help pfcsig
> > > > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH
> > > LIST SERVE COMMANDS, ADDRESS
> > > > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING
> > > MESSAGE: help pfcsig
> > > > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> > >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Thousands of Stores. Millions of Products. All in one place.
> > Yahoo! Shopping: http://shopping.yahoo.com
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help
pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
>
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]