Search found 27 matches
- Thu Oct 02, 2008 5:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Remove lines from the xm l file
- Replies: 15
- Views: 4236
Hi Kumar, I think below commands would be helpful to remove header and trailer in unix. a= `wc -l filename.xml` # a is the total number of lines in that xml file b=`expr a - 3` # b is number of total lines minus 3 (trailer) head -b filename.xml > file1 #The above command will copy remove trailer lin...
- Wed Sep 10, 2008 4:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Extra iteration in Loop Activity
- Replies: 13
- Views: 3142
- Fri Aug 29, 2008 12:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: 2 header rows and one tail row should be removed
- Replies: 2
- Views: 1145
Easy way would be removing these two Header rows and tails row in unix using a shell script. ------------------------------------------------------------------------- #!/bin/ksh D=`head -1 FILENAME|tr -dc '[a-z]'` a=`cat FILENAME|wc -l` b=`expr $a - 3` c=`expr $a - 1` for [ i -eq $b ] do echo $D >>D...
- Mon Aug 25, 2008 4:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: double quotes
- Replies: 8
- Views: 2071
- Mon Aug 25, 2008 3:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: double quotes
- Replies: 8
- Views: 2071
- Mon Aug 25, 2008 11:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sqlserver Stored Procedure
- Replies: 3
- Views: 1315
use stored procedure stage
Use Stored Procedure stage and you have a option for SQL Server as one of the vendors, Try it...
Since your requirement has both input and output you cannot use ODBC stage.
Follow this Link
Since your requirement has both input and output you cannot use ODBC stage.
Follow this Link
- Thu Jul 17, 2008 1:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting date from dd/mm/yy to yyyy/mm/dd in parallel
- Replies: 5
- Views: 1570
- Fri Jul 11, 2008 3:18 pm
- Forum: General
- Topic: Addition of Rows in Datastage
- Replies: 3
- Views: 2204
Re: Addition of Rows in Datastage
You can use Stage variable...
initial Stage var i =0
i=i+inrowlink
your outputlink=i
initial Stage var i =0
i=i+inrowlink
your outputlink=i
- Thu Apr 24, 2008 2:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unix Return Code
- Replies: 7
- Views: 14080
- Thu Apr 24, 2008 2:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unix Return Code
- Replies: 7
- Views: 14080
- Thu Apr 24, 2008 2:34 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unix Return Code
- Replies: 7
- Views: 14080
- Thu Mar 20, 2008 3:19 pm
- Forum: General
- Topic: Stored Procedures and SQL Server
- Replies: 4
- Views: 1494
Re: Stored Procedures and SQL Server
[quote="jhorton"] I can get my stored procedure stage to connect to my SQL Server database but I am having troubles getting the arguments set up in the stage (I think).[/quote] How you got connect to SQL Server using Stored Proc stage ..? SQL Server is not supported in this stage. If you l...