<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.talis.com/tdn" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Talis Developer Network - Comments</title>
 <link>http://www.talis.com/tdn</link>
 <description>Comments</description>
 <language>en</language>
<item>
 <title>database analyser</title>
 <link>http://www.talis.com/tdn/node/1772#comment-661</link>
 <description>&lt;p&gt;I&#039;ve downloaded the file using IE and Firefox and the the zip files were OK.&lt;/p&gt;
&lt;p&gt;Were there were any particular errors.codes reported when you tried to open the zip file?  Can you try on another PC just to check? By the way what operating system is on the PC?&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Tue, 13 May 2008 16:09:22 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 661 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Ah.. makes sense now.  
The</title>
 <link>http://www.talis.com/tdn/node/1126#comment-660</link>
 <description>&lt;p&gt;Ah.. makes sense now.  &lt;/p&gt;
&lt;p&gt;The way I understood it from the TDN article was that rowcount didn&#039;t work at all on prism, that&#039;s why I was trying to find various workarounds for the &#039;top x&#039; type of query.&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
Mark&lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Thu,  8 May 2008 10:44:38 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 660 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>rowcount and prepared searches</title>
 <link>http://www.talis.com/tdn/node/1126#comment-659</link>
 <description>&lt;p&gt;There are two types of prepared searches - Offline and Online.&lt;/p&gt;
&lt;p&gt;In Offline prepared searches the results are extracted into a table from a script that is run once and so rowcount can be used. &lt;/p&gt;
&lt;p&gt;The Online prepared searches are run &#039;live&#039; when accessed by a user and those have issues with using rowcount.&lt;/p&gt;
&lt;p&gt;Some queries are better suited to the Offline approach because of the performance implications of the query.  A top x type of query is likely to be one where the performance would not be suitable for an on-line prepared search even given the rowcount issue.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Thu,  8 May 2008 08:48:36 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 659 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Set rowcount in prepared search</title>
 <link>http://www.talis.com/tdn/node/1126#comment-658</link>
 <description>&lt;p&gt;Brian,&lt;/p&gt;
&lt;p&gt;I see from a few forum posts that &#039;set rowcount&#039; seems to work in a prism prepared search, but the TDN article says it doesn&#039;t.  Is there a problem using it in prism?&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
Mark&lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Wed,  7 May 2008 16:21:52 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 658 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Hello
Have you tried setting</title>
 <link>http://www.talis.com/tdn/node/1771#comment-657</link>
 <description>&lt;p&gt;Hello&lt;br /&gt;
Have you tried setting the TAL_ISSUE_WHEN_RESERVED to No, which should stop borrowers from issuing a reserved item.&lt;/p&gt;
</description>
 <pubDate>Wed, 30 Apr 2008 13:46:10 +0100</pubDate>
 <dc:creator>gi06</dc:creator>
 <guid isPermaLink="false">comment 657 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>reservations and renewals</title>
 <link>http://www.talis.com/tdn/node/1771#comment-656</link>
 <description>&lt;p&gt;It is possible to get a list from Talis Decisions but it would require joining two queries.  One from the Reservation universe and one from the Circulation universe to get both reservation and loan data for items.&lt;/p&gt;
&lt;p&gt;I have done a quick experiment on a basic report and it seems to work but there may be some assumptions I&#039;ve made that don&#039;t match your requirements.&lt;/p&gt;
&lt;p&gt;However by using a batch script, and I would tend to favour using PERL, you could get messages added to the items automatically as well and this would not be possible in Decisions.&lt;/p&gt;
&lt;p&gt;In terms of reporting on all items it is difficult to say without seeing the code but you should be able to get a list of items attached to a reservation by going through the RESERVED_LNK table.  For the reservation ids in question you wan the TARGET_IDs where TYPE=0. If using Perl this list of items can be stored in an array and then each item in the array can then be checked for the number of renewals since a specified date.&lt;/p&gt;
&lt;p&gt;I realise I&#039;m being a bit vague but without knowing what approach you are taking with your code it is difficult to be be precise. If you want to post the code of your script or send it to me directly I may be able to be more specific.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Fri, 18 Apr 2008 17:23:59 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 656 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>reservation popularity</title>
 <link>http://www.talis.com/tdn/node/1126#comment-655</link>
 <description>&lt;p&gt;The problem is that the SS_reservations table does not exist and this command will not create that table for you.&lt;/p&gt;
