Hey,
I have an FTP job that I want only to run when a certain file exists. I don't want the job to fail if it doesn't.
Search found 11 matches
- Wed Mar 15, 2006 10:07 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: FTP only when file exists
- Replies: 4
- Views: 1273
- Fri Feb 24, 2006 3:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Query sequential files?
- Replies: 5
- Views: 1696
- Fri Feb 24, 2006 3:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Query sequential files?
- Replies: 5
- Views: 1696
It is difficult to answer that without knowing what queries are you trying to run. You can use stage variables and define constraints. But it would be nice on your part if you could provide the type of queries that you would like to run on this sequential file. This would help us in giving you a be...
- Fri Feb 24, 2006 2:56 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Query sequential files?
- Replies: 5
- Views: 1696
Query sequential files?
Hey,
I have a project in which there is a base query where I extract data to a sequential file in Dstage. Then up must run 3 seprate queries on that data. What is the most efficient way to do this?
Thanks,
Steve
I have a project in which there is a base query where I extract data to a sequential file in Dstage. Then up must run 3 seprate queries on that data. What is the most efficient way to do this?
Thanks,
Steve
- Thu Feb 16, 2006 2:24 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Timestamp Formatting
- Replies: 4
- Views: 1399
naveendronavalli wrote:Oops! Sorry.
I missed a parethesis in the code. It should be
Let me know if it worked.Code: Select all
DT_FLD = Ereplace(Trim(InLink.DT_FLD), " ", "-")
Thanks,
Naveen.
Thanks alot Naveen. Works great! :D
- Thu Feb 16, 2006 11:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Timestamp Formatting
- Replies: 4
- Views: 1399
Timestamp Formatting
Hey,
I have a timestamp column comming in from a source file as:
2006-02-01 00.00.00.000000
I need to have it come out as:
2006-02-01-00.00.00.000000
Currently my stage is doing a seq to seq. How do I format the timestamp properly?
Thanks,
Steve
I have a timestamp column comming in from a source file as:
2006-02-01 00.00.00.000000
I need to have it come out as:
2006-02-01-00.00.00.000000
Currently my stage is doing a seq to seq. How do I format the timestamp properly?
Thanks,
Steve
- Tue Feb 14, 2006 12:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with FTP: Char columns getting padded with zeros
- Replies: 4
- Views: 1278
- Tue Feb 14, 2006 12:01 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with FTP: Char columns getting padded with zeros
- Replies: 4
- Views: 1278
How do you know that the padding is done in the FTP stage? Normally I would never expect a CHAR field to be automatically padded with leading zeroes so my first guess is that this is happening on your output. If you use a FTP stage and either write straight to a non-delimited, fixed width, no termi...
- Tue Feb 14, 2006 11:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with FTP: Char columns getting padded with zeros
- Replies: 4
- Views: 1278
Problem with FTP: Char columns getting padded with zeros
I am trying to FTP a sequential file and the columns that use CHAR and Timestamp are getting padded with zeros. There rows are supposed to be tab delimeted BTW. Original rows: 114 2006-02-01 00.00.00.000000 742 7565 74207469 226577044.42 158357477.37 114 2006-02-01 00.00.00.000000 862 4653 27876492 ...
- Tue Jan 10, 2006 3:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: HELPP!!
- Replies: 4
- Views: 1632
I do not need to extract the timestamp of the file. there is an actual timestamp string in the txt file. thats all it holds. The only way you can use a variable in a where clause is using a job parameter. Not quite true because you can also use the variable to create an SQL file on the fly and then ...
- Tue Jan 10, 2006 2:35 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: HELPP!!
- Replies: 4
- Views: 1632
HELPP!!
I'm working on a project which requires me to read a timestamp from a file and then use that within a WHERE clause. How can I accomplish this?