Copying a Package

mikemcg12

Active Member
I'm refreshing our prototype enviornment over the holiday weekend. I have a procedure for refreshing the enviornment We haven't been able to get a full package build to work for quite a while. Our former CNC admin used to copy our full package build for production and rename it to be the prototype full package build. If I remember right he had to open a couple of files in the package and do a find and replace to make the package work. I can't for the life of me remember which files he opened and did this to. Can anyone help me out? Thanks!
 
Question: Do you need to copy central objects/code from Production to Prototype, too? If so, you'll need to:
1. Copy directories from PD to PY on the deployment server
(Run R9800942 from the Planner environment - be sure to set proc.
options as needed)
2. Copy Central Objects and Versions from PD to PY
(Either use SQL if you're familiar with that, or R98403, being
sure to set proc. options as needed)
3. Update Object Librarian records.
(Either use SQL if you're familiar with that, or R989861, being
sure to set proc. options as needed)

Now to copy the package itself:
1. Stop OneWorld enterprise server processes. Go to the Bx (e.g. b9)
directory. Delete the subdirectories under the PYx directory, and
then copy the subdirectories under the PDx directory into PYx.
2. On the deployment server, in the PYx/Packages directory, rename
the PD* packages to PY*
3. On the deployment server, go to the Package_INF directory and
copy the .inf file for the original package you are copying
4. Rename the .inf file you just copied to match the name given in
step 2 above.
5. Open the .inf file and replace all PD occurrences with PY.
6. Open the file /bxxx/PY9/Package/<packagename>/<platform>/serverpackage.inf and
change PackageName=PD* to PackageName=PY*
7. Log onto the deployment server in the deployment environment OR
on a workstation and go to the Package Assembly menu (GH9083).
8. Find the source package to copy and click Copy. Give the package
a new name and enter the Prototype path code name.
9. On the exit bar, click Define Build.
10. Choose Client and Server.
11. Choose the enterprise server name.
12. Do NOT choose anything for Build Specification Options, Build
Business Function Options, or Compression Options
13. Click End.
14. Click Submit Build.
15. At the warning "Directories exist for this package, do you want
to overwrite", click No.
16. Set up deployments for your enterprise server. Load new package
on workstations.

Hope this helps.
 
Back
Top