Search found 22 matches

by rajeshknl
Mon Aug 25, 2008 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to FTP a file from Remote Server to Datastage Server
Replies: 6
Views: 6015

How to FTP a file from Remote Server to Datastage Server

Hi, I have to FTP source files from remote server to Datastage Server(UNIX). I had a look at FTP stage(Enterprise and Plug in). But looks like they transfer data in file and not the actual file. I need the actual file. In other topics on the forum i have seen people build routines or shell scripts. ...
by rajeshknl
Tue Aug 05, 2008 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: the record is too big to fit in a block
Replies: 1
Views: 1268

the record is too big to fit in a block

Hi i am trying to read from a sequential file and i am getting the below error. Sequential_File_0,0: Fatal Error: Virtual data set.; output of "Sequential_File_0": the record is too big to fit in a block; the length requested is: 327584, the max block length is: 131072. Do i need to change...
by rajeshknl
Fri Jul 25, 2008 8:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to change default settings of Table definition import
Replies: 4
Views: 1162

I found a solution. we can export the table definition created. open it in a text editor and find and replace with you want. this works. for example i changed the nullable option to 'yes' in the text file. then you re-import that file.
by rajeshknl
Thu Jul 24, 2008 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to change default settings of Table definition import
Replies: 4
Views: 1162

How to change default settings of Table definition import

By default when you import a sequential file definition the "nullable" columun is set to "NO". I have 800 columns in my table. it is hard to change them manually. Is there a way to change the default setting to "Yes".
by rajeshknl
Wed Jul 23, 2008 5:57 pm
Forum:
Topic: Taking metadata from a file
Replies: 18
Views: 5990

If you have documnation you can refer to parellel job dveloper's guide. appendix A (schemas ) for reference. a simple one looks like below

record(
col1: Int32;
col2:string;
col3:string[] // sql varchar equivalent is string[]
)
by rajeshknl
Wed Jul 23, 2008 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot stage upstream of Column Import stage
Replies: 3
Views: 1309

Thanks

Is there a way to count the no of times the delimiter repeats and pass that as a parameter. i am just guessing wildly.
by rajeshknl
Wed Jul 23, 2008 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot stage upstream of Column Import stage
Replies: 3
Views: 1309

Pivot stage upstream of Column Import stage

Hi, I have to read a delimited file(,) with varying number of columns. Also turn the columns into multiple rows. EX: Input rec_time,Acc_time,Para_ID,Tower_ID Ouptput rec_time Acc_time Para_ID Tower_ID I can use a schema file as the no of columns vary but how do i connect the pivot stage without know...