Search found 4992 matches

by kcbland
Tue Aug 22, 2006 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfering a file from Windows to UNIX and loading metadata
Replies: 8
Views: 1979

Sure the first line is column names, but how does DataStage know how many columns and how wide each column is? You're going to have to type in each column name and set the width. Or, switch to a delimited file.
by kcbland
Tue Aug 22, 2006 12:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Parameters Vs Environment variables
Replies: 8
Views: 7465

I personally don't like environment variables because when developing the jobs the "View Data" capability is severely limited. You can use defaults embedded in the job. It just makes life more difficult. It's a good thing if you're not using hardcoded values for things like credentials and paths, bu...
by kcbland
Tue Aug 22, 2006 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DRS Vs ODBC Stage
Replies: 7
Views: 1399

splayer wrote:ray, how do you set DRS to use the native API?
By choosing Oracle, DB2, Sybase, etc.
by kcbland
Tue Aug 22, 2006 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple links to the same file in one job
Replies: 6
Views: 1526

If you intention is an UNION ALL type result of links, the Funnel is the stage you use. If you're joining, consider the Join, Merge, or Lookup stages.
by kcbland
Tue Aug 22, 2006 9:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Truncates While Writting to DB(SQL Server)
Replies: 14
Views: 6468

What is the purpose of the Transformer stage? Can you add a Sequential output and verify the results are correct?
by kcbland
Tue Aug 22, 2006 9:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Missing StringID in UNIX
Replies: 3
Views: 772

Try putting eval in front of the command line for dsjob. In some environments weird things happen, this seems to fix it. eval /opt/dsadm/Ascential/DataStage/DSEngine/bin/dsjob \ -server $Server \ -user $User \ -password $Pwd \ -run \ -param WorkDir=$WorkDir \ -param FileDate=$FileTS \ -param var1=$n...
by kcbland
Tue Aug 22, 2006 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MS SQL Server Load stage equivalent in PX in UNIX??
Replies: 7
Views: 2840

You create the load file on your PX Unix server. Then, FTP to the SQL-Server machine and use ssh or remsh to kick off a remote bulk load execution.
by kcbland
Tue Aug 22, 2006 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replace
Replies: 10
Views: 2759

If you mean replace everything in front of the first "-" with something else. I think you have a few choices. One is using the FIELD function. The other is to use the INDEX function and substring notation. Write a DS Function and test both of these: Ans="XYZ":"-":FIELD(Arg1,&...
by kcbland
Tue Aug 22, 2006 9:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with DSExecute
Replies: 3
Views: 632

I don't think your syntax for getopts is correct. You can verify this by echo'ing $0, $1, $2, $3 to see command line arguments passed. You'll see that your command line contains the date.
by kcbland
Tue Aug 22, 2006 7:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with DSExecute
Replies: 3
Views: 632

What's the EXACT command line string you are passing?
by kcbland
Mon Aug 21, 2006 7:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remote Command Tools?
Replies: 9
Views: 4352

REMSH, RSH, RLOGIN, SSH, SCP. Check out these commands, as they are available on both Windoze and Unix implementations. You can remote shell login to a server, run a command locally on that machine, and then exit. For secured environments, SSH and SCP are what you could use. For SSH and SCP, you can...
by kcbland
Mon Aug 21, 2006 7:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logical Nodes vs Number of Partitions
Replies: 4
Views: 1465

resource disks are used in the order listed, that's why you could consider configuring several file systems and listing them in a shuffling order as you progress thru the nodes. So, if you have 6 nodes and 6 file systems, list them in order 1-6 on node 1, 2-6 then 1 on node 2, 3-6 then 1-2 on node 3...
by kcbland
Wed Aug 16, 2006 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count records of hashed file in a routine
Replies: 12
Views: 3665

If the hashed file is externally pathed, you'll need to write a function to open the file and count the records or use the SETFILE command to created a pointer to it and then use kris007's method. If the hashed file is in the project, you can use kris007's method. To read the hashed file, you'll wri...
by kcbland
Mon Aug 14, 2006 9:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Server Connection
Replies: 8
Views: 1958

Set up the ODBC connection, make sure you use a hostname and not an IP if your SQL-Server is on a DHCP assigned machine. Also, you need the port number as well, very important.
by kcbland
Sun Aug 13, 2006 8:14 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: how to count number of records in source file
Replies: 13
Views: 8603

Scurry off Craig. Take your almost 7000 posts on this site and crawl back into your hole. You and the rest of the so-called "Premium Posters" don't rule here. Beat it, and don't let the door swing back and crack you where God split you. Your mother was a hamster, and your father smelt of elderberrie...