HVTO Search Engine
OUTPUTLINKS ONLY
600+ HVTO SITES
HVTO Columnists Guide
In This Section

OutputLinks columnists are leading HVTO experts. Our columnists regularly publish insights and thought leadership on the latest management and technical topics related to rapidly changing HVTO industry.

Contact a Columnist

All emails are read, but columnists cannot respond to each query because of the volume of email received. When contacting a specific columnist, please put his name in the subject line of your email. Thanks!

Frequently Asked Questions

AFP Answers & Wisdom

AFP Frequently Asked Questions

Peruse the wisdom shared and questions answered by some of the HVTO industry’s premier AFP talents. Feel free to submit your questions to AFPGuru@OutputLinks.com.

Article
Dec 28, 2004

Concatenation Order of ACIF Generated Files

Question:
I am creating AFPDS files using ACIF using the INDEX features as well as the Resource File creation feature. When I generate output for printing, without concatenating the three component files, the printed output looks correct. When I generate output for viewing, concatenating the three component files, I get unexpected and undesired results. I use the following JCL parameters to concatenate the 3 output files:

//GENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//* SYSUT2 DD SYSOUT=(T),DEST=LW0101
//SYSUT2 DD DSN=MYFILES.ACIFX.CONCAT,DISP=(NEW,CATLG,DELETE),
//         DCB=(LRECL=32756,BLKSIZE=32760,RECFM=VBM,DSORG=PS),
//         SPACE=(32760,(100,50))
//SYSUT1 DD DISP=SHR,DSN=MYFILES.ACIFX.OUTPUT
//         DD DISP=SHR,DSN=MYFILES.ACIFX.INDEX
//         DD DISP=SHR,DSN=MYFILES.ACIFX.RESLIB
//SYSPRINT DD SYSOUT=*

Am I doing something wrong?

Answer:
Unfortunately, your sequence of the component output files is incorrect. The correct order for the files is:

//SYSUT1 DD DISP=SHR,DSN=MYFILES.ACIFX.INDEX
//         DD DISP=SHR,DSN=MYFILES.ACIFX.RESLIB
//         DD DISP=SHR,DSN=MYFILES.ACIFX.OUTPUT

Check out the AFP ACIF reference manuals available from IBM at: http://www.printers.ibm.com/R5PSC.NSF/Web/afpm.

If you would like some additional information on AFP training or need help trying to determine the best approach, contact COPI at: 1-888-999-COPI.

You can also view the archive of past AFP related articles by clicking AFP FAQ's.

Rate This Article
Fullname
Company Name
Email Address
Rating