Author Topic: Help with command and arsadmin arsdoc.  (Read 3703 times)

jose.arotinco

  • Guest
Help with command and arsadmin arsdoc.
« on: May 19, 2011, 08:18:10 AM »
Hi all;

When you download a report using the following command:
arsdoc get -h localhost -u admin -p password -G CAL9073 -i "WHERE d_date BETWEEN 14975 AND 15340" -g -c -N -o CAL9073 -d C:\temp

The output is:
CAL9073.0.CAL9073.CAL9073.ind
CAL9073.0.CAL9073.CAL9073.out

When I try to submit the report again using the command:
arsadmin load -h localhost -u admin -p password -g CAL9073 -i C:\temp\CAL9073.0.CAL9073.CAL9073.ind -s C:\temp\CAL9073.0.CAL9073.CAL9073.out

I get the following error message:

Invalid structured field header in the file C:\temp\CAL9073.0.CAL9073.CAL9073.ind
Loaded 0 rows Into the database

because this error occurs? when I try the same procedure with reports .PDF no problem, this problem only occurs with text reports

Thanks all

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
Re: Help with command and arsadmin arsdoc.
« Reply #1 on: May 19, 2011, 09:23:51 AM »
Hello Jose,

why do you use arsadmin for loading documents instead of arsload? (I've never had in the past the need to use directly arsadmin, that's why I'm surprised and curious!!)

try this command:

arsload -h localhost -u admin -p password -g CAL9073 -X G -nvf C:\temp\CAL9073.0.CAL9073.CAL9073

Regards,
Alessandro
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

jose.arotinco

  • Guest
Re: Help with command and arsadmin arsdoc.
« Reply #2 on: May 19, 2011, 11:22:34 AM »
thank you very much, if it worked, I used the arsadmin because I thought it could use to upload documents downloaded in one compressed  file, but I see the arsload also be used to load documents into a single compressed file, but only text and no. pdf

Regards,