Search found 6797 matches

by DSguru2B
Wed Aug 16, 2006 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Append date with file
Replies: 30
Views: 4442

Wow, this topic is still alive. And after all this time you tell us its unix. Well, it happens :)
If its unix then you dont even need a routine. Just append the date to the file by running afterjob subroutine 'Execsh'

Code: Select all

mv yourfile.txt yourfile_`date +"%Y%m%d"`.txt
by DSguru2B
Wed Aug 16, 2006 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Files Creation
Replies: 11
Views: 3161

how many lines does the header occupy
You can do a head -2, store it in a file and at the end, right after the creation of the sub files, concatenate them.
by DSguru2B
Wed Aug 16, 2006 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 4275

This is a simple lookup keyed on a single key with an extra condition that can be accomodated in the contraint. You constraint will look something like NOT(LookupLink.NOTFOUND) AND ICONV(dt_record,"D/MDY[2,2,4]") >= ICONV(dt_start,"D/MDY[2,2,4]") AND ICONV...
by DSguru2B
Wed Aug 16, 2006 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting Char to date
Replies: 3
Views: 907

Is this a PX or Server questioin. The forum type and job type contradict each other. Your data seems to be in binary format. Use one of the built in functions to convert it into ascii. Search the forum for a few such functions. Also confirm the job type as your answer will vary depending upon the jo...
by DSguru2B
Wed Aug 16, 2006 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delta processing
Replies: 11
Views: 3174

A couple of etiquettes that need to be kept in mind. First of all you have posted in the wrong forum. We have absolutely no idea what job type it is, what version of datastage you are using and what is your OS type. Answer to your query will vary depending upon the above. Secondly, please do not use...
by DSguru2B
Wed Aug 16, 2006 12:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Nested_Condition Stage in a sequence
Replies: 6
Views: 1293

I dont have access to DataStage currently but isnt it suppose to be $ReturnValue that you choose by right clicking on the window expression.
:?: :?: :?:
by DSguru2B
Wed Aug 16, 2006 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BAPI STAGE USAGE
Replies: 2
Views: 916

What format is that file in. If its a delimited file then surely you can read it using the sequential file stage. You can also use the power of unix to make the file in a standard readable format so that datastage can pick it up.
by DSguru2B
Tue Aug 15, 2006 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Controller Problem
Replies: 4
Views: 760

If its a controller problem then its something else. Try making a copy of that sequence job and deleting the original one. Run the copy. Follow the log in the director and see what exactly happens.
BTW, its not a sequencer, its a sequence job. A sequencer is merely a stage inside a sequence job.
by DSguru2B
Tue Aug 15, 2006 10:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hash file issue
Replies: 6
Views: 852

Guys guys, you scared the poor guy away. Go easy on him :wink:
by DSguru2B
Tue Aug 15, 2006 10:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Server Binary TimeStamp
Replies: 6
Views: 3019

If its coming in as a binary format then i would guess that an ascii conversion is needed before you do any other sort of manipulation. Thats why we need to see your OCONV code as Craig requested to make sure you are doing the binary to ascii conversion.
by DSguru2B
Tue Aug 15, 2006 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Files Creation
Replies: 11
Views: 3161

Sort is needed for the uniq. And uniq is needed for the file names. And yes then the entire record pertaining to that particular Employee willl be loaded to that file which is taken care off by the grep.
by DSguru2B
Tue Aug 15, 2006 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CLI for oracle, informix and SQL server
Replies: 8
Views: 1779

Well there you go. You can access it by doing a little pre-work :wink:
by DSguru2B
Tue Aug 15, 2006 12:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CLI for oracle, informix and SQL server
Replies: 8
Views: 1779

I dont think you can access SQL Server via unix. I might be wrong but as far as i know, you cant.
by DSguru2B
Tue Aug 15, 2006 12:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Files Creation
Replies: 11
Views: 3161

I think uegodawa is right. Try it. I dont have access to unix at the moment, otherwise i would have tested it out for you.
by DSguru2B
Tue Aug 15, 2006 12:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 UDB Bulk Load problem
Replies: 2
Views: 1818

Need more info on what options you are using. Does your id have permissions to write to a named pipe at the unix level?
Try the other option, other than the named pipe, cant remember it off of my head at the moment. See if that works.