﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Teradata  / Teradata Tools and Utilities  / unable to run the bteq script on sun Unix os. / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Thu, 04 Dec 2008 02:08:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: unable to run the bteq script on sun Unix os.</title><link>http://www.teradata.com/teradataforum/Topic11877-10-1.aspx</link><description>I found the problem is with connectivity b/w Unix and teradata. Teradata Client is installed on Pc but Unix is not connected to Teradata.could anyone help me in making this connection.what are the things necessary for this connection? I have already included teradata server host string in Unix Hosts file, But didnt find any teradata utility connectivity to Unix.Thanks and regards,Kunal</description><pubDate>Thu, 19 Jun 2008 01:52:29 GMT</pubDate><dc:creator>kunal</dc:creator></item><item><title>RE: unable to run the bteq script on sun Unix os.</title><link>http://www.teradata.com/teradataforum/Topic11877-10-1.aspx</link><description>That's normally given by unix if the user does not have execute permission on the executable... so check the permissions on the bteq executable and make sure the unix user id you are using has execute permissions for it.ls -ltr  $(which bteq)</description><pubDate>Tue, 17 Jun 2008 02:09:48 GMT</pubDate><dc:creator>joedsilva</dc:creator></item><item><title>unable to run the bteq script on sun Unix os.</title><link>http://www.teradata.com/teradataforum/Topic11877-10-1.aspx</link><description>Hi all,I am trying to run the below mentioned script. It works fine in AIX unix box but in Sun Unix box, an error occurs:test.sh: bteq: execute permission deniedcould you please tell me how i can resolve this problem?FUNC_VALIDATE_ENTRIES(){								bteq&amp;lt;&amp;lt;-END 						.logon DemoTd/User1,******;				.export report file=VALIDATE_FILE.sol		select distinct DatabaseName from dbc.Tables where DatabaseName = 'USER1';		.if ACTIVITYCOUNT &amp;gt; 0 then .goto labelC		select 5;		.goto labelD			.label labelC		select 0;			.label labelD		.export reset		.quit errorcode		.LOGOFF		END}FUNC_VALIDATE_ENTRIES thanks</description><pubDate>Mon, 16 Jun 2008 04:30:19 GMT</pubDate><dc:creator>kunal</dc:creator></item></channel></rss>