Hi,
Basically what i did is i tried to convert the time stamp to 24hr format like '2011-02-21 15:24:46' and then used Iconv('2011-02-21','D-YMD[4,2,2]'):Iconv('15:24:46':'MTS') for comparison
Please let me know if i am doing anything wrong.
Thanks in advance
Search found 222 matches
- Fri Sep 02, 2011 9:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Timestamp comparison
- Replies: 7
- Views: 2762
- Fri Sep 02, 2011 9:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Timestamp comparison
- Replies: 7
- Views: 2762
- Fri Sep 02, 2011 9:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Timestamp comparison
- Replies: 7
- Views: 2762
Timestamp comparison
Hi, I have a requirement where i need to compare the time stamp from source and Reference records and if the time stamp from the source is greater than Reference record, i need to pass the data.i am getting the time stamp from source and reference as '2011-07-21 03:24:46.000000 AM'. When i gave the ...
- Wed Jul 20, 2011 5:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash Files
- Replies: 1
- Views: 1393
Hash Files
Hi , I have a requirement where i need to delete all the hash files in that current directory where we usually store all the hash files in a particular directory after all the jobs are executed.So is there any way that i can use a routine or a command to delete the hash files.I used del *.* and then...
- Wed May 25, 2011 12:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: KeyMgt Function
- Replies: 7
- Views: 4165
- Wed May 25, 2011 10:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: KeyMgt Function
- Replies: 7
- Views: 4165
- Tue May 24, 2011 1:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: KeyMgt Function
- Replies: 7
- Views: 4165
KeyMgt Function
Hi All, I am using one of the Datastage functions which is KeyMgtGetNextValue("abc") where abc is the table name in two jobs . when i run the 1st job its working fine , and then if i run the 2nd job , i am getting an error saying that 'unique constraint violated'. So can we use KeyMgtGetNe...
- Sun May 22, 2011 7:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hashed file problem
- Replies: 2
- Views: 1610
Hashed file problem
Hi All, I created a small sequence which includes two jobs and depending on the status of 1st job i need to load the data from the 2nd job. Everything is fine but the problem is when i run the sequence its working fine . so if the 1st job aborts , i need to run the load the data from the 2nd job whi...
- Fri May 20, 2011 9:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: phanthom error
- Replies: 6
- Views: 2747
- Fri May 20, 2011 9:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: phanthom error
- Replies: 6
- Views: 2747
- Fri May 20, 2011 8:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: phanthom error
- Replies: 6
- Views: 2747
phanthom error
Hi , I created a small routine to convert string values to decimal $INCLUDE DSINCLUDE JOBCONTROL.H vLen=len(Arg1) For Arg2 = vLen To 1 Step -1 If Arg1[Arg2,1]="" or Arg1[Arg2,1]=" " then end else abc=Seq(Arg1[Arg2,1]):abc end Next Arg2 Ans=abc and when i try to run the job i am g...
- Wed Apr 20, 2011 8:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Parameter
- Replies: 4
- Views: 1932
- Wed Apr 20, 2011 8:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Parameter
- Replies: 4
- Views: 1932
- Wed Apr 20, 2011 7:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Parameter
- Replies: 4
- Views: 1932
Job Parameter
Hi , Is there any way can we pass multiples values in Job parameter . for ex: jprnum="1","4","sa" and use that job parameter to check the input to see if any of the values exists which is input=jprnum and if exists insert , if not reject the record which is input<>jprnu...
- Mon Mar 28, 2011 8:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Conversion
- Replies: 3
- Views: 1887