PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06/15/2017 9:05 AM by  Jason Beard
Copy System Code
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
George Graham
Senior Consultant
G&G Solutions, Inc.
Veteran Member
(465 points)
Veteran Member
Posts:201


Send Message:

--
04/10/2013 3:34 PM
    Have a custom system code with programs defined. Trying to copy that entire system code to another server. No new elements involved. Have created the new blank system code on new server and have copied over the entire xxsrc folder. Also did pgmdump and pgmload as well as install few keys in skndef. Most of the programs are fine, but on a few getting error when trying to compile - and looks like its the scrgen causing the issue. 

    In program error file getting:

    Warning: Errors found in CM71.1
    Error: nScrs only 0

    This is also all I get when I try to manually do scrgen on this program.

    I know I'm missing something simple......just looking right past it.
    John Henley
    Private
    Private
    Senior Member
    (9563 points)
    Senior Member
    Posts:3205


    Send Message:

    --
    04/11/2013 8:55 AM
    George, are you running sysdump on the old product line, and sysload on the new one?
    Ideally, you should really be running metadumpxxx/metaloadxxx (e.g. metadumppgm/metaloadpgm, etc. ) to on source/target product lines to keep the metadata up-to-date; that is the Lawson-supported way of migrating product lines and metadata.
    Thanks for using the LawsonGuru.com forums!
    John
    maalimsimo
    Private
    Private
    Advanced Member
    (66 points)
    Advanced Member
    Posts:28


    Send Message:

    --
    05/12/2017 3:49 PM
    This is an old thread but I do have some questions in the same regard. We are gearing for an upgrade from V9 to V10. We do have a handful of custom cobol code that we need to migrate that lives in 5 custom system codes, all zasrc, zbsrc, etc. Now, the recommended utilities metadumpxxx all seem seem to operate at Product line level, for example: metadumppgm productline programcode. How does that work if I need to dump custom programs within the custom source code only (and exclude the Lawson source code (e.g hrsrc) from the dump)?.
    Jason Beard
    Private
    Private
    Veteran Member
    (219 points)
    Veteran Member
    Posts:79


    Send Message:

    --
    06/15/2017 9:05 AM
    Sadly you are correct... I normally still do a sysdump pline syscode with no issues. Alternatively you can generate a listing of programs and script the process of the metadump/loads.
    Jason Beard
    617-548-5568
    jabeard3@gmail.com
    You are not authorized to post a reply.