PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 9/8/2015 4:13 PM by  Kris
Extract program version numbers
 8 Replies
 0 Subscribed to this topic
 77 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages
Demi
Private
Private
Veteran Member
(157 points)
Veteran Member
Posts:67


Send Message:

--
8/26/2015 7: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
    (4163 points)
    Veteran Member
    Posts:1487


    Send Message:

    --
    8/26/2015 7: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
    (4163 points)
    Veteran Member
    Posts:1487


    Send Message:

    --
    8/26/2015 7:16 PM
    Attached is my wrapper.  (NOT rapper). script.  Please feel free to use.
    Attachments
    Demi
    Private
    Private
    Veteran Member
    (157 points)
    Veteran Member
    Posts:67


    Send Message:

    --
    8/26/2015 7:18 PM
    Is that something I would execute from within LID? Wrapper script ??? Something you might share?
    Demi
    Private
    Private
    Veteran Member
    (157 points)
    Veteran Member
    Posts:67


    Send Message:

    --
    8/26/2015 7: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
    (4163 points)
    Veteran Member
    Posts:1487


    Send Message:

    --
    8/26/2015 8: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
    (4163 points)
    Veteran Member
    Posts:1487


    Send Message:

    --
    8/26/2015 8: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:

    --
    9/1/2015 8: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:

    --
    9/8/2015 4: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.