&lt;p&gt;if you change the SQL to&lt;/p&gt;
&lt;p&gt;SET ROWCOUNT 50&lt;br /&gt;
SELECT RL.TARGET_ID &quot;WORK_ID&quot;, COUNT(RL.RESERVATION_ID) &quot;FIGURES&quot;&lt;br /&gt;
into #SS_reservations&lt;br /&gt;
FROM RESERVED_LINK RL, RESERVATION R&lt;br /&gt;
WHERE RL.TYPE = 1&lt;br /&gt;
AND RL.RESERVATION_ID = R.RESERVATION_ID&lt;br /&gt;
AND R.CREATE_DATE &amp;gt;= DATEADD(DAY, -90, GETDATE())&lt;br /&gt;
GROUP BY RL.TARGET_ID&lt;br /&gt;
ORDER BY COUNT(RL.RESERVATION_ID) DESC&lt;/p&gt;
&lt;p&gt;It will create a temporary table called #SS_reservations (The hash indicates a temporary table.)&lt;/p&gt;
&lt;p&gt;By temporary I mean that within an isql session that table is available to be used so&lt;/p&gt;
&lt;p&gt;select * from #SS_reservations&lt;/p&gt;
&lt;p&gt;will work until you exit from isql and it won&#039;t exist for anyone else of for you if you start another isql session.&lt;/p&gt;
&lt;p&gt;A temporary table is held in temp_db database so you need to be careful that you don&#039;t fill it or the logs up.&lt;/p&gt;
&lt;p&gt;The SQL above is unlikely to do that but care needs to be taken.&lt;/p&gt;
&lt;p&gt;What you need to do is create the SS_reservations table in prod_talis first.&lt;/p&gt;
&lt;p&gt;e.g.&lt;br /&gt;
create table SS_reservations (&lt;br /&gt;
 WORK_ID   ID           NOT  NULL,&lt;br /&gt;
 FIGURES   smallint          NULL)&lt;br /&gt;
go&lt;br /&gt;
grant all on SS_reservations to public&lt;br /&gt;
go&lt;/p&gt;
&lt;p&gt;The smallint is upto 32,768 so should be big enough.  Use INT (2^31) if not.&lt;/p&gt;
&lt;p&gt;The trouble is that I now think with more consideration that with the SQL you have you may have to change the options on prod_talis to allow bulk data load but this would cause problems with transaction logging so would have to be done carefully e.g. the options changed, the script run, the options changed back and then a full dump done to allow transaction logging to start. &lt;/p&gt;
&lt;p&gt;There are talis scripts that require these changes but this may be more than you want to do.&lt;/p&gt;
&lt;p&gt;A different syntax will still log the transactions (the SS_reservations table still needs to be created) so allow the insert to work.&lt;/p&gt;
&lt;p&gt;insert into SS_reservations (WORK_ID,FIGURES)&lt;br /&gt;
SELECT RL.TARGET_ID &quot;WORK_ID&quot;, COUNT(RL.RESERVATION_ID) &quot;FIGURES&quot;&lt;br /&gt;
FROM RESERVED_LINK RL, RESERVATION R&lt;br /&gt;
WHERE RL.TYPE = 1&lt;br /&gt;
AND RL.RESERVATION_ID = R.RESERVATION_ID&lt;br /&gt;
AND R.CREATE_DATE &amp;gt;= DATEADD(DAY, -90, GETDATE())&lt;br /&gt;
GROUP BY RL.TARGET_ID&lt;br /&gt;
ORDER BY COUNT(RL.RESERVATION_ID) DESC&lt;br /&gt;
go&lt;/p&gt;
&lt;p&gt;Note: you would need to remove any data from the SS_reservations table first.&lt;/p&gt;
&lt;p&gt;As I said before all this type of changes to the db need to be done with great care as they are not covered by Support and done at your own risk.&lt;/p&gt;
&lt;p&gt;You don&#039;t want to fill your transaction logs or tempdb and affect anything the whole system.&lt;/p&gt;
&lt;p&gt;Thanks  &lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Thu, 17 Apr 2008 18:20:10 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 655 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Code</title>
 <link>http://www.talis.com/tdn/node/1126#comment-654</link>
 <description>&lt;p&gt;Thanks Brian,&lt;/p&gt;
&lt;p&gt;I was trying your code:&lt;/p&gt;
&lt;p&gt;SET ROWCOUNT 50&lt;br /&gt;
SELECT RL.TARGET_ID &quot;WORK_ID&quot;, COUNT(RL.RESERVATION_ID) &quot;FIGURES&quot;&lt;br /&gt;
into SS_reservations&lt;br /&gt;
FROM RESERVED_LINK RL, RESERVATION R&lt;br /&gt;
WHERE RL.TYPE = 1&lt;br /&gt;
AND RL.RESERVATION_ID = R.RESERVATION_ID&lt;br /&gt;
AND R.CREATE_DATE &amp;gt;= DATEADD(DAY, -90, GETDATE())&lt;br /&gt;
GROUP BY RL.TARGET_ID&lt;br /&gt;
ORDER BY COUNT(RL.RESERVATION_ID) DESC&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
Mark&lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Thu, 17 Apr 2008 15:09:37 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 654 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>I&#039;ve knocked a script</title>
 <link>http://www.talis.com/tdn/node/1771#comment-653</link>
 <description>&lt;p&gt;I&#039;ve knocked a script together which I think is doing what I require, however when it comes to works with multiple items I only get the barcode of the 1st item, how do I get the script to report all item barcodes?&lt;/p&gt;
