Program to pull 4gos back out of a 4gi?
Posted in 2010
Topics: General Discussion
Hi all, Does anybody have a program, or know of a program that will deconcatenate the 4go components out of a 4gi? I know that this shouldn't be too hard to whip up, I'm just looking to save myself some work. Our problem is that we have multiple versions of some function modules and we are not always sure what versions are actually in production. Thanks, Todd
On Aug 27, 6:13 am, Todd Roy <tm...@hotmail.com> wrote: > Does anybody have a program, or know of a program that will deconcatenate the 4go components > out of a 4gi? I know that this shouldn't be too hard to whip up, I'm just looking to save myself some > work. > > Our problem is that we have multiple versions of some function modules and we are not always > sure what versions are actually in production. I've not needed to do it, so I don't have a tool that does it available off the shelf, as it were. However, you should find at the IIUG Software Archive a package 'rdslink' or 'rdslib'. This is a p-code librarian and linker - and also includes a p-code scanner, rdsscan. You could use that framework pretty easily to recognize new files within a composite, and write each of the files to an appropriate output file. It would be a few hours work at most, I think, to do that. The biggest problem is probably what to do if there are collisions in file names extracted - either with files already on the system or because the same .4go name was used several times (with different contents - this can happen, though it is hardly recommended practice). HTH - shout if you decide you need more assistance. -=JL=-