Retrieving resources

You have an AFP file (MYFILE) that contains page segments and overlays. You would like to retrieve the page segments and overlays from the file and create both a data file and a resource file. To retrieve resources, enter these parameters for your operating system:

acif inputdd=MYFILE outputdd=MYDATA resobjdd=MYRES \
restype=pseg,ovly,fdef formdef=F1H10110
Note: 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.

From this job, ACIF produces an AFP document file and a resource file. The AFP document file (MYDATA) contains the AFP data from MYFILE. The resource file (MYRES) contains the resource data from MYFILE.

You specify RESTYPE=PSEG,OVLY,FDEF so that the page segments and overlays are included in the resource file, along with the form definition (specified with the FORMDEF parameter) that you want ACIF to use when it is processing the file.

For more information about using ACIF’s resource retrieval functions, see Retrieving resources.