Search found 203 matches

by mouthou
Tue Apr 10, 2007 3:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2611

[quote="DSguru2B"]I finally got a chance to write a small bat script to do this for you. Here ya go. [code] @echo off REM Set variables set last="" set fileToParse=%1 set tmpFile=%2 for /f "tokens=1-4 delims=/.- " %%A in ('date /t') do (set Dow=%%A&set mm=%%B&se...
by mouthou
Thu Apr 05, 2007 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2611

[quote="ray.wurlod"]For a sufficiently small number of stores, a Transformer stage with that many outputs (one per store) is the most convenient solution in a server job. The file names (in the downstream Sequential Fil ...[/quote] Ray, I thought about it. But it is going to be 300 stores ...
by mouthou
Thu Apr 05, 2007 12:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2611

[quote="DSguru2B"]I just re-read the post. You really are on server edition arent you. I missed that part although it was right in my face. :oops: Go ahead and post some sample data, it might help us come up with a solution.[/quote] Thanks for the response. Yes, I am on server edition. Her...
by mouthou
Thu Apr 05, 2007 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2611

[quote="DSguru2B"]Do you have MKS Toolkit installed? It should be as your running px on windows. If you can confirm that then you can do this with a shell script.[/quote] No. But I think I can install it on the server. Will it help? But it is prefered, if there is anything can be done with...
by mouthou
Thu Apr 05, 2007 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2611

Dynamic file creation based on a value

Hello datastage gurus, I need some helping hand for my situation. I need to create files based on the values in a column. I get the source data file with sales information from different stores. On the other end at the target, I have to create the files for each store no. in the source file. I have ...
by mouthou
Wed Mar 28, 2007 10:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Submit job on AS/400
Replies: 0
Views: 456

Submit job on AS/400

Hello everybody, I am trying to submit a job which is on AS/400, from datastage. Its like a remote command. Is there an easy way to do it? I tried using FTP stage and gave it as telnet command. But it is expecting the remote path and filename, which I dont think I need to go for. Any help on this is...
by mouthou
Fri Mar 02, 2007 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in datastage scheduling
Replies: 8
Views: 4357

I tried that option too. I got that from www128.ibm. It didnt work. As you said I tried putting system32 path at the end. Is it possible to know whether Datastage is looking for AT in some other location rather than system32? C:\Documents and Settings\dsadmin>path PATH=C:\WINDOWS\system32;D:\PROGRA~...
by mouthou
Fri Mar 02, 2007 10:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in datastage scheduling
Replies: 8
Views: 4357

[quote="asitagrawal"]Can u provide the step by step procedure of how u are scheduling?[/quote]

I am using the Director and saying Add to Schedule and specifying the timings.
by mouthou
Fri Mar 02, 2007 9:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in datastage scheduling
Replies: 8
Views: 4357

Error in datastage scheduling

Hello everyone, I am getting the following error while scheduling a job in datastage. "Error adding to schedule: at: garbage after time specification (Command was: AT 09:43:43 vmdsr_sched.exe d:\apps\ascential\DataStage\Projects\Test" I looked through the forum. But none helped. It talked ...
by mouthou
Wed Feb 21, 2007 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record duplicate
Replies: 8
Views: 2571

Thanks. It worked. I didnt realise that there is a link collector in Server edition. It is same as what kcbland suggested.
by mouthou
Wed Feb 21, 2007 12:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record duplicate
Replies: 8
Views: 2571

Re: Record duplicate

[quote="asitagrawal"]How many fields are there in the input ?[/quote]

I have 18 fields. Are you talking about @VM?
by mouthou
Wed Feb 21, 2007 12:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record duplicate
Replies: 8
Views: 2571

[quote="kcbland"]3 output links from a Transformer going into a Link Collector/Hashed file/3 separate Sequential files/etc. ...[/quote]

Is there a better option than having 3 sequential files. I need to have all those 3 records in a single sequential file.
by mouthou
Wed Feb 21, 2007 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record duplicate
Replies: 8
Views: 2571

Record duplicate

Hello everyone,

Is there an option in a job to duplicate the records from the source file. I need to create 3 duplicated records from a single record. Any help would be appreciated.

Version: Server
Os: Windows

Thanks,
by mouthou
Mon Feb 05, 2007 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value of an environment variable in the transformer
Replies: 5
Views: 1216

[quote="narasimha"]Use only $GroupMailId to get the value, you don't require to enclose it in between #'s[/quote]

Wow!. That worked. Thanks a lot Narasimha.
by mouthou
Mon Feb 05, 2007 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value of an environment variable in the transformer
Replies: 5
Views: 1216

Value of an environment variable in the transformer

Good morning everyone,

Is there any function to get the value of the environment variable which can be used in the transformer. I tried using the variable as it is #$GroupMailId#. But it didnot work. It is taking the variable itself as the value. Any help?

Version: Server
OS: Windows.

Thanks,