Search found 104 matches

by boppanakrishna
Wed Jun 01, 2011 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Facing problem with compilation
Replies: 3
Views: 4916

Facing problem with compilation

Hi All, When i am compiling the job, i am getting following error. Please help me .. Regerds Krish Output from transformer compilation follows: ##I IIS-DSEE-TFCN-00001 11:14:17(000) <main_program> IBM WebSphere DataStage Enterprise Edition 8.5.0.5796 Copyright (c) 2001, 2005-2008 IBM Corporation. Al...
by boppanakrishna
Thu Apr 14, 2011 11:58 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: Error Executing DS Job
Replies: 2
Views: 3546

Error Executing DS Job

Hi All, I am trying to configure Information Analyzer in version 8.5 While configuring the Analysis Database (Under Analysis Settings) i am getting the "Error Error Executing DS Job" when i click on Validate Engine Connection Button I have added entries in the ODBC.ini file and those DSN's...
by boppanakrishna
Fri Mar 18, 2011 3:42 am
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Sura, I have used the following code to connect to sql serve rdatabase ErrorCode = 0 ;* set this to non-zero to stop the stage/job $INCLUDE DSINCLUDE JOBCONTROL.H Call DSLogInfo("STARTD",DSJ.ME) InsertStmt="INSERT INTO DATABASENAME.dbo.T values ('AB');" Call DSLogInfo(InsertSt...
by boppanakrishna
Thu Mar 17, 2011 2:41 am
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Ray, "DATBASENAME" in my context is actual database name in my SQL Server which is 'GMFIT" In my actual coding i have used this GMFIT, I just modifed to DATABASENAME while posting so that there won't be any confusion. If possible can you let me know the syntax to use ODBC connectio...
by boppanakrishna
Wed Mar 16, 2011 10:56 pm
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Ray, I did check with my DBA, and it seems like its not connecting to Database. None of the activity is triggered after the routine has started running. It seems like its problem with the statement SQLCmd='"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\SQLCMD" -S DATABASENAME -U U...
by boppanakrishna
Wed Mar 16, 2011 3:19 am
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

HI Ray, ErrorCode = 0 ; * set this to non-zero to stop the stage/job $INCLUDE DSINCLUDE JOBCONTROL.H $IFNDEF JOBCONTROL.H $INCLUDE DSINCLUDE JOBCONTROL.H $INCLUDE UNIVERSE.INCLUDE ODBC.H $ENDIF *---- Start processing strOutPath = DSGetParamInfo(DSJ.ME, "RP", DSJ.PARAMVALUE) paths=DSGetPara...
by boppanakrishna
Tue Mar 15, 2011 11:47 pm
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi ,

I tried to debug the routine, also noticed its not connecting to database.

Is there any command to check if the connection is succesful or not?


Please let me know if i had written the correct code.

In meanwhile i am exploring things from DBA side also to see what went wrong
by boppanakrishna
Tue Mar 15, 2011 11:18 pm
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi All,

Any more suggestions are welcome
by boppanakrishna
Tue Mar 15, 2011 8:11 am
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Chulett, I have give the following code as per your instructions InsertStmt="INSERT INTO DATABASE.SCHEMANAME.TABLENAME values ('" : SequenceName: "');" SQLCmd='C:\Program~1\Microsoft~1\90\Tools\Binn\SQLCMD -S DATABASENAME -U USERNAME -P PASSWORD -q "' : InsertStmt : '&quo...
by boppanakrishna
Mon Mar 14, 2011 11:52 pm
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Chullet, I have added SQLCMD to th epath but still no luck below is the error message QueryOutput'C:\Program' is not recognized as an internal or external command, operable program or batch file. It seems like its consiedring the SPACE after Program Belwo is the syntax for the code i have added C...
by boppanakrishna
Mon Mar 14, 2011 11:06 pm
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Hi Ray, SQLCMD executable file is present the following location on the server at which datbase is installed C:\Program Files\Microsoft SQL Server\90\Tools\Binn\ I modified the code to SQLCmd='C:\Program Files\Microsoft SQL Server\90\Tools\Binn\ -S -S DATABASENAME -U USERNAME -P PWD -q "' : Ins...
by boppanakrishna
Mon Mar 14, 2011 12:30 am
Forum: General
Topic: Connecting to Sql server 2008 from Server routine
Replies: 24
Views: 16280

Connecting to Sql server 2008 from Server routine

Hi All, I need help in connecting to SQL server from datastage after job sub routine I am using the following command in the routine to connect, but couldn't connect SQLCmd='SQLCmd -S DATABASENAME -U USERNAME -P PWD -q "' : InsertStmt : '"' Error message: QueryOutput'SQLCmd' is not recogni...
by boppanakrishna
Mon Feb 14, 2011 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read data from file
Replies: 1
Views: 1450

Unable to read data from file

Hi I am reading data from flat file and i am receving null values in date field from the source. When i am converting data from string to date in sequential file stage, i am getting following error. Data string '#00010#A' does not match format '%yyyy%mm%dd': an integer was expected to match tag %yyy...
by boppanakrishna
Mon Feb 14, 2011 4:54 am
Forum: General
Topic: Job names not appearing on repository
Replies: 10
Views: 5462

It's heppening same to me for some times. When i am restarting services, i am able to see the the jobs in folders.