Author Topic: AFP structure issue.  (Read 2952 times)

pankaj.puranik

  • Sr. Member
  • ****
  • Posts: 374
    • View Profile
AFP structure issue.
« on: April 24, 2012, 04:30:33 AM »
Hi

The MainFrame team send me an AFP after inserting some NOPs.
The NOPs are as seen in the picture attached.

This is the output of ACIF which is also run on MF.
This file is then sent to CMOD for ingestion.
Now assume that CMOD breaks the file at each NOP (each document is report has 1 page only).
This means that while breaking the report, each document will have PTX as the last tag and EPT will go to the next document.

This becomes a problem when we use Xenos transform to convert the AFP into PDF.
In some case it explicitly complains that a tag is missing.

Does anyone have a solution for this.

I remember in my last project, IBM had provided a utility called fixmix and fixres to fix the data and the resource file.

Apart from this do I have any other option?

Cheers
Pankaj.

pankaj.puranik

  • Sr. Member
  • ****
  • Posts: 374
    • View Profile
Re: AFP structure issue.
« Reply #1 on: December 31, 2012, 07:56:25 AM »
Just in case some one looks at this post.
Here is what we did.
The mainframe team wrote a COBOL program to fix the tags before sending the file to CMOD.
That was the fix.

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1200
    • View Profile
Re: AFP structure issue.
« Reply #2 on: January 29, 2013, 08:48:33 AM »
Pankaj - thanks for posting the resolution.
#zOS #ODF