We are a hospital using Paragon as our electronic medical record. Paragon is only compatible with .pbl in version 2017. We accidentally converted this file to 2021 and cannot run vital reports necessary to care for our patients. Is there a way to convert the .pbl back?
- Shane Pilcher
- InfoMaker
- Thursday, 26 May 2022 17:49 PM UTC
- Sunday, 29 May 2022 22:29 PM UTC
- InfoMaker
- # Permalink
As Mike said:
You will need someone with a PowerBuilder 2017 IDE to help you.
Since you are using InfoMaker I will assume that you do not have access to a PB2017 IDE.
Many of us here can do this for you, just reach out to someone and ask them to recompile the report. John Fauss might be the fastest.
HOWEVER: note that the report is in a PBL, and I'll bet the entire PBL was migrated, which means every report in it was migrated to PB2019.
So: reach out to someone on this forum and ask them to recompile the PBL in PB2017 <please tell us the build>.
Later -
Olan
PS: I can help with this, but I will need to install 2017 <build> on my PC and I am swamped in the real world so it might take me some time to turn the PBL around. I can but try if you ask. Olan
Any object that is NOT a datawindow can be regenerated.
Datewindows that have been edited MUST be exported and the version number changed back to 17. Then import the datawindow into your 2017 pbl.
your target should be recreated
** this only applies to recent versions of PB (2017,19,21). older versions may need more work
- Roland Smith
- Friday, 27 May 2022 17:35 PM UTC
-
Helpful Loading... Helpful 2
Again, thank you all for your responses. They have been extremely valuable. We were able to restore from a backed-up copy. After final RCA, we determined it was not a result of not following procedures. Instead, we inadvertently were editing and creating reports in the PROD pbl. We have since changed that process to make all changes in separate pbl file and move it into PROD when we are ready to publish the changes.
- John Fauss
- Tuesday, 31 May 2022 14:53 PM UTC
-
Helpful Loading... Helpful 0
As Chris explains here in this post from 90 minutes ago...
https://community.appeon.com/index.php/qna/q-a/undo-migration
There is no migration "undo". Chris's response describes your available options.
Hey, I used to work on that application (Paragon) while at McKesson. Do you have another machine on your network with an 'un-upgraded' version of the .pbl? Just copy it back from there.
Hi,
Just now, I realized that you might not have a Powerbuilder IDE to re-convert to 2017. Since you're using "Infomaker".
If you want, I can try to convert the pbl for you. The only thing I would have to know is which build of 2017 the pbl was originally made with.
regards.
- Andreas Mykonios
- Monday, 30 May 2022 06:18 AM UTC
-
Helpful Loading... Helpful 1
- Miguel Leeuwe
- Monday, 30 May 2022 07:40 AM UTC
Yes you're right. It's only a PBL.
regards.
-
Helpful Loading... Helpful 0
Can you get it from the Windows 'Restore previous versions' feature? If not then you might be able to export all the objects from 2021 and then re-import them into the correct PBL version? Never tried but could work since none of the syntax gets changed.
Lastly, not trying to pour salt onto a wound but if this is that critical then you should be using a source control system - you can restore anything at that point.
Chris Craft
- Arnd Schmidt
- Thursday, 26 May 2022 18:24 PM UTC
If it only includes untouched Datawindows .. trivial.
Arnd
-
Helpful Loading... Helpful 0
If you didn't make any backup, one of our consulting partners might be able to help you salvage the code: https://www.appeon.com/consultants/consulting-partners
Thank you for your responses. We are locating that file in our backups. Unfortunately, it seems our policy and procedure was not followed which would have created a copy of that file at the time it was replaced. I appreciate your help!
- Miguel Leeuwe
- Thursday, 26 May 2022 19:56 PM UTC
You can simply export all of the objects and re-import them into a pb2017 library. If you have modified datawindow objects, you export them and then edit them first. On one of the first lines you have to change "release to be 17" instead of 21. I don't think you might have to delete any 'new' attributes of the exported dw source, but you might. I havent tried it with 2021 myself yet.
-
Helpful Loading... Helpful 1
- Page :
- 1
However, you are not allowed to reply to this question.