.com Solutions Inc. - Logo  
support header buttons
.
Repgenbullet 7f Installgenbullet 7f FmPro Migrator bullet 7f CGIScripter
.
.
.
. .

 

 


.

. .

 

...
.

support how to title image

hline f image

How to change the file generation process [Enterprise Edition]

Prior to generating output files, the Repgen application will check for a file named repgen_custom.pm located within the directory where it has been installed. If this file is found, it will be copied to the destination directory and executed along with the main perl program which is used to generate output files.

There are two subroutines from the repgen_custom.pm perl module which are exported for use by the main perl program.

The before_script_generation() subroutine runs after the configuration parameters have been read from the repgen_conf.pm file, but prior to the 1st output file being generated.
Adding code to this subroutine can affect globally used configuration variables, which will be used throughout the file generation process.

The after_script_generation() subroutine runs after all of the output files have been generated. This subroutine provides a convenient location for DBAs to more fully customize any of the output files which have already been generated. The recommended process to follow is to look at the perl source code which gets written to the disk during the file generation process. Each output file is created with a corresponding subroutine which is called from the main perl program file. Find and copy the subroutine which generates the file you want to change. Paste this code into the repgen_custom.pm file, and place a call to this subroutine into the after_script_generation() subroutine. Modify the subroutine as needed to make your custom changes to the output file.

If you allow the subroutine to use the default filenames then your customized version of the output file will replace the standard version of the file.

If you want to create a brand new output file, just provide a filename which differs from any of the existing output files.

hline f image

hline

. .

.

. .

 

 

 

Home | Products | Services | Downloads | Order | Support | Contact

Legal Notices

.
.   .
.
Home Products Services Downloads Order Support Contact