.IND file format ?

Previous topic - Next topic

LWagner

In migrating data across CMOD systems, the tools create .IND files.
I could not edit mine, save them and have them be usable.
To create them, can someone give me file specifics ?

Thanks in Advance

Justin Derrick

It could be line ending characters.  Use FTP in ASCII mode (if you're still allowed to use FTP) and it will correct the line endings when you copy from Windows to UNIX/Linux.

Otherwise, a description of the Generic Index format can be found in the Indexing Guide.

Hope that helps!

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

LWagner

I created the .IND in Notepad. Two files in /arsauto on index server.  Nothing.
Added an empty filename.ARD , and filename.ARD was renamed to .ARD.failed.
But no 88 message for a failed load.
?

Ed_Arnold

Just a wild guess...the ind file is supposed to be lower case "ind".  Same as .out <---- lower case.

Ed
#zOS #ODF

LWagner

lower case .ind .

Using a Windows CMOD index server with CMOD Configurator, not a daemon.
Could that make a difference in the filename format ? For PDF file, we use a seven part naming convention: MVS.JOB0000.app.appgroup.name-detail.data-type.pdf .
Might we need this ?

Justin Derrick

Hrm.  Are you sure you've got the 'fields' in the file name in the right order?  Silently marking the file as failed seems like it wasn't able to determine how to index the file.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Alessandro Perucchi

I'm not sure to understand your problem... can you describe it in more details?

The format is basically like that:

CODEPAGE:XXX
GROUP_FIELD_NAME:name_field1
GROUP_FIELD_VALUE:my_value_1
...
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:my_filename.out


And the order for the pairs GROUP_FIELD_NAME/VALUE are not important, except that first you must have GROUP_FIELD_NAME followed by GROUP_FIELD_VALUE.

Then you had the very old format of the .ind, which is not anymore valid (ended with CMOD V9.x, and maybe also removed with CMOD 8.5.0.6+, but not 100% sure) where you needed to put all the index field name at the beginning of the file, and then following this "header", you put the values of each documents sequentially.
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Ed_Arnold

The .ind file the IVP uses is at:

/usr/lpp/ars/V8R5M0/samples/salesinvoice.ind

Ed
#zOS #ODF

Alessandro Perucchi


:-) that works maybe in z/OS, but in MP there are no such file !! :-D

Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML