Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: utility to export all the object from pbl file.

417 views
Skip to first unread message

Paul Horan[Sybase]

unread,
Apr 1, 2009, 9:13:32 AM4/1/09
to
You have one built into PB - sort of...

Open your workspace and go to the SCC properties tab.
Select PBNative as the SCC Provider. Choose a Project folder that is
different than your current local root folder.
Now, go back to the target and select "Add to Source Control..."

When the process completes, you'll have exported source for all the objects
in the target - they'll be in whatever folder you selected for the SCC
Project, AND in the local root folder if you had "Delete PB-generated Object
Files" turned off.

This does beg the question - why do you need to do this? You'll typically
never have to manually export PB source as a regular operation of working
with the code...

--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com

"Paula" <ft...@hotmail.com> wrote in message news:49d3675f$1@forums-1-dub...
>
> Hi All,
>
>
>
>
> I am looking for any utility to export all the object from pbl file.
>
> I have 300+ pbl's and I want to export all the object from all the pbls.
> Manually it is not possible.
>
>
>
>
> Do we any utility to export all the object from pbl
>
>
>
>
> if have to write utility then how? Any example available?
>
>
>
>
> It is possible with ORCA? If yes any example?
>
>
>
>
> Appreciate help and thanks in advance.
>
>


Paula

unread,
Apr 1, 2009, 9:08:47 AM4/1/09
to

Arthur Hefti

unread,
Apr 1, 2009, 12:24:58 PM4/1/09
to
I agree with Paul. The source control option is the simplest way. If you
need more? than just exporting give a look at the
LibraryDirectory/LibraryExport functions in PB. Of course you can use the
ORCA interface but that's quite difficult. You find ORCA samples written in
C in the ORCA Guide PDF in a PB Subdirectory.

Arthur

"Paul Horan[Sybase]" <phoran_remove@remove_sybase.com> wrote in message
news:49d3687c$1@forums-1-dub...

Arthur Hefti

unread,
Apr 1, 2009, 1:18:36 PM4/1/09
to
Use LibraryDirectory & LibraryExport. This is all native PB. For each of
this function you will find an example in the PB help

Arthur

"Paula" <ft...@hotmail.com> wrote in message news:49d39943@forums-1-dub...
>
> I tried to read that file but it not giving much information how to
> achieve it?
>
>
>
>
> Do you know any where some example or code it that by which I can create
> application and run on all the applications. And even I will send that
> application to client, who are not willing to share there pbls source
> code.
>
>
>
>
> Please guide me
>
> "Arthur Hefti" <art...@catsoft.ch> wrote in message
> news:49d3955a$1@forums-1-dub...

Paula

unread,
Apr 1, 2009, 12:41:39 PM4/1/09
to

I tried to read that file but it not giving much information how to achieve
it?


Do you know any where some example or code it that by which I can create
application and run on all the applications. And even I will send that
application to client, who are not willing to share there pbls source code.


Please guide me

"Arthur Hefti" <art...@catsoft.ch> wrote in message
news:49d3955a$1@forums-1-dub...

Ken Balakrishnan

unread,
Apr 1, 2009, 3:06:42 PM4/1/09
to
PBL Peeper includes this functionality:

http://techno-kitten.com/PBL_Peeper/pbl_peeper.html

Ken

"Paula" <ft...@hotmail.com> wrote in message news:49d3675f$1@forums-1-dub...
>

Roland Smith [TeamSybase]

unread,
Apr 2, 2009, 8:16:07 AM4/2/09
to
Answering Paul's question about why you need to do this would make it much
easier to help you. There could be a completely different way to achieve
what you want, we just need to know what it is.

"Paula" <ft...@hotmail.com> wrote in message news:49d39943@forums-1-dub...

0 new messages