Author Topic: .IND file format ?  (Read 3811 times)

LWagner

  • Guest
.IND file format ?
« on: April 21, 2015, 02:32:49 PM »
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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: .IND file format ?
« Reply #1 on: April 21, 2015, 03:38:38 PM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

LWagner

  • Guest
Re: .IND file format ?
« Reply #2 on: April 22, 2015, 10:15:27 AM »
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

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: .IND file format ?
« Reply #3 on: April 22, 2015, 12:34:59 PM »
Just a wild guess...the ind file is supposed to be lower case "ind".  Same as .out <---- lower case.

Ed
#zOS #ODF

LWagner

  • Guest
Re: .IND file format ?
« Reply #4 on: April 22, 2015, 01:09:35 PM »
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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: .IND file format ?
« Reply #5 on: April 23, 2015, 03:00:07 AM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: .IND file format ?
« Reply #6 on: April 28, 2015, 06:47:51 AM »
I'm not sure to understand your problem... can you describe it in more details?

The format is basically like that:

Code: [Select]
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

  • Hero Member
  • *****
  • Posts: 1208
    • View Profile
Re: .IND file format ?
« Reply #7 on: April 28, 2015, 06:55:28 AM »
The .ind file the IVP uses is at:

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

Ed
#zOS #ODF

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: .IND file format ?
« Reply #8 on: April 28, 2015, 07:05:52 AM »

:-) 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