Search found 4605 matches

by kduke
Tue Feb 09, 2016 12:41 am
Forum: General
Topic: sequence job failure
Replies: 16
Views: 7826

Ray

I never needed it in a loop before so I hadn't tried it but it would work. All you have to do is add loop value to the touch filename and it would work perfect.
by kduke
Mon Feb 08, 2016 7:01 pm
Forum: General
Topic: sequence job failure
Replies: 16
Views: 7826

Does not work within loops.
by kduke
Sat Feb 06, 2016 11:28 am
Forum: General
Topic: dsjob -ljobs with invocation id
Replies: 3
Views: 3161

You can do it in a DataStage routine. There is a property to tell if a job is multiple instance. There is a call to ask for all the instance ids. Do a search. I think this solution has been posted.
by kduke
Sat Feb 06, 2016 11:20 am
Forum: General
Topic: Calling Server routine from Sequence Job with empty params
Replies: 3
Views: 2725

Arg2 = ''

Is an empty string. Not sure what you are really needing. You cannot leave an argument off when calling a routine.
by kduke
Sat Feb 06, 2016 11:14 am
Forum: General
Topic: Stage descriptions lose CR when jobs are reopened
Replies: 3
Views: 2335

Paul is correct. Cutting and pasting into Designer from Windows is a hit or miss issue. I have seen it break jobs. Underneath the covers in Universe char(13) and char(11) get mixed up with @FM. I have actually fixed these jobs by editing records in DS_JOBS and DS_JOBOBJECTS which I would never recom...
by kduke
Sat Feb 06, 2016 11:01 am
Forum: General
Topic: sequence job failure
Replies: 16
Views: 7826

That is part of what I meant Andy. Check-pointing plus automatic handling and the job property settings need to be set properly so DataStage does not handle where to start next run. All that is handled by files. One file per job. You can create these in the sequence after a job runs successfully wit...
by kduke
Fri Jan 29, 2016 12:32 pm
Forum: General
Topic: sequence job failure
Replies: 16
Views: 7826

The best way to accomplish what you want is what we call touch files. So have a folder we put a sequential file in after each job runs successfully. Each file in a sequence is assigned a file. All files in a sequence start with the same name. All restartability is turned off. So if this file exists ...
by kduke
Thu Jan 21, 2016 7:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dynamically select the column at runtime
Replies: 10
Views: 4874

You could do it with a CASE statement and a job parameter.
by kduke
Thu Jan 14, 2016 10:39 pm
Forum: General
Topic: Datastage jobs folder organization
Replies: 4
Views: 2936

A project is usually one target. Jobs within that project are grouped by source. Usually one source is within one sequence. So the jobs are grouped by sequence. A master sequence may pull from a buncjh of sources but this is the way I do it most of the time.
by kduke
Tue Jan 05, 2016 2:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Any feature to create html output
Replies: 7
Views: 6005

I had a routine in EtlStats which did what Ray describes. I don't think it works in newer versions. If you are outputting to a sequential file then you can concatenate all columns into one column. Then you could build a html header and footer record from a row generator then output all to a funnel s...
by kduke
Fri Jan 01, 2016 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import multiple table definitions using orchdbutil
Replies: 3
Views: 4029

That is the one. Nice work Craig.
by kduke
Wed Dec 30, 2015 11:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import multiple table definitions using orchdbutil
Replies: 3
Views: 4029

Why not take a full export which I assume you do nightly and use the Perl script to cut exports into files and modify it to do table definitions. Do a search for it.It cuts out jobs into one dsx per job. I am sure you can get what you need this way.
by kduke
Wed Dec 23, 2015 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: finding XSD for an xml export
Replies: 3
Views: 4343

I did a Google search and found one posted. Not sure what I did with it. If I find it I will post it.
by kduke
Sun Dec 06, 2015 4:55 pm
Forum: General
Topic: uvsh / dssh question
Replies: 9
Views: 3720

It is a way to pull folder names. It may be a way too get \\NEXTJOBNUM. Not sure without trying it.
by kduke
Thu Nov 26, 2015 7:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: about RCP
Replies: 3
Views: 2458

I totally agree with Ray. It confuses more people than it helps anybody. At some point you need to turn it off anyway to drop all columns not going to the target.