Search found 364 matches

by JDionne
Wed Feb 11, 2004 9:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Edditing DS Macros
Replies: 26
Views: 10477

Edditing DS Macros

I have a need to eddit the JOBCONTROL.H file to add a mutated version of the DSJobStartTimestamp to my system so that I can get the Timestamp into an acceptiable formate for a Dos Batch file that has to do a rename of a file. The problem is that the original DSJobStartTimestamp outputs dd-mm-yyyy hh...
by JDionne
Tue Feb 10, 2004 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

found it
dsjob -server scrbbususcnc04 -user webi -password 29DmJj13 -run -mode NORMAL Development Load456msg

thanx guys
Jim
by JDionne
Tue Feb 10, 2004 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

OK I found the dsjob.exe file right were you guys said it would be. I have taken the sample code from this post and it errored out saying it didnt understand the switches. This is what my code looks like dsjob -server scrbbususcnc04 -user webi -password 29DmJj13 -mode NORMAL Development Load456msg i...
by JDionne
Tue Feb 10, 2004 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

Re: OconvIconv on a time field

Wow, am I off base. :) But it is working now and I have a head ache, so im gona address this later today. Thanx for the input.
Jim
by JDionne
Mon Feb 09, 2004 4:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

ya thats where i was on my server in the ascential\datastage\engine dir and i typed in dsjob.exe and it told me that it wasnt a good command. Ill try again in the morning.
Jim
by JDionne
Mon Feb 09, 2004 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

when im at a dos prompt, how do I call this? when i put in dsjob even when im in the ascential\datastage\engin folder dos tells me its not a recognized command
Jim
by JDionne
Mon Feb 09, 2004 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

There are no examples of this and its terably confusing to me,
is it:

dsjob -run -mode[reset] -warn 50 Development Load456msg
?
Jim
by JDionne
Mon Feb 09, 2004 3:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

Thanx the documentation is so masive its daunting at times
Jim
by JDionne
Mon Feb 09, 2004 2:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling a DS Job From Command Line
Replies: 14
Views: 6180

Calling a DS Job From Command Line

I need to write a dos batch file to call a DS job where in the documentation should I look for that code and an example of it?
Jim
by JDionne
Mon Feb 09, 2004 12:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

Look in the Index for " [ ] operator ". At its simplest, it is pretty simple - start position and length - so: FIELD1 = "0227" FIELD1[1,2] = "02" FIELD1[3,2] = "27" Yup Yup Yup thats the answer oconv(iconv(DSLink3.TransTime[1,2] : ":" : DSLink3.Tran...
by JDionne
Mon Feb 09, 2004 11:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

Have you checked the online help? There doesn't seem to be a 'size' portion for time conversions like there is for dates: Conversion Expression Internal Value X = Iconv("02:46", "MT") X = 9960 Conversion Expression External Value X = Oconv(10000, "MT") X = "02:46&...
by JDionne
Mon Feb 09, 2004 10:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

essaion wrote:I think you have to let at least a blank between MT and the format...
It should look like

Code: Select all

oconv(iconv(DSLink3.TransTime, "MT HM[2,2]"), "MT:HM[2,2]")
, shouldn't it ?
I gave that a go with the same results. :(
Jim
by JDionne
Mon Feb 09, 2004 10:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

Re: OconvIconv on a time field

I changed my code from oconv(iconv(DSLink3.TransTime, "THM[2,2]"), "T:HM[2,2]") to oconv(iconv(DSLink3.TransTime, "MTHM[2,2]"), "MT:HM[2,2]")
and still didnt get any return
Jim
by JDionne
Mon Feb 09, 2004 9:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

chulett wrote:I don't think there is a "T" conversion code... don't you need to use "MT" to do Time Conversions?
I honestly was going on "IF Date is D than Time is T"
:)
ill give it a go
thanx
Jim

PS it didnt give me an error with T eather
by JDionne
Mon Feb 09, 2004 9:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OconvIconv on a time field
Replies: 12
Views: 4961

OconvIconv on a time field

I have a time column which looks like 0814 i need it to look like 08:14 i have tried to use the following code: oconv(iconv(DSLink3.TransTime, "THM[2,2]"), "T:HM[2,2]") I dont get an error nor do I get the any data. It leaves the column null. I am importing it into a sequencial s...