Search found 15603 matches

by ArndW
Tue Aug 07, 2007 12:44 am
Forum: IBM<sup>®</sup> DataStage TX
Topic: unix shell script to schedule a data stage job
Replies: 3
Views: 3467

You don't need a whole script, just use cron to start the DataStage job via the dsjob command.
by ArndW
Mon Aug 06, 2007 10:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: less rows from lookup
Replies: 19
Views: 3915

I am not sure where the hashed file fits in. But which lookup is not working and can you identify a row which should be found in the lookup but is not?
by ArndW
Mon Aug 06, 2007 10:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way Cobol program on MF to Kick off Datastage Job
Replies: 6
Views: 1817

No, that cannot be done from COBOL; but you should be able to do what about issuing a rsh from the JCL calling the program?
by ArndW
Mon Aug 06, 2007 4:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting months in to date
Replies: 12
Views: 3094

siva4joy - could you give some samples of the data, perhaps a programmed function might not be necessary
by ArndW
Mon Aug 06, 2007 4:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting the Director list of executed jobs
Replies: 10
Views: 2184

The routines you need are DSAttachJob() , DSGetJobInfo() and DSDetachJob() . I would prefer doing completely custom code but you could write a job that reads the DS_JOBS hashed file and for each entry uses the calls listed above to get information about the runs status of jobs and their instances.
by ArndW
Mon Aug 06, 2007 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: gunzip usage
Replies: 13
Views: 4017

Thanks iDomz!
by ArndW
Mon Aug 06, 2007 2:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conditional job processing based on a reject file
Replies: 1
Views: 615

You need to do this from a Job Sequence, as you are making decisions about which jobs to call. You can make the condition simple in the Job Sequence (i.e. execute a wc -l on the reject file to get the number of lines)
by ArndW
Mon Aug 06, 2007 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert Binary datatype to character
Replies: 2
Views: 915

What format is the binary data? You need to know that in order to apply a conversion making the data legible.
by ArndW
Sun Aug 05, 2007 2:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: gunzip usage
Replies: 13
Views: 4017

Combine Craig's find options and replace his -print option with what I posted earlier "-exec gunzip {} \;" and you will have something that works for you. But you really should read up on UNIX, particularly how pipes, redirection and command lines work since this is fundamental to working in that en...
by ArndW
Sun Aug 05, 2007 2:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: shell script execution on datastage server
Replies: 4
Views: 2349

You can execute a CMD shell command on your windows server, and from that you can execute a rsh command to your UNIX server; assuming you have installed a tool like MKS toolkit or similar package.
by ArndW
Sat Aug 04, 2007 12:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: gunzip usage
Replies: 13
Views: 4017

kum_d - you are not passing the filename to the gunzip command, you are passing a string (containing the file name) to gunzip, which is detecting that the string is not compressed. What happened when you tried to use the find command I suggested?
by ArndW
Fri Aug 03, 2007 10:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Diferences between 7.1 and 7.5
Replies: 3
Views: 1005

No, the User Variable stage in Job Sequences has no counterpart at 7.1
by ArndW
Fri Aug 03, 2007 10:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: gunzip usage
Replies: 13
Views: 4017

gunzip is trying to interpret stdin (your list of files) as a compressed stream so it cannot unzip it. I am not at a UNIX box right now, but would recommend you use the find command, but I don't know the options from memory for selecting the appropriate single file, but the command would read someth...
by ArndW
Fri Aug 03, 2007 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The job is extremely slow after join
Replies: 5
Views: 1276

I had no idea that $1 works in a transform stage. What value gets used?
by ArndW
Thu Aug 02, 2007 8:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The job is extremely slow after join
Replies: 5
Views: 1276

Put a HandleNull() call in the derivations where you TRIM data that might be null and where you don't want it to be. Or a simple

Code: Select all

IF IsNull(In.Col) THEN SetNull() ELSE TRIM(In.Col)