Overview
Loading a Sample Data File
Entry
Tools
Running Repaginator from Command Line
Running Repaginator from a Command Line

 

The parameters for Repaginator are as below. The program may be run from a command line prompt or as a filter from the FormTrap Spooler (any version).


When running ftrpg from command line you should provide full paths. However if you are running ftrpg as a filter in FTSpooler V7 you can use the two special environment variables:

%fthome% - location of the home directory
%ftinst% - location of the installation directory.

The command line in this case would look like this:

“%ftinst%ftrpg.exe” –r”%fthome%\Repagination Rules\payment_initial.rpg” –i”%1” –o”%2”

Or in case when standard handles are used just:

“%ftinst%ftrpg.exe” –r”%fthome%\Repagination Rules\payment_initial.rpg”

This form is preferable because it allows FTSpooler to capture error messages and store them in logs.

The optional –u parameter is used only on UNIX platforms when one or more file names contain non-ascii characters. In this case the command line itself should be UTF-8 (Unicode) encoded.

Top