The main() arguments are the input parameters required by the main()
function. The main() arguments that you define are used in the following
situations:
- The custom server IPL status is set to AUTOEXEC (see the Blueworx Voice Response for AIX:
Configuring the System information).
- The custom server is started from the Custom Server Manager window
(see the Blueworx Voice Response for AIX:
Configuring the System information).
- The custom server is started by another custom server using the
CA_Start_CA() subroutine, and the number of arguments (num_args)
is set to zero (see CA_Start_CA()).
The main() arguments that you define are not used
when:
- The custom server is started by the custom server debug process
(see Debugging a custom server).
- The custom server is started by another custom server, and the
number of arguments (num_args) is greater than zero.
- The custom server is started from the command line or a shell
script.
The main() arguments can be updated and saved without having to
rebuild and install the custom server. Modified main() arguments are
used the next time the custom server is started.
Syntax
The names of the main()
arguments are character strings or numbers. For example:
input1.data
/tmp/phonefile
4085551234