Search found 1274 matches

by jwiles
Fri Feb 22, 2013 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 11
Views: 4451

And there's really no need pad at all. The Date Format Strings fully support variable width month and day values. %m and %d instead of %mm and %dd.

Regards,
by jwiles
Thu Feb 21, 2013 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe Column S9(9) COMP field to read 0 from Flat file
Replies: 6
Views: 2089

Franklin is correct in that the type of integer reflects the storage space it requires. In this case, it is based upon the number of digits in the COBOL PIC(#) COMP clause. 1-4 digits (PIC 9(1) - 9(4) COMP) is a SmallInt (2-bytes) 5-9 digits (PIC 9(5) - 9(9) COMP) is an Integer (4-bytes) 10-18 digit...
by jwiles
Thu Feb 21, 2013 11:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date conversion
Replies: 11
Views: 4451

What have you tried and what level of success have you met with?

Look into the Type Conversion functions available in the transformer stage, or the Type Defaults options (or Column-level options) in the sequential file stage.

Regards,
by jwiles
Thu Feb 21, 2013 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create Fixed Flat file with hexadecimal values
Replies: 5
Views: 2107

Just to help avoid confusion for the OP: my suggestion is implemented in the target sequential file stage, where the multiple readers per node option is not available (it's active only when seqfile is used as a source).

Regards,
by jwiles
Wed Feb 20, 2013 11:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Create Fixed Flat file with hexadecimal values
Replies: 5
Views: 2107

In the sequential file stage, use the Out_format or C_format options for the column(s) you wish to output in hex format, providing an appropriate C-style format string. Here's a list if you're not familiar with them. I would recommend either %x or %X to begin with, and you can adjust them from there...
by jwiles
Tue Feb 19, 2013 11:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Improve compilation speeds on 8.7
Replies: 4
Views: 4060

1) Reduce the number of transformers in the jobs--each one is a separate compilation process 2) Turn down compiler optimization options so the compiler spends less time trying to optimize transformer executable code 3) Get a bigger/faster machine to compile on :) I don't recall the options to set fo...
by jwiles
Tue Feb 19, 2013 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_CombinedOperatorController()
Replies: 2
Views: 1807

Place the IsNull() and Trim() calls in separate if expressions:

Code: Select all

If IsNull(source) then default_value 
else if Trim(soure)='' then default_value 
else source
Regards,
by jwiles
Mon Feb 18, 2013 4:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Job Stuck for several hours before completion
Replies: 3
Views: 4711

Did you simply disable the part/sort options in the stage (leaving no sorting/repartioning in the job), or did you replace them with a separate sort stage? Does your config file specify the correct scratch and dataset storage locations? Are the stats you just provided from AFTER the changes you made...
by jwiles
Sat Feb 16, 2013 11:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Job Stuck for several hours before completion
Replies: 3
Views: 4711

Two things come to my mind: 1) Your lookup outputs nearly 200 times the number of source records and more than 200 times the data volume. Is this expected and is it correct? 2) The job is sorting the data prior to writing the output dataset (shown in your OSH) Most likely, the job is "stuck&quo...
by jwiles
Fri Feb 15, 2013 12:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date comparision (greater than or less than)
Replies: 6
Views: 3583

123gopal: To echo Ray's question, why? ICONV and OCONV would require the use of a BASIC transformer, potentially affecting performance if this parallel job.

Pavan, can you provide the actual derivations you have written?

Regards,
by jwiles
Fri Feb 08, 2013 3:46 pm
Forum: General
Topic: Datastage Dev and Production Projects in Same Environment
Replies: 3
Views: 1618

1) Yes, it can be done. From a DS perspective, it's just another project 2) Yes. 3) That will depend upon your process design...is the project name used within the jobs and other objects in the project? 4) Some Potential Issues: a - Developers editing/compiling/testing jobs will compete for resource...
by jwiles
Mon Feb 04, 2013 9:26 pm
Forum: General
Topic: Run datastage job and print complete log with one command
Replies: 2
Views: 1827

You could script it so that it appears as a single command to your process

Regards,
by jwiles
Fri Feb 01, 2013 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Schema file error
Replies: 13
Views: 9104

Look into the "zoned" option of the decimal datatype...you can find it's description in the IS Information Center.

Regards,
by jwiles
Wed Jan 30, 2013 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TIME ZONE
Replies: 1
Views: 1229

Have you looked at the Date and Time functions available in your version of DataStage to see what might appear to be appropriate?

Regards,
by jwiles
Mon Jan 28, 2013 11:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cobol date format
Replies: 5
Views: 2331

You should ask the data provider for the specifics on how the date is formatted. Lacking that information, is the value in your example the only value you have encountered, or are there other values which you can examine to determine a pattern? Also, look at what the date is supposed to represent: B...