Move programs to a different ENV

Sort:
You are not authorized to post a reply.
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: 468
    Veteran Member
      when you did a pgmload, did you use the -p option?
      Karen Sheridan
      Veteran Member
      Posts: 141
      Veteran Member
        I believe you need to use the -i option

        Karen
        John Henley
        Senior Member
        Posts: 3348
        Senior Member
          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: 545
          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
                    Senior Member
                    Posts: 3348
                    Senior Member
                      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
                      You are not authorized to post a reply.