Transforming line data or XML data into a MO:DCA-P document
You have a line data file named OLDFILE.line
or an XML data file named OLDFILE.xmp
that you want to transform into a MO:DCA-P document named NEWFILE.afp
. To transform line data or XML data, enter these parameters for your operating system:
acif inputdd=OLDFILE.line outputdd=NEWFILE.afp cctype=a \
fileformat=record pagedef=P1A06462 formdef=F1A10110
- Note:
- For XML data, use
OLDFILE.xmp
for inputdd. - The backslash (\) tells AIX to continue reading the command from the next line. In Windows, the backslash is not valid; therefore, the command parameters must be on one continuous line.
ACIF converts the line data or XML data file, pointed to by the INPUTDD parameter, into a document file pointed to by the OUTPUTDD parameter.
For line data, you specify CCTYPE=A to indicate that the file contains EBCDIC ANSI carriage control characters. This particular input file is in variable length record format, so in AIX and Windows you specify FILEFORMAT=RECORD. The PAGEDEF and FORMDEF parameters are required with your line-data input file, so you specify the file names of the page definition and form definition you want ACIF to use in processing this file.