becomes part of the InfoPrint Manager executable code, a defective user-exit
program could cause problems with InfoPrint Manager.
Compile and install your user-exit program
To compile and install your user-exit program, follow these steps:
Notes:
You must have
root
authority to use the
make
command in this directory.
1.
If you already have an existing executable user-exit program in the
/usr/lpp/psf/bin
directory for the user-exit program you are adding, do these
steps first; otherwise, go to step 2.
a.
Disable all the logical destinations associated with the queues that are to
receive jobs that will use the new user-exit program.
b.
Delete the executable user-exit program from the
/usr/lpp/psf/bin
directory.
2.
To make the directory in which the user-programs are stored the current
directory, enter:
cd /usr/lpp/psf/exits
3.
On the AIX command line, enter:
make
The
make
command reads the
Makefile
file supplied with InfoPrint Manager,
compiles and generates the user-exit program.
4.
On the AIX command line, enter:
make install
The
make install
command copies the executable user-exit program from the
/usr/lpp/psf/exits
directory into the
/usr/lpp/psf/bin
directory so that the code
executes with InfoPrint Manager.
5.
Enable all of the logical destinations that you disabled.
Notes:
1.
If you do not want to copy the executable user-exit program into the
/usr/lpp/psf/bin
directory, you can copy them into another directory. However,
if you do this, you need to add the path to the
PATH
statement in the
/etc/environment
file so that InfoPrint Manager can locate the module.
2.
You can only specify one user-exit program for each function name provided
by InfoPrint Manager per queue.
3.
Make sure the function name of the user-exit is one of the following where the
name is in uppercase letters, because that is the entry point in the module:
v
ACCOUNTING
v
AUDIT
v
JOBCOMPLETION
v
HEADER
v
SEPARATOR
v
TRAILER
v
INDATA
v
OUTDATA
4.
If you do not want to use the same name for the user-exit program, you must
edit the
Makefile
file and change the name of the user-exit program supplied
with InfoPrint Manager to the new name. For example, to call your new header
user-exit program
header
, you must edit the
Makefile
file and change the
name of the existing header user-exit program,
ainuxhdr
to
header
. In addition,
60
InfoPrint Manager for AIX: Procedures
Summary of Contents for InfoPrint Manager for AIX
Page 1: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 2: ......
Page 3: ...InfoPrint Manager for AIX Procedures Version 4 Release 3 G550 1066 04 ...
Page 6: ...iv InfoPrint Manager for AIX Procedures ...
Page 8: ...vi InfoPrint Manager for AIX Procedures ...
Page 16: ...2 InfoPrint Manager for AIX Procedures ...
Page 20: ...6 InfoPrint Manager for AIX Procedures ...
Page 58: ...44 InfoPrint Manager for AIX Procedures ...
Page 62: ...48 InfoPrint Manager for AIX Procedures ...
Page 70: ...56 InfoPrint Manager for AIX Procedures ...
Page 96: ...82 InfoPrint Manager for AIX Procedures ...
Page 110: ...96 InfoPrint Manager for AIX Procedures ...
Page 156: ...142 InfoPrint Manager for AIX Procedures ...
Page 170: ...156 InfoPrint Manager for AIX Procedures ...
Page 234: ...220 InfoPrint Manager for AIX Procedures ...
Page 236: ...222 InfoPrint Manager for AIX Procedures ...
Page 256: ...242 InfoPrint Manager for AIX Procedures ...
Page 326: ...312 InfoPrint Manager for AIX Procedures ...
Page 330: ...316 InfoPrint Manager for AIX Procedures ...
Page 331: ...Part 3 Operator and user procedures Copyright InfoPrint Solutions Company 1998 2010 317 ...
Page 332: ...318 InfoPrint Manager for AIX Procedures ...
Page 348: ...334 InfoPrint Manager for AIX Procedures ...
Page 365: ...Part 4 Appendixes Copyright InfoPrint Solutions Company 1998 2010 351 ...
Page 366: ...352 InfoPrint Manager for AIX Procedures ...
Page 370: ...356 InfoPrint Manager for AIX Procedures ...
Page 378: ...364 InfoPrint Manager for AIX Procedures ...
Page 382: ...368 InfoPrint Manager for AIX Procedures ...
Page 406: ...392 InfoPrint Manager for AIX Procedures ...
Page 416: ...402 InfoPrint Manager for AIX Procedures ...
Page 417: ......
Page 418: ...Program Number 5648 F35 Printed in USA G550 1066 04 ...