Search found 307 matches
- Tue Nov 20, 2007 2:37 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wait for File in FTP
- Replies: 4
- Views: 2724
Another thing to think about...
You may also want to consider that if the ftp processes available with DataStage are extremely slooooooooowwww. If you are dealing with larger files, you will spend a lot of time waiting. You may want to consider utilizing a wait for file stage in a sequence, but use another mechanism for actually p...
- Mon Nov 19, 2007 2:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Implement how to split MultiList values of a column
- Replies: 15
- Views: 5506
Perl script to do this with a file
If your data is in a sequential file, there is a perl script on the site in the General Forum that will do it for you. Look carefully to make sure it does what you want. It is pretty fast and easy to use. I don't have the link handy at the moment, but just search for Perl Scripts posted by jdmiceli.
- Mon Nov 19, 2007 2:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Implement how to split MultiList values of a column
- Replies: 15
- Views: 5506
Perl script to do this with a file
If your data is in a sequential file, there is a perl script on the site in the General Forum that will do it for you. Look carefully to make sure it does what you want. It is pretty fast and easy to use. I don't have the link handy at the moment, but just search for Perl Scripts posted by jdmiceli.
- Mon Nov 19, 2007 2:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to Write One row of dyanamic data from the query result
- Replies: 2
- Views: 1239
Need more info
Is the info you are looking for a count? A single dataset? Can it be defined as a user defined SQL? Does the SQL need to change each time?
These are the first questions that pop to my mind.
Provide some more background and details and we might be able to give you more.
These are the first questions that pop to my mind.
Provide some more background and details and we might be able to give you more.
- Wed Oct 24, 2007 2:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How can I search a string for XYZ and replace with spaces
- Replies: 15
- Views: 5883
- Wed Oct 24, 2007 2:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How can I search a string for XYZ and replace with spaces
- Replies: 15
- Views: 5883
- Wed Oct 24, 2007 2:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Touch File mechanism
- Replies: 8
- Views: 5613
- Wed Oct 24, 2007 1:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Combine trailer record to output file
- Replies: 4
- Views: 2356
- Wed Oct 24, 2007 1:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How can I search a string for XYZ and replace with spaces
- Replies: 15
- Views: 5883
- Wed Oct 24, 2007 1:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How can I search a string for XYZ and replace with spaces
- Replies: 15
- Views: 5883
Just for clarification, are you wanting to replace an entire string 'XYZ' or any incidents of ('X','Y','Z')? Convert is probably what you want, but make sure you remember how it works. This is from the docs: Syntax Convert (list, new.list, string) list is a list of characters to replace. If list is ...
- Wed Oct 24, 2007 1:14 pm
- Forum: General
- Topic: Useful Perl Scripts I have written
- Replies: 24
- Views: 38535
Here is a sample batch clean up script. Right now, I have a process that runs each night for 18 different companies using the same DataStage jobs. I pass in parameters that identify the companies and the batches they are on, but the same thing happens for all of them. Since I am moving a fair amount...
- Fri Oct 19, 2007 1:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sorting in server jobs
- Replies: 10
- Views: 15216
Of course, if you like Perl (as I do), you could put something like this in your path somewhere (maybe common scripts directory) and be able to run it from anywhere: #!/user/local/bin/perl -w # # program name: FileSorter.pl # Purpose : To sort a flat file taking into account the header # row if it e...
- Fri Oct 19, 2007 10:23 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Can it be the Null string in last field of Text file?
- Replies: 10
- Views: 3141
another thing to consider is what kind of delimiter you are using in the file. If it is a flat file and the source process that built the original file didn't put a representation for NULL in the file, I'm not sure how you could capture it. However, if the original creation process used something li...
- Fri Oct 19, 2007 10:10 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Tracking count of records in a flat file
- Replies: 3
- Views: 1639
- Fri Oct 19, 2007 9:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: What is the command to compile the job?
- Replies: 10
- Views: 3118