Move programs to a different ENV

 9 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
Chesca
Veteran Member
Posts: 490
Veteran Member
    I changed a program in our upgrade environment and got a cleaned compile. I want to move the program to test environment for user's testing. I used the pgmdump and then tried compiling the custom program and got an error (new fields added to the workfile) are not on the workfile in the new environment.
    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      when you did a pgmload, did you use the -p option?
      Karen Sheridan
      Veteran Member
      Posts: 142
      Veteran Member
        I believe you need to use the -i option

        Karen
        John Henley
        Posts: 3353
          I would recommend using the metadumpxxx/metaloadxxx utilities rather than pgmdump/pgmload to migrate the program, work files, messages, etc. across environments, since it will also make sure the meta files are in sync.
          Thanks for using the LawsonGuru.com forums!
          John
          Roger French
          Veteran Member
          Posts: 549
          Veteran Member
            Did you also move the COBOL code of the program?
            Chesca
            Veteran Member
            Posts: 490
            Veteran Member
              Ragu, I used the -p option.
              Chesca
              Veteran Member
              Posts: 490
              Veteran Member
                Hi Roger, yes, it moved the cobol code.
                Chesca
                Veteran Member
                Posts: 490
                Veteran Member
                  Hi John, where can I find doc on how to use those commands? Thank you for your help!
                  Chesca
                  Veteran Member
                  Posts: 490
                  Veteran Member
                    where I can find doc on how to use metadumpxxx utility?
                    John Henley
                    Posts: 3353
                      It's in the Application Maintenance Toolset (AMT) guide for version 8 and 9, and in the LSF System Utilities guide for version 10.
                      Thanks for using the LawsonGuru.com forums!
                      John