Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Is there a way to reverse engineer a .PBD file back to a .PBL file?

5 posts in Objects Last posting was on 2005-08-16 19:59:23.0Z
Avishay Frister Posted on 2005-07-18 20:08:34.0Z
Sender: 231c.42dc0b63.1804289383@sybase.com
From: Avishay Frister
Newsgroups: sybase.public.powerbuilder.objects
Subject: Is there a way to reverse engineer a .PBD file back to a .PBL file?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42dc0c42.2327.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 18 Jul 2005 13:08:34 -0700
X-Trace: forums-1-dub 1121717314 10.22.241.41 (18 Jul 2005 13:08:34 -0700)
X-Original-Trace: 18 Jul 2005 13:08:34 -0700, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8503
Article PK: 735727

In our invoicing system, we have lost one PBL file. We have
all the libraries except for one. This one file we have in
PBD form but need to bring it back to PBL to make some
modifications.

Can this be done?

Thanks

Avi


Terry Dykstra Posted on 2005-07-18 20:38:45.0Z
Reply-To: "Terry Dykstra" <dontreply_tddykstra@forestoil.ca.x>
From: "Terry Dykstra" <tddykstra@forestoil.ca>
Newsgroups: sybase.public.powerbuilder.objects
References: <42dc0c42.2327.1681692777@sybase.com>
Subject: Re: Is there a way to reverse engineer a .PBD file back to a .PBL file?
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 72.29.237.90
X-Original-NNTP-Posting-Host: 72.29.237.90
Message-ID: <42dc1355$1@forums-1-dub>
Date: 18 Jul 2005 13:38:45 -0700
X-Trace: forums-1-dub 1121719125 72.29.237.90 (18 Jul 2005 13:38:45 -0700)
X-Original-Trace: 18 Jul 2005 13:38:45 -0700, 72.29.237.90
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8504
Article PK: 735726

No. The best you can do is rename the PBD to a PBL and then you can see a
list of objects. That's how far it will go.

--
Terry Dykstra (TeamSybase)
http://powerbuilder.codeXchange.sybase.com/
http://www.pb9books.com
product enhancement requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

<Avishay Frister> wrote in message
news:42dc0c42.2327.1681692777@sybase.com...
> In our invoicing system, we have lost one PBL file. We have
> all the libraries except for one. This one file we have in
> PBD form but need to bring it back to PBL to make some
> modifications.
>
> Can this be done?
>
> Thanks
>
> Avi


Christof Zottmann Posted on 2005-08-10 15:31:21.0Z
From: Christof Zottmann <zottmann.n-o-s_p-a_m@ernst-gun.de>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Is there a way to reverse engineer a .PBD file back to a .PBL file?
Message-ID: <u77kf1l8vbru0ej8tt1n264buj1hfo3t1t@4ax.com>
References: <42dc0c42.2327.1681692777@sybase.com>
X-Newsreader: Forte Agent 3.0/32.763 trialware
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 212.114.142.34
X-Original-NNTP-Posting-Host: 212.114.142.34
Date: 10 Aug 2005 08:31:21 -0700
X-Trace: forums-1-dub 1123687881 212.114.142.34 (10 Aug 2005 08:31:21 -0700)
X-Original-Trace: 10 Aug 2005 08:31:21 -0700, 212.114.142.34
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8524
Article PK: 735746


On 18 Jul 2005 13:08:34 -0700, Avishay Frister wrote:

>In our invoicing system, we have lost one PBL file. We have
>all the libraries except for one. This one file we have in
>PBD form but need to bring it back to PBL to make some
>modifications.
>
>Can this be done?

There is a chance to get the Syntax of the Datawindows in your pbd. I
made it already because I had the same problem. If you know the name
of the Datawindows, write a function that copy the datawindow-syntax
in the clipboard. Then you can save it and import it an an other pbl.


Chris Pollach Posted on 2005-08-10 15:41:45.0Z
From: "Chris Pollach" <cpollach@travel-net.dot.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <42dc0c42.2327.1681692777@sybase.com> <u77kf1l8vbru0ej8tt1n264buj1hfo3t1t@4ax.com>
Subject: Re: Is there a way to reverse engineer a .PBD file back to a .PBL file?
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Original-NNTP-Posting-Host: stealth.nserc.ca
Message-ID: <42fa2034$1@forums-2-dub>
X-Original-Trace: 10 Aug 2005 08:41:40 -0700, stealth.nserc.ca
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 10 Aug 2005 08:41:42 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 10 Aug 2005 08:41:45 -0700
X-Trace: forums-1-dub 1123688505 10.22.108.75 (10 Aug 2005 08:41:45 -0700)
X-Original-Trace: 10 Aug 2005 08:41:45 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8525
Article PK: 735745

Unfortunately, No way ... Hosé!

"Christof Zottmann" <zottmann.n-o-s_p-a_m@ernst-gun.de> wrote in message
news:u77kf1l8vbru0ej8tt1n264buj1hfo3t1t@4ax.com...

On 18 Jul 2005 13:08:34 -0700, Avishay Frister wrote:

>In our invoicing system, we have lost one PBL file. We have
>all the libraries except for one. This one file we have in
>PBD form but need to bring it back to PBL to make some
>modifications.
>
>Can this be done?

There is a chance to get the Syntax of the Datawindows in your pbd. I
made it already because I had the same problem. If you know the name
of the Datawindows, write a function that copy the datawindow-syntax
in the clipboard. Then you can save it and import it an an other pbl.


Joost Bloemsma <dontspam_joost.bloemsma Posted on 2005-08-16 19:59:23.0Z
From: Joost Bloemsma <dontspam_joost.bloemsma@dlm.nl.com_dontspam>
Reply-To: dontspam_joost.bloemsma@dlm.nl.com_dontspam
Organization: DLM bv
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Is there a way to reverse engineer a .PBD file back to a .PBL file?
References: <42dc0c42.2327.1681692777@sybase.com>
In-Reply-To: <42dc0c42.2327.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: dsl187-16-100.fastxdsl.nl
X-Original-NNTP-Posting-Host: dsl187-16-100.fastxdsl.nl
Message-ID: <4302459b$1@forums-1-dub>
Date: 16 Aug 2005 12:59:23 -0700
X-Trace: forums-1-dub 1124222363 80.100.16.187 (16 Aug 2005 12:59:23 -0700)
X-Original-Trace: 16 Aug 2005 12:59:23 -0700, dsl187-16-100.fastxdsl.nl
Lines: 31
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8530
Article PK: 735753

No, sorry.

However you can add the .PBD file to your librarylist (PB 9 and up) and
inherit from the classes you want to modify. Then you can override the
methods you want to change. Of course you will have to adjust all
references to that class so that they reference the new subclass.

In PB 8 you can manually edit your targetfile to add a .PBD file, or
just change the extension to .PBL to add it from within the painter. I
must say I've never tried to compile something like that ;-)

Good luck.

--
******************************
** Joost A. Bloemsma
** PowerBuilder Developer
** DLM bv (www.dlm.nl.com)
******************************

Avishay Frister wrote:
> In our invoicing system, we have lost one PBL file. We have
> all the libraries except for one. This one file we have in
> PBD form but need to bring it back to PBL to make some
> modifications.
>
> Can this be done?
>
> Thanks
>
> Avi