Search found 115 matches

by opdas
Wed Mar 15, 2006 2:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File size limit
Replies: 7
Views: 6274

Sequential File size limit

Hi,
Is there any limit to the file size that I can read using sequential file stage using read method as Specific file OR is there any limit to the number of files/file size when I user read method as File Pattern?

Regards
Om
by opdas
Thu Mar 09, 2006 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: changing the dateformat
Replies: 7
Views: 2541

Re: changing the dateformat

Hi all, Thu Jan 19 16:59:51 EST 2006 but i need to output as like: YYYY-MM-DD T 00:00:00 (format) it will be done by using iconv or oconv functions.but i am not getting reqd.output can any one help me with exact syntax Hi Scorpion, Good news: Like Rasi said, if the source is a string(char or varcha...
by opdas
Wed Mar 08, 2006 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: changing the dateformat
Replies: 7
Views: 2541

Re: need help on date format

hi, Can you give us your exact requirement? Do you want your transformed data to be in string or Timestamp format? If your input string is of the format you mentioned then you can use Stage variable and get convert "Jan" to 01(in string) and atlast concatenate all into the string you want ...
by opdas
Mon Mar 06, 2006 6:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass yesterday's date as parameter
Replies: 9
Views: 3300

ameyvaidya wrote:Hi Om,

Wrap Kumar's Function call in ereplace like:

Code: Select all

EREPLACE(Oconv(Date()-1,"DMDY[2,2,4]"),' ','')
to replace all spaces to Empty Strings.
Done...
Thanks a Lot !
by opdas
Mon Mar 06, 2006 4:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass yesterday's date as parameter
Replies: 9
Views: 3300

kumar_s wrote:Oops a late reply :oops:
Hi Kumar,
Your solution looked intresting, but geting the following date format but I dont want the space in between.

"03 05 2006" I want>> "03052006"

Regards
Om
by opdas
Sat Mar 04, 2006 1:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling DS jobs from server
Replies: 1
Views: 870

Compiling DS jobs from server

Hi All,

We can run jobs from CLP by using dsjob in the client and server environment both, can we do the same for compiling jobs like we do from client using "dscc" ??
I mean can we use dscc from server(we are using AIX) too.

Any help is appreciated.

Regards
OM
by opdas
Wed Mar 01, 2006 6:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass yesterday's date as parameter
Replies: 9
Views: 3300

If you're passing a parameter to the job you have to pass it from somewhere - perhaps a job sequence, perhaps a shell script. It's there that you generate yesterday's date. In a job sequence a suitable expression is Oconv(@DATE - 1, "D-YMD[4,2,2]") (Adjust the specification to suit requir...
by opdas
Wed Mar 01, 2006 6:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass yesterday's date as parameter
Replies: 9
Views: 3300

Pass yesterday's date as parameter

Hi, I have a situation where I have to extract data from a oracle table which are generated daily with name as "table_mmddyyyy" so if I can pass yesterday's date as parameter in the extarction job then I can select the table which is created yesterday. How can I pass that automatically at ...
by opdas
Sat Feb 18, 2006 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Column Name in Sequential File stage
Replies: 3
Views: 1226

Thanks for the reply Kumar, I'm using the following expn: /path/*.csv Regds Om Prakash Hi Om, Welcome Aboard :D Can you provide us the expression you used in File Pattern. I guess you might have given only the path name. Hence the just the name of the files available under the path will be fed as in...
by opdas
Sat Feb 18, 2006 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Column Name in Sequential File stage
Replies: 3
Views: 1226

File Column Name in Sequential File stage

Hi All, I'm new to datastage, I'm trying to read squential files using sequential file stage. I am using read method as "File Pattern" and also try to get the file name from where the data is being picked, but every time I do this I get only one file name though the data is being read from...