Search found 78 matches
- Wed Jul 14, 2010 7:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Get rid of COBOL levels in datastage Data Set column defs?
- Replies: 15
- Views: 16056
- Tue Jul 13, 2010 1:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Get rid of COBOL levels in datastage Data Set column defs?
- Replies: 15
- Views: 16056
Get rid of COBOL levels in datastage Data Set column defs?
I'm creating datastage jobs to land mainframe data in to datastage datasets. I'm reading mainframe data using the Complex Flat File (CFF) transform. I used copybook data files to define columns in the CFF which includes level information. I then produce a datastage data set file which I noticed incl...
- Wed Jun 30, 2010 11:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dynamic DB2 table read to populate dataset?
- Replies: 2
- Views: 1365
- Tue Jun 29, 2010 7:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dynamic DB2 table read to populate dataset?
- Replies: 2
- Views: 1365
Dynamic DB2 table read to populate dataset?
Is there a way to create a generic datastage job to read a database (DB2) table specified as a parameter. Perform a select * from <table_nm>. And then have the columns propagate directly to a <table_nm>.ds dataset? I read about the runtime column propagation setting. Has anyone every used this featu...
- Tue Jun 29, 2010 11:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: CFF Serialized?
- Replies: 0
- Views: 967
CFF Serialized?
I have a datastage parallel job with 4 CFF transform readers set up as sources calling a shell script that performs an NDM file transfer from a mainframe. As additional information... All of the CFFs are being sent through a sort funnel to get a sorted union of all the records. The problem I am expe...
- Mon May 24, 2010 8:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: 'Unit Of Work' commits?
- Replies: 6
- Views: 2832
'Unit Of Work' commits?
I'm working with a client that is relatively new to DataStage and has mainly dealt with COBOL on the mainframe. They are enquiring about the ability of DataStage to mimic the concept of 'Unit of Work'.... Is there a way to package a DataStage job to commit related records to multiple tables? Is ther...
- Wed Apr 21, 2010 2:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NDM as a direct source?
- Replies: 1
- Views: 1417
NDM as a direct source?
Is it possible to implement an NDM call using an External Source or some other means so that the NDM source does not have to be landed before processing? The thought was that if the FTP source is doable, an NDM source would be very similar.
- Fri Mar 27, 2009 6:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File FILE_NAME option
- Replies: 3
- Views: 1236
- Thu Mar 26, 2009 11:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File FILE_NAME option
- Replies: 3
- Views: 1236
Sequential File FILE_NAME option
I would like to have the file name associated with a record added to each record so I can process the records in order. The file name starts with X and has a date time added to the end of the name. When I added the FILE_NAME option and the READ METHOD = File Pattern and set the File Pattern to X*......
- Fri Nov 14, 2008 12:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Difference between 2 timestamps in minutes?
- Replies: 7
- Views: 2988
So... you've added a new field in a transformer for the result of this calculation and made it Numeric 10. What is your derivation? What are the datatypes of the fields used? Correct... I'm not sure if the transformer '-' can be overloaded to use 2 timestamps. The calculation I attempted was a simp...
- Fri Nov 14, 2008 11:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Difference between 2 timestamps in minutes?
- Replies: 7
- Views: 2988
Subtracting two timestamps would give you the difference in seconds, so you'd need to multiply the result by 60 and decide how to handle any fractions. What have you tried so far and what happened when you tried it? Maybe I'm just not declaring the result correctly... I declared it as Numeric 10. I...
- Fri Nov 14, 2008 11:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Difference between 2 timestamps in minutes?
- Replies: 7
- Views: 2988
Difference between 2 timestamps in minutes?
I am attempting to get the difference betwenn 2 timestamps as a result in minutes.
IE: Timestamp1 - Timestamp2 = X minutes (Numeric).
I can do it within the Oracle SQL query, but I'd like to do it within DataStage.
IE: Timestamp1 - Timestamp2 = X minutes (Numeric).
I can do it within the Oracle SQL query, but I'd like to do it within DataStage.
- Wed Jul 19, 2006 9:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating Time_Key from TimeStamp giving Error
- Replies: 4
- Views: 1496
Some examples of values where it succeeds and, particularly, where it fails may aid the diagnostic process! You should be able to capture these via a Peek stage connected to the Transformer stage's Otherwise/Log output. After much pain, I have figured out the cause of the SIGSEGV error. When using ...
- Wed Jul 19, 2006 7:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating Time_Key from TimeStamp giving Error
- Replies: 4
- Views: 1496
- Wed Jul 19, 2006 12:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating Time_Key from TimeStamp giving Error
- Replies: 4
- Views: 1496
Creating Time_Key from TimeStamp giving Error
I'm trying to create an Integer value representing the Time from TimeStamp without seconds. IE: Given a Timestamp of 2006-03-31 01:20:45 I need to create a TIME_KEY equal to 12000. The following works when there are time values > 00:00:00...... If IsNull( to_create_keys.ADMIT_DT) Then -1 Else ((Stri...