﻿<?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 Viewpoint </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>Sat, 07 Nov 2009 17:56:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Widgets</title><link>http://www.teradata.com/teradataforum/Topic15557-53-1.aspx</link><description>Hi, I'm currently trying to create a graph widget which displays the data from the teradata database. I'm thinking that in order for the data to be populated to my widget then I need a postgres username and password and the jdbcUrl. These changes are supposed to go into the content.xml and server.xml file but the problem is trying to figure out what is the username, password and Url? Will that be all the change that is needed to get information to be displayed on a widget?  If possible, It would make it easier for me if anyone had a same of a widget being populated with some simple data. Thanks.</description><pubDate>Thu, 28 May 2009 16:50:49 GMT</pubDate><dc:creator>MSkiLLz</dc:creator></item><item><title>Get Error while executing FASTLOAD</title><link>http://www.teradata.com/teradataforum/Topic15912-53-1.aspx</link><description>Error occured while running following script : Error :incorrect number of bytes returned from a File Read Expected 72,Received : 33 Script Source : Chapter 1: IntroductionA FastLoad ExampleTeradata FastLoad Reference 1 – 35Error occured while running following script : sessions 2;errlimit 25;logon tdpid/username,password;CREATE TABLE employee (EmpNo SMALLINT FORMAT ‘9(5)’ BETWEEN 10001 AND 32001 NOT NULL,Name VARCHAR(12),DeptNo SMALLINT FORMAT ‘999’ BETWEEN 100 AND 900 ,PhoneNo SMALLINT FORMAT ‘9999’ BETWEEN 1000 AND 9999,JobTitle VARCHAR(12),Salary DECIMAL(8,2) FORMAT ‘ZZZ,ZZ9.99’ BETWEEN 1.00 AND 999000.00 ,YrsExp BYTEINT FORMAT ‘Z9’ BETWEEN -99 AND 99 ,DOB DATE FORMAT ‘MMMbDDbYYYY’,Sex CHAR(1) UPPERCASE,Race CHAR(1) UPPERCASE,MStat CHAR(1) UPPERCASE,EdLev BYTEINT FORMAT ‘Z9’ BETWEEN 0 AND 22,HCap BYTEINT FORMAT ‘Z9’ BETWEEN -99 AND 99 )UNIQUE PRIMARY INDEX( EmpNo ) ;set record unformatted;definedelim0(char(1)),EmpNo(char(9)), delim1(char(1)),Name(char(12)), delim2(char(1)),DeptNo(char(3)), delim3(char(1)),PhoneNo(char(4)), delim4(char(1)),JobTitle(char(12)), delim5(char(1)),Salary(char(9)), delim6(char(1)),YrsExp(char(2)), delim7(char(1)),DOB(char(11)), delim8(char(1)),Sex(char(1)), delim9(char(1)),Race(char(1)), delim10(char(1)),MStat(char(1)), delim11(char(1)),EdLev(char(2)), delim12(char(1)),HCap(char(2)), delim13(char(1)),newlinechar(char(1))file=insert.input;show;begin loading employee errorfiles error_1, error_2;insert into employee (:EmpNo,:Name,:DeptNo,:PhoneNo,:JobTitle,:Salary,:YrsExp,:DOB,:Sex,:Race,:MStat,:EdLev,:HCap);end loading;logoff;Comments Appreciated</description><pubDate>Thu, 25 Jun 2009 15:33:58 GMT</pubDate><dc:creator>BeingManish</dc:creator></item><item><title>Viewpoint PDK 13.0.1.1</title><link>http://www.teradata.com/teradataforum/Topic15861-53-1.aspx</link><description>What is the difference between this new version and the previous one?</description><pubDate>Fri, 19 Jun 2009 09:42:14 GMT</pubDate><dc:creator>MSkiLLz</dc:creator></item><item><title>system is not coming in drop down...</title><link>http://www.teradata.com/teradataforum/Topic15854-53-1.aspx</link><description>Hi ,I have added the TD system in teradata view point.Also connection manager has been enabled for the same.But Still not able to see the system in drop down in view point.Is there any thing we are missing ?</description><pubDate>Thu, 18 Jun 2009 17:31:23 GMT</pubDate><dc:creator>gander_ss</dc:creator></item><item><title>Help with Errors</title><link>http://www.teradata.com/teradataforum/Topic15654-53-1.aspx</link><description>I don't know how to fix these errors. I'm not really sure what the first one wants but I'm pretty sure the second one just can't find that location so how do I fix these?[mkdir] Created dir: C:\Events\build\classes    [javac] Compiling 11 source files to C:\Events\build\classes    [javac] C:\Events\src\java\com\teradata\portlets\events\validators\EditEventValidator.java:23: non-static method equals(java.lang.Object) cannot be referenced from a static context    [javac]         return EditEventModel.equals(clazz);    [javac]                              ^    [javac] C:\Events\src\java\com\teradata\portlets\events\validators\EditEventValidator.java:68: cannot find symbol    [javac] symbol  : variable lang    [javac] location: class com.teradata.portlets.calendar.validators.EditEventValidator    [javac]         if(obj.getClass() == java.lang.String &amp;&amp; ((String)obj).trim().length() &amp;lt;= 0)    [javac]                              ^    [javac] Note: C:\Events\src\java\com\teradata\portlets\events\controllers\EventsViewController.java uses unchecked or unsafe operations.    [javac] Note: Recompile with -Xlint:unchecked for details.    [javac] 2 errorsHere is the code[b]package com.teradata.portlets.calendar.validators;import com.teradata.portlets.calendar.model.EditEventModel;import java.sql.Timestamp;import org.springframework.validation.Errors;import org.springframework.validation.Validator;public class EditEventValidator    implements Validator{    public EditEventValidator()    {    }    public boolean supports(Class clazz)    {        return EditEventModel.equals(clazz);    }    public void validate(Object obj, Errors e)    {        EditEventModel editEventModel = (EditEventModel)obj;        if(editEventModel == null)            throw new NullPointerException("encountered null edit event form model");        Integer id = editEventModel.getEventId();        String eventTitle = editEventModel.getEventTitle();        String eventText = editEventModel.getEventText();        String author = editEventModel.getEventAuthorName();        String lastModifiedName = editEventModel.getEventLastModifiedName();        Integer priority = editEventModel.getEventPriority();        Long start = editEventModel.getEventStartTime();        Long end = editEventModel.getEventEndTime();        Long logTime = editEventModel.getEventLogTime();        Long lastModifiedTime = editEventModel.getEventLastModifiedTime();        validateRequiredField("eventId", id, e);        if(id.intValue() != -1)        {            validateRequiredField("eventAuthorName", author, e);            validateRequiredField("eventLastModifiedName", lastModifiedName, e);            validateTimestamp("eventLogTime", logTime, e);            validateTimestamp("eventLastModifiedTime", lastModifiedTime, e);        }        validateRequiredField("eventTitle", eventTitle, e);        validateMaxLength("eventTitle", eventTitle, 128, e);        validateMaxLength("eventText", eventText, 16384, e);        validateRequiredField("eventPriority", priority, e);        validateRequiredField("eventStartTime", start, e);        validateTimestamp("eventStartTime", start, e);        validateRequiredField("eventEndTime", end, e);        validateTimestamp("eventEndTime", end, e);        if(start != null &amp;&amp; end != null &amp;&amp; start.longValue() &amp;gt; end.longValue())            e.rejectValue("eventStartTime", "errors.startafterend");    }    public void validateRequiredField(String fieldName, Object obj, Errors e)    {        if(obj == null)        {            e.rejectValue(fieldName, "errors.required");            return;        }        if(obj.getClass() == java.lang.String &amp;&amp; ((String)obj).trim().length() &amp;lt;= 0)            e.rejectValue(fieldName, "errors.required");    }    public void validateTimestamp(String fieldName, Long time, Errors e)    {        if(time == null)            return;        try        {            Timestamp timestamp = new Timestamp(time.longValue());            if(timestamp == null)                e.rejectValue(fieldName, "errors.invalidtimestamp");        }        catch(Exception ex)        {            e.rejectValue(fieldName, "errors.invalidtimestamp");        }    }    public void validateMaxLength(String fieldName, String string, int maxLength, Errors e)    {        if(string == null)            return;        if(string.length() &amp;gt; maxLength)            e.rejectValue(fieldName, "errors.toolong");    }    public static final int MAX_LENGTH_EVENTTITLE = 128;    public static final int MAX_LENGTH_EVENTTEXT = 16384;}[/b]</description><pubDate>Thu, 04 Jun 2009 09:24:13 GMT</pubDate><dc:creator>MSkiLLz</dc:creator></item><item><title>New Portlet Project fails ant deploy (Host not found?)</title><link>http://www.teradata.com/teradataforum/Topic15269-53-1.aspx</link><description>Hi all,I just set up the Viewpoint PDK 13.0.0.1 on a Linux box.  Went through all the steps and got things working (mostly), much to my chagrin...However I ran into issues when trying to follow the 'Generating the Hello Project' sample.  Namely, I encountered issues with the ant deploy.It seems the build.xml makes references to a web location that no longer exists.Did anyone else encounter this?  And, if so... how did you resolve it?Thanks,-Petersandman Hello # ant deployBuildfile: build.xml      [get] Getting: http://continuum.td.teradata.com/svn/NextGen/BuildConfig/trunk/bootstrap.build.xml      [get] To: /Hello/.bootstrap.build.xml      [get] Error getting http://continuum.td.teradata.com/svn/NextGen/BuildConfig/trunk/bootstrap.build.xml to /Hello/.bootstrap.build.xmlinit:    [mkdir] Created dir: /Hello/.buildconfig      [get] Getting: http://continuum.td.teradata.com/ivyrep-sandbox/teradata/build-config/3.0-SNAPSHOT/build-config.zip      [get] To: /Hello/.buildconfig/build-config.zip      [get] Error getting http://continuum.td.teradata.com/ivyrep-sandbox/teradata/build-config/3.0-SNAPSHOT/build-config.zip to /Hello/.buildconfig/build-config.zipBUILD FAILED/Hello/build.xml:12: The following error occurred while executing this line:/Hello/.bootstrap.build.xml:21: java.net.UnknownHostException: continuum.td.teradata.comTotal time: 0 seconds</description><pubDate>Mon, 04 May 2009 22:01:12 GMT</pubDate><dc:creator>textures2</dc:creator></item><item><title>Could not run startup.bat</title><link>http://www.teradata.com/teradataforum/Topic13743-53-1.aspx</link><description>I am freshly installing teradata View point on my system. I have followed the instructions in the instruction manual. Once I ran the setup.bat successfully, I am not able to startup the Teradata View point. I Ran the startup.bat batch file. It shows me a Tomcat window , there is some stuff going on in the screen and it shows me message 'Server startup in 13350 ms' and remains as is. I was never able to startup the viewpoint.Does anybody have any idea about this? Am I missing any steps in installation process?</description><pubDate>Tue, 02 Dec 2008 15:43:48 GMT</pubDate><dc:creator>LeoIssac</dc:creator></item><item><title>Viewpoint PDK 13.0.0.1 available for download</title><link>http://www.teradata.com/teradataforum/Topic13599-53-1.aspx</link><description>The Viewpoint PDK 13.0.0.1 is now available for download. Note that the download is in two parts (and a README); after download, extract the two zip files into the same directory, and off you go.http://viewpoint.teradata.com/README.txthttp://viewpoint.teradata.com/tdpdkexternal-13.00.00.01.ziphttp://viewpoint.teradata.com/tdpdkexternalopen-13.00.00.01.zip</description><pubDate>Tue, 18 Nov 2008 11:37:14 GMT</pubDate><dc:creator>neilotoole</dc:creator></item><item><title>how can we skip the multi load statement if the file is empty.</title><link>http://www.teradata.com/teradataforum/Topic13665-53-1.aspx</link><description>Hi I am new to teradata. I am using Teradata on unix. I am facing some problem. can anyone help me please.this is the problem.how can we skip the multi load statement if the file is empty.grep 'test' file1&amp;gt; file2mload statement with file2Thanks,Rajesh</description><pubDate>Mon, 24 Nov 2008 00:05:53 GMT</pubDate><dc:creator>rajesh4u4e</dc:creator></item><item><title>Welcome to the Viewpoint discussion forum</title><link>http://www.teradata.com/teradataforum/Topic13598-53-1.aspx</link><description>Welcome to the Viewpoint discussion forum at Teradata.com. Teradata Viewpoint is a state-of-the-art extensible Web 2.0 portal framework, based on J2EE, portlets, and AJAX, that is be the center-piece of a new wave of modern applications and management tools.Using the Portlet Development Kit (PDK), customers and partners can build their own portlets that can be deployed as first-class citizens into Viewpoint; this forum will the primary avenue for getting help with PDK development.- Neil O'Toole, moderator</description><pubDate>Tue, 18 Nov 2008 11:29:42 GMT</pubDate><dc:creator>neilotoole</dc:creator></item></channel></rss>