Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
MP Server / Re: PDF from ARSDOC GET can see only one file
« Last post by teera_aoo on February 29, 2024, 07:53:47 AM »
Hi Justin,

Thank you for your reply.
Yes, I quite okay with generic index file because I often to use for loading PDF and other types to CMOD.

The generic index file that I have ever used as below format. (Offset=0, Length=0)
Code: [Select]
...
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:File1.pdf
               
...
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:File2
...


But I mentioned about PDF merge files that got from arsdoc_get, they're not append file2, file3, ... to page 2, page 3, ...
But it append/build something like a layers or binary combined.

Indexer has reference to same file but changed on offset and length

Code: [Select]
...
GROUP_OFFSET:0
GROUP_LENGTH:102187
GROUP_FILENAME:PDF-TIV2.pdf.0.PDF-TIV2.PDF-TIV2.out
               
...
GROUP_OFFSET:102187
GROUP_LENGTH:681891
GROUP_FILENAME:PDF-TIV2.pdf.0.PDF-TIV2.PDF-TIV2.out
...

Do you know or can share document that explain about this PDF's specification or utllity to split it back to original?



72
MP Server / Re: Loading reports online from the AS/400 to CMOD MP
« Last post by obaltus on February 29, 2024, 07:53:35 AM »
Thanks a lot. That is exactly what was looking for.  :) I owe you a drink.
73
MP Server / Re: Loading reports online from the AS/400 to CMOD MP
« Last post by Darrell Bryant on February 29, 2024, 07:34:06 AM »
Hello Olivier,
The ODi development team has documented the setup for archiving from IBM i to other platforms.
See support item: https://www.ibm.com/support/pages/node/321611
You might consider signing up for the OnDemand Newsletter, the 2Q2023 issue referenced an update to that support item.
To sign up for the newsletter, drop me an email, darrell.bryant@unicomsi.com
74
MP Server / Re: Loading reports online from the AS/400 to CMOD MP
« Last post by Ed_Arnold on February 29, 2024, 07:21:51 AM »
Olivier - This is how it works on multiplat boxes, I'll assume the same for IBM i:

 "instance" ---- you shouldn't need a full install of CMOD on the IBM i box, just lay down the code.

Then point arsload to the server.

Ed

75
MP Server / Re: PDF from ARSDOC GET can see only one file
« Last post by Justin Derrick on February 29, 2024, 06:26:09 AM »
It's not a strange format -- it's the CMOD Generic Index format (v2) which has been around for nearly 20 years, and is well documented:
https://cmod.wiki/dox/CMODv10.5/IndexingReference.pdf

If you're not loading the data to another CMOD server, you need to write a utility to do the splitting and convert the metadata, or work with someone who has already done that work.  ;)

-JD.
76
MP Server / Re: Active / Passive setup - Who's doing what?
« Last post by teera_aoo on February 29, 2024, 02:01:25 AM »
You may use DB2HADR for sync CMOD database, but you need another technic to managed arscache, one thing is storage replicate

But I never use DB2 HADR with CMOD, only storage replication for all (Both DB2, arscache)
I have some customer install CMOD, DB2 on 2 sites, and put data to SAN Storage.
In normal case, this storage will mounted on production, replicate to DR, and mount to DR on disaster case. (Then start services)

One issue that cannot prevent in this scenario is data corruption, destination will got same data from source storage.
Another point is RPO, since DB replicate by storage, so some last transaction that's incomplete may lost in rollforward/recover when start DB at DR site.

77
MP Server / PDF from ARSDOC GET can see only one file
« Last post by teera_aoo on February 29, 2024, 01:51:13 AM »
I have requirement to export all data from CMOD to original pdf with indexes of them. (To use on another system)

So, I try to used 'arsdoc get' command. But output of PDF will be merged in very strange format cannot use to another system,
that is when open by normal PDF viewer will show only first file that exported from CMOD but I exported about 10 pdf files from CMOD.
When inspect filesize of PDF merged, I see filesize come from 10 pdf combined. (Ex. each file is 100K, merged file is 1000K)
In index file will show offset/lenght of each PDF. I think it managed as layers of PDF.


arsdoc get -hlocalhost -uadmin -ppassword -f "PDF-TIV" -g  -N -c -i "where doc_no like '%'" -o PDF-TIV.pdf
Note:
 - When arsload back to CMOD, it will spilit to 10 PDF file correctly
 - Option -g -N -c needed to used together.

Screenshot: https://u.pcloud.link/publink/show?code=XZCVdJ0ZotyT0txuaOYVyljCldfCzSOyuzd7
78
MP Server / Loading reports online from the AS/400 to CMOD MP
« Last post by obaltus on February 28, 2024, 11:54:40 PM »
Good morning,

We have a CMOD server running on Windows, and we would like to load the reports from the AS/400 directly to the CMOD Server. I know that we can transfer these reports from the iSeries world to the Windows server using file transfer protocols such as FTP, and then use ARSLOAD on the CMOD Windows server to ingest them. But, what if we want the "ingestion" to occur on the AS/400 side? Aside from installing an iSeries CMOD instance on the AS/400, what are the other options?

Thanks for your help,   

Olivier
79
error 16 could be "Device or resource busy". This arsuupdt is probably custom code so it will be pretty hard for anyone here to assist.
80
Hi,

Facing intermittent issue while loading, below is the error message.

ARS0161E the userexit>/usr/lpp/asr/v../bin/exits/arsuupdt<failed. return code 16

Processed few files in AG, few files loaded successfully but few files failed with above reason.

Someone helps me to resolve the issue.

Thanks!!
Pages: 1 ... 3 4 5 6 7 [8] 9 10