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,
Search found 1274 matches
- 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
- 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...
- 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
- 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
- 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...
- 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...
- 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:
Regards,
Code: Select all
If IsNull(source) then default_value
else if Trim(soure)='' then default_value
else source
- 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...
- 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
- 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
- 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...
- Mon Feb 04, 2013 9:26 pm
- Forum: General
- Topic: Run datastage job and print complete log with one command
- Replies: 2
- Views: 1827
- 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,
Regards,
- 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
- 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...