View Full Version: Custom Program Not Copied Over

LawsonTalk > Coding, Program Errors and Bugs > Custom Program Not Copied Over


Title: Custom Program Not Copied Over
Description: "ZZ"


Mil0n023 - May 3, 2007 08:09 PM (GMT)
I have a custom Benefit Program that I built in PROD, and did a Full Copy to TEST, however the Program did not come accross..

I dumped the .SRC, .PDs, etc.. what else do I need to do to ge tthis program in TEST?
It has never resided in TEST.

Thanks!
:ph43r:

schroncd - May 3, 2007 09:07 PM (GMT)
pgmdump / pgmload - then you can compile it

shane pennington - May 10, 2007 01:18 PM (GMT)
FYI...

Most likely it did not come over as part of your sysdump from your source productline because the "In Production On" flag was not set. If this flag is not set, the information you would normally get from pgmdump is not included in sysdump, also, your app will not be compiled as part of a cobcmp.

Milo - May 16, 2007 08:15 PM (GMT)
MilOn023:

You wrote:
> what else do I need to do to ge tthis program in TEST?

You need "metacopyoutpgm.sh" and "metacopyinpgm.sh". They are program dump-copy-load scripts, currently working for UNIX / Solaris. (I have a working version for Windows running MKS Toolkit, too, just not properly named yet. )

They do all the work needed to migrate custom programs. Just using pgmdump / pgmload DOES NOT DO IT and I got pretty tired of having to re-install work files. My scripts dump out everything possible, then also copy the source code. Upon install, they check to see if there are any source code changes -- and back up the old versions if any exist. Also -- they move standard user exit programs (not the special ones used in payroll, sorry).

The nicest thing about metacopyoutpgm.sh/metacopyinpgm.sh is that they dump all program move files into a single daily folder. That allows you to move the folder from one system to another (using SmartFTP recommended) then load from the move folder. Because the move folder has to be specified in loading, you can rename the folder and use it to archive your programs, too! [Sorry, one thing it WON'T do is transfer from one Lawson level to another.]

I gave Dave Schronce a copy of the UNIX versions; I haven't heard back from him yet.

Email me at "mtsukroff@edisonschools.com" or "milotsukroff@vh.net" if you want copies, but specify which OS you're using.

Disclaimer: Requires the AMT.

schroncd - May 16, 2007 09:36 PM (GMT)
I owe Milo and the Lawson community an apology. I have those scripts sitting in my email system and got so busy on another project I never posted them.

I've asked Milo to send me the latest versions of both the Unix and Windows scripts and I'll get them posted on my Lawson pages immediately.



Hosted for free by InvisionFree