Specifying ACIF processing parameters
You can process the ACIF parameters that are needed to produce the telephone bill by using one of these methods:
- Create and specify a parameter file.
- Enter the
acif
command, parameters, and values on the command line or in a shell script.
An AIX parameter file is shown in Example of an AIX Parameter File. A Windows parameter file is the same as the AIX parameter file except for these directories:
FDEFLIB=\d:\res\fdeflib1;\d:\res\fdeflib2 FONTLIB=\d:\res\fontlib1;\d:\res\fontlib2 OBJCONLIB=\d:\res\objconlib1;\d:\res\objconlib2 OVLYLIB=\d:\res\ovlylib1;\d:\res\ovlylib2 PDEFLIB=\d:\res\pdeflib1;\d:\res\pdeflib2 PSEGLIB=\d:\res\pseglib1;\d:\res\pseglib2 INPUTDD=\d:\data\INFILEAlso note that in Windows you use a semicolon (;) instead of a colon (:) to separate libraries.
Example of an AIX Parameter File
/* Example phone bill */ /* DATA CHARACTERISTICS */ CC=yes /* Carriage control used */ CCTYPE=z /* ASCII ANSI carriage controls */ CHARS=42B2 /* Coded font */ CPGID=850 /* Code page identifier */ /* FIELD AND INDEX DEFINITION */ FIELD1=13,66,15 /* Account Number data field */ FIELD2=0,50,30 /* Name data field */ FIELD3=1,50,30 /* Address data field */ FIELD4=2,50,30 /* City, State, ZIP data field */ FIELD5=4,60,12 /* Date Due data field */ INDEX1='Account Number',FIELD1 /* 1st index attribute */ INDEX2='Name',FIELD2 /* 2nd index attribute */ INDEX3='Address',FIELD3 /* 3rd index attribute */ INDEX4='City, State, ZIP',FIELD4 /* 4th index attribute */ INDEX5='Date Due',FIELD5 /* 5th index attribute */ /* INDEXING INFORMATION */ INDEXOBJ=all /* Index object file entries */ /* RESOURCE INFORMATION */ FORMDEF=F1A10110 /* Formdef name */ PAGEDEF=P1A08682 /* Pagedef name */ FDEFLIB=/usr/res/fdeflib1:/usr/res/fdeflib2 /* Formdef directories */ FONTLIB=/usr/res/fontlib1:/usr/res/fontlib2 /* Font directories */ OBJCONLIB=/usr/res/objconlib1:/usr/res/objconlib2 /* Objcon directories */ OVLYLIB=/usr/res/ovlylib1:/usr/res/ovlylib2 /* Overlay directories */ PDEFLIB=/usr/res/pdeflib1:/usr/res/pdeflib2 /* Pagedef directories */ PSEGLIB=/usr/res/pseglib1:/usr/res/pseglib2 /* Pseg directories */ RESOBJDD=RESDATA /* Resource file name */ RESTYPE=fdef,pseg,ovly /* Resource type selection */ /* FILE INFORMATION */ INDEXDD=INDXOBJ /* Index file name */ INPUTDD=/usr/data/INFILE /* Input path & file name */ OUTPUTDD=OUTDOC /* Output file name */ MSGDD=acif.msg /* Error message file name */ /* EXIT AND TRIGGER INFORMATION */ TRIGGER1=*,1,'1' /* 1st trigger */ TRIGGER2=13,50,'ACCOUNT NUMBER' /* 2nd trigger */