Search found 4605 matches

by kduke
Tue Nov 22, 2005 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using hash files instead of UV tables for multirow
Replies: 13
Views: 16020

I think it should be:

Code: Select all

LOCATE FindDate IN TimeVariantStartDates<1> BY "DL" SETTING Position Then 
   Found = @TRUE
End


And it works great if done right.
by kduke
Mon Nov 21, 2005 7:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Capture File Name from Sequential File Stage
Replies: 22
Views: 7339

select EVAL DS_JOBOBJECTS."@RECORD<6>" AS FILE_NAME FMT '45L', DS_JOBS.NAME AS JOB_NAME FMT '35L', DS_JOBOBJECTS.NAME AS LINK_NAME FMT '35L' from DS_JOBOBJECTS, DS_JOBS where DS_JOBOBJECTS.OLETYPE in ('CSeqOutput','CSeqInput') and DS_JOBOBJECTS.OBJIDNO = DS_JOBS.JOBNO group by FIL...
by kduke
Sun Nov 20, 2005 1:12 pm
Forum: Site/Forum
Topic: New Forum
Replies: 11
Views: 5894

Ray

We were promised notes for the first class. What happened? I know you are not busy or anything.
by kduke
Fri Nov 18, 2005 7:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine
Replies: 4
Views: 1245

Run this routine in test mode. Normally the value has either CrLf or @FM in it. You need to do more than Ans = Trim(Output) to make it a number. When testing add some print statements like: print num(Trim(Output)) print dcount(Trim(Output), @FM) I would think it probably needs to be Ans = Trim(Outpu...
by kduke
Fri Nov 18, 2005 6:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to get data from databrowser for Universal Local UV
Replies: 9
Views: 3198

This should work. What does it do? You should be able edit the COMO file

ED &COMO& BUILD.LOG
by kduke
Thu Nov 17, 2005 6:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing different Project info from existing project
Replies: 9
Views: 1880

Ray

It did not work for me either. Ds7.5.1A
by kduke
Wed Nov 16, 2005 4:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkInfo - with Link Variables
Replies: 5
Views: 2310

This routine does not work this way. If you look into the dsinclude directory in your project. Edit JOBCONTOL.H. Deffun DSGetLinkInfo(JobHandle, StageName, LinkName, InfoType) * Possible Link InfoType tokens: Equ DSJ.LINKLASTERR To 1 ;* Last error message reported from the link Equ DSJ.LINKN...
by kduke
Wed Nov 16, 2005 4:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing different Project info from existing project
Replies: 9
Views: 1880

8)

Nice one, Ray. Learn something all the time.
by kduke
Wed Nov 16, 2005 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to get data from databrowser for Universal Local UV
Replies: 9
Views: 3198

Ray is correct. You can do the same in BASIC routine.Your select needs to be all on one line. You can open "&UFD&" and read the script in that way.
by kduke
Wed Nov 16, 2005 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to get data from databrowser for Universal Local UV
Replies: 9
Views: 3198

localuv exists without having to create it. You can use this as a DSN and ODBC with Universe itself but it does not work as an external ODBC connection.

What is the reason you copied it into the VOC?
by kduke
Wed Nov 16, 2005 8:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Usage of routin in Job Sequence
Replies: 6
Views: 1155

You need to telnet into your DataStage server and connect to the Universe shell.
by kduke
Tue Nov 15, 2005 7:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Usage of routin in Job Sequence
Replies: 6
Views: 1155

Do a search for TCL commands.
by kduke
Tue Nov 15, 2005 8:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Usage of routin in Job Sequence
Replies: 6
Views: 1155

I have posted this code before. Replace :1 with your routine name in upper case. This is part of EtlStats. You can run this and have it email you the results by running job GenHtmlFromSqlDriver. Parameters: (Take defaults on all but these) SqlScriptsId = DsSearch1.sql SqlDsn = localuv SqlUser = leav...
by kduke
Mon Nov 14, 2005 6:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Alternate to UNIX `grep` in Datastage Basic
Replies: 3
Views: 1947

If you want to find a string then use INDEX() in BASIC. Do a search. How to use INDEX() in BASIC has been covered a lot. You need UPCASE() or DOWNCASE() to make it case insensitive.
by kduke
Sat Nov 12, 2005 7:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Command Stage giving Error
Replies: 7
Views: 1312

If you are using parameters to feed to the bat file then it is broken.