Extract program version numbers

 8 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Demi
Veteran Member Send Private Message
Posts: 67
Veteran Member
We are a Windows environment and are in the process of upgrading our systems from 9.0.1 to version 10.  While migrating some of our custom programs into the 10env; we discovered that some of the version numbers in our 9.0.1 system are higher than the version numbers in the delivered 10.0 programs.  We would like to obtain a list of the current programs and their assigned version numbers for a comparison between the systems.  Have others seen this?  How did you handle it?  If you had a custom program that was built from a higher version program in 9.0.1, than what was delivered in the newly released version; what did you do?
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
Lawson (at least in version 9.0.1) supplies a program that you can run and it will provide the specific list... source_versions_report prod_line I've actually written a wrapper script to produce an HTML page from the results so that it's easier to search. Our super users like it - esp when opening calls with Infor.
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
Attached is my wrapper.  (NOT rapper). script.  Please feel free to use.
Attachments
Demi
Veteran Member Send Private Message
Posts: 67
Veteran Member
Is that something I would execute from within LID? Wrapper script ??? Something you might share?
Demi
Veteran Member Send Private Message
Posts: 67
Veteran Member
THANKS! We will definitely try it out. I can see where this would very helpful. rapper (hehe) - cute. A little bit of music fills up the long days and gets me through the rough periods.
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
Yes, you'd run the command from LID.... We are a Unix shop (currently) so the wrapper script is a Unix one... If you are a Windows shop with Cygwin, you may be able to get it to run. Let me know if it does, please!
Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
From LID, I'd probably do this: [code]source_versions_report prod_line | lashow [/code]
scott.mullins
New Member Send Private Message
Posts: 5
New Member

Thanks for sharing, Greg.

Actually, on our AIX box, we had to add the perl command out in front since it has to source perl to run.

So, from command line, it worked for us when we typed the following:

              perl $GENDIR/bin/source_versions_report  prodline

 

Hope this helps others who may have run across same issue 

Kris
New Member Send Private Message
Posts: 3
New Member
Thanks for the info. For the Windows world the command we used is: perl %GENDIR%/bin/source_versions_report prodline > version.txt When time permits we will try out the wrapper script