&lt;p&gt;IT Officer (Systems) @ University of Sunderland&lt;/p&gt;
</description>
 <pubDate>Thu, 17 Apr 2008 12:19:33 +0100</pubDate>
 <dc:creator>Ian Frost</dc:creator>
 <guid isPermaLink="false">comment 653 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>inserting data into a table</title>
 <link>http://www.talis.com/tdn/node/1126#comment-652</link>
 <description>&lt;p&gt;You shouldn&#039;t need to grant permissions but could you let me have the SQL statement/s you were using and I&#039;ll have a look.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Wed, 16 Apr 2008 15:55:17 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 652 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Brian,
I was tinkering with</title>
 <link>http://www.talis.com/tdn/node/1126#comment-651</link>
 <description>&lt;p&gt;Brian,&lt;/p&gt;
&lt;p&gt;I was tinkering with this on the MIS server, but gave up when it said&lt;/p&gt;
&lt;p&gt;&quot;You can&#039;t run SELECT INTO in this database. Please check with the Database&lt;br /&gt;
Owner.&quot;&lt;/p&gt;
&lt;p&gt;Out of curiosity... how would I get round this?  How would I grant permissions to &#039;select into&#039; a table?&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
Mark&lt;/p&gt;
&lt;p&gt;http://www.wirral-libraries.net/&lt;br /&gt;
http://www.stembystem.co.uk/&lt;/p&gt;
</description>
 <pubDate>Wed, 16 Apr 2008 15:39:40 +0100</pubDate>
 <dc:creator>markhughes</dc:creator>
 <guid isPermaLink="false">comment 651 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>edi claims to swets</title>
 <link>http://www.talis.com/tdn/node/868#comment-650</link>
 <description>&lt;p&gt;Thanks Brian, i think it may be to do with the location of our parameter file.&lt;/p&gt;
</description>
 <pubDate>Wed, 16 Apr 2008 14:54:18 +0100</pubDate>
 <dc:creator>rachel</dc:creator>
 <guid isPermaLink="false">comment 650 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>edi swts script</title>
 <link>http://www.talis.com/tdn/node/868#comment-649</link>
 <description>&lt;p&gt;It is difficult to comment precisely as edi_claims_swets.sc sounds like a shell script you have created and I don&#039;t know the contents or how it was run from the cron.&lt;/p&gt;
&lt;p&gt;If the shell script cannot find the perl scripts then it is probably an issue about either the location of the perl script or permissions.&lt;/p&gt;
&lt;p&gt;If the perl script is not in a directory defined in the PATH environment variable then unless the shell script and PERL script are in the logon directory the shell script would not find the perl script.  I would suggest adding the full path to the perl script in the shell script.&lt;/p&gt;
&lt;p&gt;You can also get that error is a script does not have the right permissions e.g. execute permissions.  I would suggest checking the permissions on the perl script.&lt;/p&gt;
&lt;p&gt;Other than that more details on the shell script and cron line would be needed.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Brian Crampton&lt;br /&gt;
Developer, Talis&lt;/p&gt;
</description>
 <pubDate>Wed, 16 Apr 2008 10:11:17 +0100</pubDate>
 <dc:creator>Brian Crampton</dc:creator>
 <guid isPermaLink="false">comment 649 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>edi_claims to swets</title>
 <link>http://www.talis.com/tdn/node/868#comment-648</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
We have been trying to send a test edi claim to swets. We set up the edi claims script to run on 15th April but the only message returned in var/tmp was:&lt;/p&gt;
&lt;p&gt;&quot;stty: : No such device or address&lt;br /&gt;
stty: : No such device or address&lt;br /&gt;
edi_claims_swets.sc: edi_claims_swets.pl: not found&lt;br /&gt;
edi_claims_swets.sc: edi_claims_swets2.pl: not found&lt;br /&gt;
edi_claims_swets.sc: edi_claims_swets3.pl: not found&quot;&lt;/p&gt;
&lt;p&gt;Any ideas what is going wrong ie parameters, clm file etc.?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Rachel.&lt;/p&gt;
</description>
 <pubDate>Wed, 16 Apr 2008 09:29:37 +0100</pubDate>
 <dc:creator>rachel</dc:creator>
 <guid isPermaLink="false">comment 648 at http://www.talis.com/tdn</guid>
</item>
<item>
 <title>Hi,
I&#039;ve been trying the</title>
 <link>http://www.talis.com/tdn/node/1731#comment-647</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&#039;ve been trying the sandbox url&lt;/p&gt;
&lt;p&gt;http://sandbox.talis.com/TalisKeystone/ViewMyAccountRESTService?Barcode=19734689&amp;amp;Summary&lt;/p&gt;
&lt;p&gt;for a few days now and each time it seems to timeout.  Can anyone confirm that this sandbox url is actually working?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
</description>
 <pubDate>Thu, 10 Apr 2008 11:33:59 +0100</pubDate>
 <dc:creator>davids</dc:creator>
 <guid isPermaLink="false">comment 647 at http://www.talis.com/tdn</guid>
</item>
</channel>
</rss>
