Search found 197 matches

by crouse
Thu Dec 18, 2008 6:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert EBCDIC (binary data PIC S9(4) COMP) to ASCII
Replies: 17
Views: 12300

but if you're using CFF stage like the additional note says, it will do the unpacking for you if your copy book (input meta data for the CFF stage) is defined correctly. If you decide to do it via the routine, remember it takes up more room (more bytes) unpacked than packed (I guess I just stated th...
by crouse
Wed Dec 17, 2008 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF and merging records back together
Replies: 4
Views: 1491

it will work, trust me, and read vincent's post
by crouse
Wed Dec 17, 2008 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF and merging records back together
Replies: 4
Views: 1491

if what you're after is generating a surrogate key, much like @INROWNUM, but in PX... do a search for surrogate key generation (not using the surrogate key stage) and a poster of "vmcburney". Look for the post that uses a stage variable and pay close attention to the initial value setting ...
by crouse
Thu Nov 20, 2008 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to write a unix condition
Replies: 13
Views: 5039

Is that some mountain range on the east coast?
by crouse
Wed Nov 12, 2008 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Retaining single quotes in passed parameters?
Replies: 6
Views: 7426

In Version 7.x (and your version of 8.x it sounds like) you need to "escape" your quotes. The value of the job parm would be: "Select to_char(APPCT_DATE,\'YYYYMMDD\') from X22.TABLE_NAME" This will work at runtime. If you do a "view data", you need to remove the backsla...
by crouse
Tue Oct 28, 2008 1:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Plug-in stage registration
Replies: 6
Views: 2452

See if you can see the stages in Designer in the Repository\StageTypes\Parallel\Processing.

If you can see it there, try dragging it onto a job design. If that works, you can also drag it over to a category on the Palette (where you'd usually see it)

-Craig
by crouse
Fri Oct 03, 2008 4:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deadlock error = job status OK
Replies: 5
Views: 4031

Ask your DBA for the trace file that has info about the deadlock. When we have the issue, we're encountering a lot of sessions competing for the same area where the primary key is managed in the database. In Oracle you can increase INITRANS for the PK from the default (2) when the table is created ....
by crouse
Mon Sep 29, 2008 5:18 pm
Forum: General
Topic: Migrating DataStage resources...a sort of poll
Replies: 20
Views: 8483

Hey Ernie, Currently using Version Control (VC) exclusively for migration from dev -> qa -> ua -> prod, and indicate to VC to compile after promoting the code. In preparation for 8.x and no VC (sigh), we are developing a work flow using CVS for code control and moving/managing only code, no executab...
by crouse
Thu Sep 18, 2008 3:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deadlock detected while updating oracle table
Replies: 11
Views: 7752

I've had the same issue lately and DBA's are stumped. INITRANS are increased on the table and the index. With commit set at 5000 and 4 nodes, always have the issue. I've set commits to 4, then to 10 and it keeps running ok. It seems to be a matter of keeping sessions on the nodes out of each other's...
by crouse
Mon Sep 15, 2008 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Continuous Surrogate key generation for multiple runs
Replies: 7
Views: 4329

Be careful using database sequences in PX jobs... sooner or later they WILL be the slowest link in your job(s), and could slow the job(s) down significantly.
by crouse
Mon Aug 11, 2008 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Connect to Oracle
Replies: 3
Views: 2864

Does DataStage use the tnsnames.ora file that you added the hosts to?

The tnsnames.ora file must be the proper place under $ORACLE_HOME as set in dsenv, or else declare via $TNS_ADMIN in dsenv.

-Craig
by crouse
Mon Aug 11, 2008 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Connect to Oracle
Replies: 3
Views: 2864

Does DataStage use the tnsnames.ora file that you added the hosts to?

The tnsnames.ora file must be the proper place under $ORACLE_HOME as set in dsenv, or else declare via $TNS_ADMIN in dsenv.

-Craig
by crouse
Thu Jul 31, 2008 6:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to process a sequential file containing quotes.
Replies: 15
Views: 49782

I don't believe it's ever worked in Server version either. Still doesn't on 7.5.2
by crouse
Wed Jul 16, 2008 12:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find the max of a Timestamp field
Replies: 8
Views: 11439

Use the TimetFromTimestamp function to convert the timestamp to a number, then run through agg to get max, then use TimestampFromTimet to convert it back to the timestamp. Need to mess with conversion using DecimalToDfloat, I think, in order avoid a warning at runtime, since the agg expects the colu...
by crouse
Tue Jul 15, 2008 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting Datasets
Replies: 10
Views: 3912

Ray, the poster needs to delete datasets from a script. :wink: