Search found 46 matches

by hondaccord94
Fri Jul 08, 2005 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17126

Re: convert datetime to timestamp

Hi Sudarshan, Thanks for the help, But , I don't know whether I can use the one you mentioned in the buildop or do I need to write the c++ coding for this conversion. If so, can you please throw some suggestions on how to proceed with this. Hi, since you r converting date to timestamp I will assume ...
by hondaccord94
Fri Jul 08, 2005 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert datetime to timestamp
Replies: 21
Views: 17126

convert datetime to timestamp

Hi All,
Can any one of you let me know how to convert the datetime to timestamp in parallel extender jobs.

Thanks in Advance
by hondaccord94
Wed Jun 29, 2005 7:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace mm/dd/yyyy with mm/01/yyyy
Replies: 6
Views: 2170

Thank you very much.That is working.... Try this: // First, load input date string into a date variable APT_Date tmpDate1; tmpDate1.set(in.dtfromfile, "%mm/%dd/%yyyy"); // Then, create new temp variable using Y and M pieces of first date, // and 1 for day. The class APT_Date has a construc...
by hondaccord94
Wed Jun 22, 2005 11:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling BuildOps
Replies: 1
Views: 1621

Compiling BuildOps

Hi All,
Can anyone give me an idea of how to compile the buildops.

Thanks..
by hondaccord94
Fri Jun 17, 2005 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How Dataset differ from Sequential File stage
Replies: 5
Views: 2801

babu suresh

Dataset Stage : Cryptic broken, understandable to Datastage alone

Sequential Stage : ASCII code , understandable to human eye.
by hondaccord94
Fri Jun 17, 2005 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace mm/dd/yyyy with mm/01/yyyy
Replies: 6
Views: 2170

Thank you very much. I will check that.
ArndW wrote:Hello Accord,

this operation is not difficult in either Px or Server and you do not need to do any c++ or other coding to effect it.

In a transform just specify In.InDate[1,3]:'00':In.InDate[6,5] in both flavors to get the required format.
by hondaccord94
Fri Jun 17, 2005 9:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace mm/dd/yyyy with mm/01/yyyy
Replies: 6
Views: 2170

Thanks for the info. I will look into that.
But I am not writting a build-op just for that date transformation alone, I have whole bunch of other transformations also. Anyways I will check that sample folder. And if you have any clue abt the C++ code please let me know.
by hondaccord94
Fri Jun 17, 2005 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace mm/dd/yyyy with mm/01/yyyy
Replies: 6
Views: 2170

replace mm/dd/yyyy with mm/01/yyyy

Hi Gurus, I am trying to write a build-op(first time) in C++ for some business transformations. One of the requirements is, I am getting date from a flat file in the format mm/dd/yyyy and the requirement is to load the target with mm/01/yyyy. Can anybody suggest a way to do this in the build-op. If ...
by hondaccord94
Wed May 11, 2005 10:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Craig,

I am going with the Folder Stage. It seems to work. 'Coz my boss says I have spent too much time on that. Thanks for ur help.

Sandeep
by hondaccord94
Tue May 10, 2005 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Craig, I have given the same command in the cmd window. It works fine. I am not sure why it is not working in DS. I gave the complete file name in the file name option window and the wildcard filter type <dir>*.txt. I tried giving jus the filter option too. No use. I guess, I am making some sense he...
by hondaccord94
Tue May 10, 2005 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Craig,

Am sorry again... :( .

I tried doing that now I am getting this error.

ds_seqopen() - Win32 error in CreateProcess() - The system cannot find the file specified.

Please advise

Thanks
Sandeep
by hondaccord94
Tue May 10, 2005 1:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Ray, Tried that, it throws an error "no file name to open". Do I have to give anything in the file name option. And for your info my test job looks like this seq_file_stg -----------> transformer ----------------> seq_file_stg (straight moves) Please advise. Thanks Sandeep
by hondaccord94
Tue May 10, 2005 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Ray/Craig, I am trying to use the filter command option now ,that Ray quoted. I have a question, this might sound silly. But I hope you can help me with this. Say for, I am trying to search for the files with the extension 'txt', in this folder E:\dev\srcdata. I guess I dont have to give anything in...
by hondaccord94
Tue May 10, 2005 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Sorry Craig, I got ur name wrong.
by hondaccord94
Tue May 10, 2005 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Load from sequential files
Replies: 14
Views: 4064

Ray/Chulett

Thanks for your help. I will try all the three options and see which suits my reqs. I will get back to you guys if I find any probs.
Thanks once again