Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chrisc

Pages: [1]
1
iSeries / Re: How to remove loaded .IND files using STRMONOND
« on: November 16, 2020, 09:17:40 AM »
Great, thanks Darrell!

2
iSeries / Re: How to remove loaded .IND files using STRMONOND
« on: November 04, 2020, 07:30:36 AM »
Thanks for the reply, but I think you misunderstood what I was asking.

I wasn't suggesting that there was a problem. I'm trying to find out whether or not the monitor has the ability to delete the .IND/.PRC file after successful load.

If I read your response correctly, you seem to be implying that the DLTSPLF option is supposed to remove the successful index file. However, my understanding was that this option actually removes the file actually loaded into OnDemand as opposed to the index file used to load it. This said, the documentation is a little vague. It mentions deleting a "processed file", which I took to mean the file that was loaded as opposed to the index file used to load it.

So, are you suggesting if you set DLTSPLF to *YES that it should be removing the .IND file after successful load?

Thanks,

Chris

3
iSeries / How to remove loaded .IND files using STRMONOND
« on: November 04, 2020, 06:27:17 AM »
Is there any way to use the monitor (STRMONOND) to cleanup .IND files after successful load? That is, is there any option for the monitor to automatically remove any .PRC files?

I don't see an option there, but maybe I'm missing something. I believe the DLTSPLF option is only to automatically remove the actual loaded file, not the index file. Is this correct?

Thanks,

Chris

4
Windows Client / Copying hidden document indexes with ARSOLE.OCX
« on: February 04, 2020, 05:51:00 AM »
Good day.

I'm using the OnDemand Client v.10.1 ARSOLE.OCX control from a VB.NET application to add a new version of a document stored in CMOD.

Basically, what I want to do is to retrieve all index values on a record for a document, modify some of the fields, then write it all back as a new record with a new version of the document. For instance, I have a version field, and so I want to leave the original version untouched but update the version index on the new record based on the value from the original.

However, I can't see any way to retrieve all indexes on a record via the OLE control. I'm able to get all of the visible/displayed indexes on that record (that is, everything you would see via the client viewer), by calling GetDocDisplayValues, but not any indexes that are hidden on the viewer.

I can get all of the field names for all indexes (displayed or not) via the GetDocFolderFieldNames call, but there isn't an equivalent GetDocValues n order to get all values for all fields. it is strange to me that there is an API to get hidden field names but not to get their values.

I have a need to store various index values on a record for auditing purposes, amongst other things, but I don't want them to have to be displayed to the end users because it is just noise. However, the only way I can see of getting those values back to put them on the next record is to make them visible in the viewer and then use GetDocDisplayValues to get the values.

Any thoughts? Am I missing something here?

Thanks,

Chris

Pages: [1]