PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/08/2015 12:13 PM by  Kris
Extract program version numbers
 8 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Demichener
Private
Private
Veteran Member
(118 points)
Veteran Member
Posts:50


Send Message:

--
08/26/2015 3:00 PM
    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
    Private
    Private
    Veteran Member
    (3912 points)
    Veteran Member
    Posts:1390


    Send Message:

    --
    08/26/2015 3:12 PM
    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
    Private
    Private
    Veteran Member
    (3912 points)
    Veteran Member
    Posts:1390


    Send Message:

    --
    08/26/2015 3:16 PM
    Attached is my wrapper.  (NOT rapper). script.  Please feel free to use.
    Attachments
    Demichener
    Private
    Private
    Veteran Member
    (118 points)
    Veteran Member
    Posts:50


    Send Message:

    --
    08/26/2015 3:18 PM
    Is that something I would execute from within LID? Wrapper script ??? Something you might share?
    Demichener
    Private
    Private
    Veteran Member
    (118 points)
    Veteran Member
    Posts:50


    Send Message:

    --
    08/26/2015 3:23 PM
    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
    Private
    Private
    Veteran Member
    (3912 points)
    Veteran Member
    Posts:1390


    Send Message:

    --
    08/26/2015 4:31 PM
    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
    Private
    Private
    Veteran Member
    (3912 points)
    Veteran Member
    Posts:1390


    Send Message:

    --
    08/26/2015 4:32 PM
    From LID, I'd probably do this:
    source_versions_report prod_line | lashow 
    scott.mullins
    Private
    Private
    New Member
    (7 points)
    New Member
    Posts:5


    Send Message:

    --
    09/01/2015 4:33 PM

    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
    Private
    Private
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    09/08/2015 12:13 PM
    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
    You are not authorized to post a reply.