Hello..
I have a AFP file(with multiple pages) and I am using ACIF indexer to load it in CMOD. It is getting successfully loaded, but when I retrieve the same document I am only able to view a One page document were as the system log says all the rows loaded successfully. Not able to view the rest of the pages. Whereas the same AFP I am able view with all pages which is loaded using OS/390 indexer.
Please can anyone can advice what is being missed in the ACIF part.
ACIF indexer:
CC=YES
CCTYPE=A
CONVERT=YES
CPGID=500
MCF2REF=CF
TRC=NO
FORMDEF=F1FMMST
FDEFLIB=/opt/xx/xx
FONTLIB=/opt/xx/xx
OVLYLIB=/opt/xx/xx
PDEFLIB=/opt/xx/xx
PSEGLIB=/opt/xx/xx
EXTENSIONS=RESORDER
FILEFORMAT=STREAM
DCFPAGENAMES=NO
UNIQUEBNGS=YES
RESFILE=SEQ
RESTYPE=ALL
IMAGEOUT=ASIS
INDEXOBJ=ALL
System log:
APK440I ACIF AT IM43P11 HAS COMPLETED NORMALLY WITH RETURN CODE 0.
ARS4308I 08/07/15 09:40:02 Indexing completed
ARS4312I 08/07/15 09:40:02 -- Loading started, 4783423 bytes to process
ARS1140I Resource ./dcorr01.afp.res matches the resource >14-20-0<
ARS1143I The field name 'INFNAME' found in the index file does not match any expected fields. The field will be ignored.
ARS1144I OnDemand Load Id = >6321-20-0-73FAA-19000101000000-20140418000000-6322<
ARS1146I Loaded 42 rows into the database
ARS1175I Document compression type used - OD77. Bytes Stored = >538975< Rows = >42<
ARS4310I 08/07/15 09:40:04 Loading completed
Hello azkhan,
I'm not sure to understand the problem exactly.
How many pages does this AFP have? (I assume 1 page per index, so in total of 42 pages)
How many different indexes does this AFP have? (I assume here 42 indexes, since this is what the output is telling us)
Have many pages are referenced by each indexes? (I assume 1 page per index)
If what I assume is correct, but for that you need to correct me, you have 42 indexes, and each index has exactly 1 page.
Therefore you will see that in your databases, you will have 42 entries in the Libraries server, and each of these entries will display the corresponding 1 page of the AFP.
Is my theory correct?
Yup, I agree with Alessandro -- something isn't quite right with the indexing. The best way to diagnose that is to see the data, which you definitely shouldn't post.
Have you tried the arsafpd utility to see what's inside the AFP documents? There's even a post about it here on the forums:
http://ODUG.net/index.php?topic=1209.0
-JD.
Hello Justin,
Thanks for the link.
As suggested I tried the arsafpd utility in my AIX box it did not show any error for the AFP.
Hello Alessandro,
Thanks for the response..
In my CMOD AG setup I have 45 index fields. Now I tired to archive the same AFP using OS/390 indexer in AIX and all seems to be good.
I am able to see 42 rows loaded into CMOD and can access each document individually i.e a total of 42 documents are loaded and each document has 5 pages which I can see in CMOD Client window as 1/5 pages and I am able to scroll and view all the pages of each and every 42 loaded documents.
Where as when I archive same AFP using ACIF I am only able to view 1 page for each of 42 documents that are archived.
For every entry in CMOD Client I am able to view 1/1 page only.
So is there any specific configuration or parameters I missed when loading thru ACIF indexer.
AAAAaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhh now I understand!
The problem is that OS/390 and ACIF Indexer don't work in the same way... They have differences.
I cannot help very much, because I'm not that expert in OS/390 Indexer and ACIF indexer.
The most important for the AFP indexing (TLE), you must have an AFP with the following format:
BRG Begin Resource Group
BR Begin Resource F1A10111
BFM Begin Form Map
BDG Begin Document Environ Group
PGP1 Page Position Format1
MDD Medium Descriptor
EDG End Document Environ Group
BMM Begin Medium Map F2A10111
BFG Begin Form Environ Group
PGP1 Page Position Format1
MCC Meduim Copy Count
MMC Medium Modification Control
EFG End Form Environ Group
EMM End Medium Map F2A10111
EFM End Form Map
ER End Resource F1A10111
BR Begin Resource S1ISLOGO
...
ER End Resource S1ISLOGO
...
ERG End Resource Group
BDT Begin Document
BNG Begin Named Page Group 00000001
TLE Tag Logical Element
TLE Tag Logical Element
TLE Tag Logical Element
TLE Tag Logical Element
IMM Invoke Medium Map ABBB
BPG Begin Page 00000001
BAG Begin Active Environment Group
MCF2 Map Coded Font2
NOP No Operation
PGD Page Descriptor
PTD2 Presentation Text Desc2
EAG End Active Environment Group
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
ENG End Named Group
BNG Begin Named Page Group 00000002
...
ENG End Named Group
EDT End Document
And here is a link with a bit more interesting information with AFP and TLEs:
http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif007.htm (http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif007.htm)
Now, what you can try, is the following:
/* DATA INPUT/OUTPUT CHARACTERISTICS */
CC=YES /* carriage controls present */
CCTYPE=A /* ANSI controls in EBCDIC */
CONVERT=YES /* AFP data in the system */
/* TRIGGER/FIELD/INDEX DEFINITIONS */
/* None when ACIF processes AFP input data containing TLEs */
/* INDEXING INFORMATION */
DCFPAGENAMES=YES /* unique page names */
UNIQUEBNGS=YES /* unique group names */
IMAGEOUT=ASIS /* leave images alone */
INDEXOBJ=ALL /* required for large object */
/* RESOURCE INFORMATION */
FORMDEF=F1FMMST /* default formdef */
FDEFLIB=/opt/xx/xx
FONTLIB=/opt/xx/xx
OVLYLIB=/opt/xx/xx
PDEFLIB=/opt/xx/xx
PSEGLIB=/opt/xx/xx
RESTYPE=ALL /* collect resources */
EXTENSIONS=RESORDER
if that helps... basically, this your ACIF information with this link example : http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif011.htm (http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif011.htm)
So not that much different from your example.
My advice would be really to check the internal of the AFP with the option "-d", at first, to check if the structure of the document and the TLE are correct, and then with the "-t" you will be able to see all the content of each fields.
If you want you can show us the basic AFP structure (only with option "-d") since it won't say anything about the sensitive data you might have inside.
Hey Alessandro,
I tried to debug using arsafpd utility, no error line was pointed out.
Result of the ARSAFPD option -s -i
ARS7104I Document type: AFP
ARS7107I Group TLE structured fields were encountered
Still the issue is there... :(
Hello Azhkan,
if you use the option "-s", you will see nothing at all, and the message "Group TLE structured fields were encountered" is nothing but useful in your specific case...
That's why you "must" use the option "-d" and then check, and check the overall structure of your document, if everything from a structural point of view is correct. We don't speak here about what's inside... because in your case this is irrelevant.
Do you see something like that in your afp, when you do "arsafpd -d -i file.afp" ??
BDT Begin Document
BNG Begin Named Page Group 00000001
TLE Tag Logical Element
BPG Begin Page 00000001
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
...
BPG Begin Page 00000005
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
ENG End Named Group
BNG Begin Named Page Group 00000002
TLE Tag Logical Element
BPG Begin Page 00000006
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
...
BPG Begin Page 00000010
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
ENG End Named Group
...
BNG Begin Named Page Group 00000044
TLE Tag Logical Element
BPG Begin Page 00000200
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
...
BPG Begin Page 00000205
BCT Begin Composed-Text Block
PTX Presentation Text Data
ECT End Composed-Text Block
EPG End Page
ENG End Named Group
EDT End Document
??????
Could you show us, how the structure looks like? A little bit like I've done here? Otherwise it will be difficult to understand the problem that you have.
Thanks,
Alessandro
Hello Alessandro,
This is what I was able to capture and paste as not able to scroll more in the window.
I had used arsafpd -d -t -i <file name>
952577 TLE Tag Logical Element 0014 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952578 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952579 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952580 TLE Tag Logical Element 0019 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952581 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952582 TLE Tag Logical Element 0014 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952583 TLE Tag Logical Element 0015 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952584 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952585 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952586 TLE Tag Logical Element 001C D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952587 TLE Tag Logical Element 0019 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952588 TLE Tag Logical Element 001A D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = ''
952589 TLE Tag Logical Element 001D D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'XXXX'
TLE Attribute Value Triplet (36)
TLE Value = 'XXX'
952590 TLE Tag Logical Element 001C D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxx'
TLE Attribute Value Triplet (36)
TLE Value = 'xxx'
952591 TLE Tag Logical Element 001A D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952592 TLE Tag Logical Element 002A D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = 'xxx'
952593 TLE Tag Logical Element 001F D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxxx'
TLE Attribute Value Triplet (36)
TLE Value = 'xxxx'
952594 TLE Tag Logical Element 0022 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = 'xxxx'
952595 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = 'x'
952596 TLE Tag Logical Element 0019 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952597 TLE Tag Logical Element 001A D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952598 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952599 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952600 TLE Tag Logical Element 0018 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952601 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952602 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952603 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952604 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952605 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952606 TLE Tag Logical Element 0019 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952607 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952608 TLE Tag Logical Element 0017 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxx'
TLE Attribute Value Triplet (36)
TLE Value = ''
952609 TLE Tag Logical Element 0055 D3A090
TLE Fully Qualified Name Triplet (02)
TLE 0B Attribute Name
TLE Name = 'xxxxx'
TLE Attribute Value Triplet (36)
TLE Value = 'xxxxxxxxxx'
952610 BPG Begin Page 0010 D3A8AF
952611 BAG Begin Active Environment Group 0010 D3A8C9
952612 MCF1 Map Coded Font1 0060 D3B18A
MCF1 Coded font local identifier = 1 (1)
MCF1 Section identifier = 0 (0) (00 = single byte font)
MCF1 Coded font name = 'xxxx'
MCF1 Code page name = '(NULL) '
MCF1 Character set name = '(NULL) '
MCF1 Coded font local identifier = 2 (2)
MCF1 Section identifier = 0 (0) (00 = single byte font)
MCF1 Coded font name = 'Xxxxxx'
MCF1 Code page name = '(NULL) '
MCF1 Character set name = '(NULL) '
MCF1 Coded font local identifier = 3 (3)
MCF1 Section identifier = 0 (0) (00 = single byte font)
MCF1 Coded font name = 'xxxxx'
MCF1 Code page name = '(NULL) '
MCF1 Character set name = '(NULL) '
952613 PGD Page Descriptor 0017 D3A6AF
PGD Page unit base for the X axis = 0 (0)
PGD Page unit base for the Y axis = 0 (0)
PGD Page units per unit base for the X axis = 3000 (BB8)
PGD Page units per unit base for the Y axis = 3000 (BB8)
PGD Page extent for the X axis = 2550 (9F6)
PGD Page extent for the Y axis = 3300 (CE4)
952614 PTD1 Presentation Text Desc1 0014 D3A69B
PTD1 Unit Base x = 0 (0)
PTD1 Unit Base y = 0 (0)
PTD1 L-Units per Unit Base x = xxxx (BB8)
PTD1 L-Units per Unit Base y = xxxx (BB8)
PTD1 Page Size x = 2550 (9F6)
PTD1 Page Size y = 3300 (CE4)
952615 EAG End Active Environment Group 0010 D3A9C9
952616 BCT Begin Composed-Text Block 0010 D3A89B
952617 PTX Presentation Text Data 04D6 D3EE9B
PTX Amount of PTOCA data = xxx
952618 ECT End Composed-Text Block 0010 D3A99B
952619 BCT Begin Composed-Text Block 0010 D3A89B
952620 PTX Presentation Text Data 01C9 D3EE9B
PTX Amount of PTOCA data = xxx
952621 ECT End Composed-Text Block 0010 D3A99B
952622 BCT Begin Composed-Text Block 0010 D3A89B
952623 PTX Presentation Text Data 00AC D3EE9B
PTX Amount of PTOCA data = xxx
952624 ECT End Composed-Text Block 0010 D3A99B
952625 BCT Begin Composed-Text Block 0010 D3A89B
952626 PTX Presentation Text Data 0075 D3EE9B
PTX Amount of PTOCA data = xxx
952627 ECT End Composed-Text Block 0010 D3A99B
952628 EPG End Page 0010 D3A9AF
952629 ENG End Named Group 0010 D3A9AD
952630 EDT End Document 0010 D3A9A8
Quote from: azkhan on August 28, 2015, 11:37:23 AM
Hello Alessandro,
This is what I was able to capture and paste as not able to scroll more in the window.
I had used arsafpd -d -t -i <file name>
You don't need to give "-t" option, because that's too much information, and you need to do lots of work to do anonymisations... like you did with all the "xxxxx" you added everywhere, and without the "-t" the output would have been small and easy to cut and paste, without having anything to fear that you might not deleted something...
I took your output and removed all the not necessary information (like the "arsafpd -d -s file") only:
952577 TLE Tag Logical Element 0014 D3A090
952578 TLE Tag Logical Element 0018 D3A090
952579 TLE Tag Logical Element 0018 D3A090
952580 TLE Tag Logical Element 0019 D3A090
952581 TLE Tag Logical Element 0018 D3A090
952582 TLE Tag Logical Element 0014 D3A090
952583 TLE Tag Logical Element 0015 D3A090
952584 TLE Tag Logical Element 0018 D3A090
952585 TLE Tag Logical Element 0018 D3A090
952586 TLE Tag Logical Element 001C D3A090
952587 TLE Tag Logical Element 0019 D3A090
952588 TLE Tag Logical Element 001A D3A090
952589 TLE Tag Logical Element 001D D3A090
952590 TLE Tag Logical Element 001C D3A090
952591 TLE Tag Logical Element 001A D3A090
952592 TLE Tag Logical Element 002A D3A090
952593 TLE Tag Logical Element 001F D3A090
952594 TLE Tag Logical Element 0022 D3A090
952595 TLE Tag Logical Element 0018 D3A090
952596 TLE Tag Logical Element 0019 D3A090
952597 TLE Tag Logical Element 001A D3A090
952598 TLE Tag Logical Element 0017 D3A090
952599 TLE Tag Logical Element 0017 D3A090
952600 TLE Tag Logical Element 0018 D3A090
952601 TLE Tag Logical Element 0017 D3A090
952602 TLE Tag Logical Element 0017 D3A090
952603 TLE Tag Logical Element 0017 D3A090
952604 TLE Tag Logical Element 0017 D3A090
952605 TLE Tag Logical Element 0017 D3A090
952606 TLE Tag Logical Element 0019 D3A090
952607 TLE Tag Logical Element 0017 D3A090
952608 TLE Tag Logical Element 0017 D3A090
952609 TLE Tag Logical Element 0055 D3A090
952610 BPG Begin Page 0010 D3A8AF
952611 BAG Begin Active Environment Group 0010 D3A8C9
952612 MCF1 Map Coded Font1 0060 D3B18A
952613 PGD Page Descriptor 0017 D3A6AF
952614 PTD1 Presentation Text Desc1 0014 D3A69B
952615 EAG End Active Environment Group 0010 D3A9C9
952616 BCT Begin Composed-Text Block 0010 D3A89B
952617 PTX Presentation Text Data 04D6 D3EE9B
952618 ECT End Composed-Text Block 0010 D3A99B
952619 BCT Begin Composed-Text Block 0010 D3A89B
952620 PTX Presentation Text Data 01C9 D3EE9B
952621 ECT End Composed-Text Block 0010 D3A99B
952622 BCT Begin Composed-Text Block 0010 D3A89B
952623 PTX Presentation Text Data 00AC D3EE9B
952624 ECT End Composed-Text Block 0010 D3A99B
952625 BCT Begin Composed-Text Block 0010 D3A89B
952626 PTX Presentation Text Data 0075 D3EE9B
952627 ECT End Composed-Text Block 0010 D3A99B
952628 EPG End Page 0010 D3A9AF
952629 ENG End Named Group 0010 D3A9AD
952630 EDT End Document 0010 D3A9A8
At least from your example, I see only 1 page, with 1 set of TLE (indexes).
If you are in Unix or Linux, could you try to type the following command and send us the output?
arsafpd -d -i file.afp |grep -E '[[:space:]]([BE]DT|[BE]NG|[BE]PG|TLE)[[:space:]]'
you should have something like that after the command is finished:
703 BDT Begin Document 001D D3A8A8
704 BNG Begin Named Page Group 00000048 002A D3A8AD
705 TLE Tag Logical Element 0030 D3A090
706 TLE Tag Logical Element 002E D3A090
707 TLE Tag Logical Element 0026 D3A090
708 BPG Begin Page 142 001C D3A8AF
715 TLE Tag Logical Element 003A D3A090
741 EPG End Page 0010 D3A9AF
742 BPG Begin Page 143 001C D3A8AF
749 TLE Tag Logical Element 0031 D3A090
750 TLE Tag Logical Element 0033 D3A090
751 TLE Tag Logical Element 0035 D3A090
752 TLE Tag Logical Element 0031 D3A090
762 EPG End Page 0010 D3A9AF
763 BPG Begin Page 144 001C D3A8AF
770 TLE Tag Logical Element 002D D3A090
800 EPG End Page 0010 D3A9AF
801 ENG End Named Group 0022 D3A9AD
802 EDT End Document 0010 D3A9A8
Hello Alessandro,
Below is the result of the command given by you.
arsafpd -d -i file.afp |grep -E '[[:space:]]([BE]DT|[BE]NG|[BE]PG|TLE)[[:space:]]'
9142 EDT End Document 0010 D3A9A8
9143 BDT Begin Document 0010 D3A8A8
9145 BNG Begin Named Page Group 0010 D3A8AD
9146 TLE Tag Logical Element 001D D3A090
9147 TLE Tag Logical Element 001F D3A090
9148 TLE Tag Logical Element 0043 D3A090
9149 TLE Tag Logical Element 001D D3A090
9150 TLE Tag Logical Element 0016 D3A090
9151 TLE Tag Logical Element 001F D3A090
9152 TLE Tag Logical Element 0024 D3A090
9153 TLE Tag Logical Element 0015 D3A090
9154 TLE Tag Logical Element 001B D3A090
9155 TLE Tag Logical Element 001E D3A090
9156 TLE Tag Logical Element 0017 D3A090
9157 TLE Tag Logical Element 001A D3A090
9158 TLE Tag Logical Element 0014 D3A090
9159 TLE Tag Logical Element 0018 D3A090
9160 TLE Tag Logical Element 0018 D3A090
9161 TLE Tag Logical Element 0019 D3A090
9162 TLE Tag Logical Element 0018 D3A090
9163 TLE Tag Logical Element 0014 D3A090
9164 TLE Tag Logical Element 0015 D3A090
9165 TLE Tag Logical Element 0018 D3A090
9166 TLE Tag Logical Element 0024 D3A090
9167 TLE Tag Logical Element 0018 D3A090
9168 TLE Tag Logical Element 001C D3A090
9169 TLE Tag Logical Element 0019 D3A090
9170 TLE Tag Logical Element 001D D3A090
9171 TLE Tag Logical Element 001C D3A090
9172 TLE Tag Logical Element 001A D3A090
9173 TLE Tag Logical Element 0028 D3A090
9174 TLE Tag Logical Element 0027 D3A090
9175 TLE Tag Logical Element 0020 D3A090
9176 TLE Tag Logical Element 0018 D3A090
9177 TLE Tag Logical Element 0019 D3A090
9178 TLE Tag Logical Element 001A D3A090
9179 TLE Tag Logical Element 0017 D3A090
9180 TLE Tag Logical Element 0018 D3A090
9181 TLE Tag Logical Element 0017 D3A090
9182 TLE Tag Logical Element 0017 D3A090
9183 TLE Tag Logical Element 0017 D3A090
9184 TLE Tag Logical Element 0017 D3A090
9185 TLE Tag Logical Element 0017 D3A090
9186 TLE Tag Logical Element 0019 D3A090
9187 TLE Tag Logical Element 0017 D3A090
9188 TLE Tag Logical Element 0017 D3A090
9189 TLE Tag Logical Element 0057 D3A090
9190 BPG Begin Page 0010 D3A8AF
9973 EPG End Page 0010 D3A9AF
9974 ENG End Named Group 0010 D3A9AD
9976 BPG Begin Page 0010 D3A8AF
10263 EPG End Page 0010 D3A9AF
10265 BPG Begin Page 0010 D3A8AF
10504 EPG End Page 0010 D3A9AF
10506 BPG Begin Page 0010 D3A8AF
10656 EPG End Page 0010 D3A9AF
10657 BPG Begin Page 0010 D3A8AF
10714 EPG End Page 0010 D3A9AF
10715 BPG Begin Page 0010 D3A8AF
10859 EPG End Page 0010 D3A9AF
10860 BPG Begin Page 0010 D3A8AF
10953 EPG End Page 0010 D3A9AF
10954 BPG Begin Page 0010 D3A8AF
11000 EPG End Page 0010 D3A9AF
11001 BPG Begin Page 0010 D3A8AF
11079 EPG End Page 0010 D3A9AF
11080 BPG Begin Page 0010 D3A8AF
11131 EPG End Page 0010 D3A9AF
11132 BPG Begin Page 0010 D3A8AF
11231 EPG End Page 0010 D3A9AF
11232 BPG Begin Page 0010 D3A8AF
11319 EPG End Page 0010 D3A9AF
11320 EDT End Document 0010 D3A9A8
11321 BDT Begin Document 0010 D3A8A8
11323 BNG Begin Named Page Group 0010 D3A8AD
11324 TLE Tag Logical Element 0018 D3A090
11325 TLE Tag Logical Element 0019 D3A090
11326 TLE Tag Logical Element 0016 D3A090
11327 TLE Tag Logical Element 0016 D3A090
11328 TLE Tag Logical Element 0016 D3A090
11329 TLE Tag Logical Element 001F D3A090
11330 TLE Tag Logical Element 0018 D3A090
11331 TLE Tag Logical Element 0014 D3A090
11332 TLE Tag Logical Element 0015 D3A090
11333 TLE Tag Logical Element 0019 D3A090
11334 TLE Tag Logical Element 0017 D3A090
11335 TLE Tag Logical Element 001A D3A090
11336 TLE Tag Logical Element 0014 D3A090
11337 TLE Tag Logical Element 0018 D3A090
11338 TLE Tag Logical Element 0018 D3A090
11339 TLE Tag Logical Element 0019 D3A090
11340 TLE Tag Logical Element 0018 D3A090
11341 TLE Tag Logical Element 0014 D3A090
11342 TLE Tag Logical Element 0015 D3A090
11343 TLE Tag Logical Element 0018 D3A090
11344 TLE Tag Logical Element 0024 D3A090
11345 TLE Tag Logical Element 0018 D3A090
11346 TLE Tag Logical Element 001C D3A090
11347 TLE Tag Logical Element 0019 D3A090
11348 TLE Tag Logical Element 001D D3A090
11349 TLE Tag Logical Element 001F D3A090
11350 TLE Tag Logical Element 001A D3A090
11351 TLE Tag Logical Element 0028 D3A090
11352 TLE Tag Logical Element 0027 D3A090
11353 TLE Tag Logical Element 0020 D3A090
11354 TLE Tag Logical Element 0018 D3A090
11355 TLE Tag Logical Element 0019 D3A090
11356 TLE Tag Logical Element 001A D3A090
11357 TLE Tag Logical Element 0017 D3A090
11358 TLE Tag Logical Element 0018 D3A090
11359 TLE Tag Logical Element 0017 D3A090
11360 TLE Tag Logical Element 0017 D3A090
11361 TLE Tag Logical Element 0017 D3A090
11362 TLE Tag Logical Element 0017 D3A090
11363 TLE Tag Logical Element 0017 D3A090
11364 TLE Tag Logical Element 0019 D3A090
11365 TLE Tag Logical Element 0017 D3A090
11366 TLE Tag Logical Element 0017 D3A090
11367 TLE Tag Logical Element 0056 D3A090
11368 BPG Begin Page 0010 D3A8AF
11373 EPG End Page 0010 D3A9AF
11374 ENG End Named Group 0010 D3A9AD
11376 BPG Begin Page 0010 D3A8AF
11397 EPG End Page 0010 D3A9AF
11398 EDT End Document 0010 D3A9A8
Hello,
I've seen something that seems wrong... but I'm not 100% sure yet, could you also do the following?
1) Generate the output file that will be archived in CMOD
the command is something like
arsload -h CMOD -u user -p passwd -g AG -p APP -nvf -i file.afp
by doing this command (adapt it to your environment), arsload will not archive the document, but will only index the file and generate 2-3 files:
- file.afp.ind
- file.afp.out
- file.afp.res
2) After point 1) has created these 2-3 files, then run the following command:
arsafpd -d -i file.afp.out |grep -E '[[:space:]]([BE]DT|[BE]NG|[BE]PG|TLE)[[:space:]]'
and post the output, please.
My feeling/theory/supposition/... is the following, and I want to be sure of it...
In the CMOD documentation, there is this sentence:
Quote
Although the input file may contain multiple BDT structured field, the ACIF output will contain only one BDT structured field. (The same is true of End Document (EDT) structured fields.)
(source: http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif194.htm (http://www-01.ibm.com/support/knowledgecenter/SSEPCD_9.5.0/com.ibm.ondemand.ir.doc/dodif194.htm)
And I'm wondering if the OS/390 Indexer allows multiple BDT/EDT in the input/output, but ACIF allows only the first BDT/EDT found in the input to put it in the output.
If that's the case, this is one of the differences between OS/390 and ACIF indexer.
And in that case, you must keep using OS/390 indexer for these AFP. Of course for that, you must use AIX or a os/390 server... If you are using Linux/Solaris/Windows, then you are out of luck.
If you want to load these documents in Linux/Solaris/Windows and you MUST use ACIF indexer, then the only choice would be:
A) Write a AFP parser to rebuild the AFP in a supported form for the ACIF Indexer
or
B) Ask the people in charge of the generation of the AFP to create a OnDemand ACIF Indexer compliant AFP to be archived.
I would say, that B) is the most clean way to do it... and the one I strongly advise.
Well, before going to far, I'm waiting for your input.
Hi Alessandro,
Tried to get output of the given command but was unsuccessful to access it as the file was create in the location ./xx.afp.out
I tried to open the hidden directory (.) also using unix command ls -lrta,
but when pasted the path in the command arsafpd -d -i /xx/xx/xx.afp.out | grep -E '[[:space:]]([BE]DT|[BE]NG|[BE]PG|TLE)[[:space:]]' it failed saying this file is not present.
I feel the .ind, .out and .res files gets deleted after loading is processed.
You must add the following options:
to your arsload command, otherwise the output will be deleted, do it manually. and then you should have a .ind / .res and .out file somewhere where you ran this arsload command.
Otherwise if it is ok, post the command you are running, and I will check if something is strange