Greg
I think you are correct, this is a good solution for BASIC. How would you do this in SAS?
Another solution is to create a table of days or use a day dimension table. Join this input table to the new day table and count how many records you get by month.
Search found 4605 matches
- Mon Oct 04, 2004 12:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Generate variable output records per input record
- Replies: 12
- Views: 3240
- Mon Oct 04, 2004 10:10 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Attempted WRITE with NULL record ID
- Replies: 4
- Views: 1358
Jobs which have warnings finish with a different status code than jobs without warnings. This is so you can trap warnings and stop processing if necessary. If you add a contraint on the output link that says not(IsNUll(link.col)) then this will stop trying to write these records out therefore no mor...
- Sun Oct 03, 2004 11:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DSD.RUN - asynchronous
- Replies: 1
- Views: 653
- Tue Sep 28, 2004 10:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Universe Table
- Replies: 6
- Views: 2106
- Tue Sep 28, 2004 8:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Deleting rows from a hashfile using basic
- Replies: 6
- Views: 2929
DELETE FROM H_XOL_DENORM WHERE PARTITION_ID = 1
Should work. What is your error message?
Try
Code: Select all
LIST DICT H_XOL_DENORM
Make sure this hash file has all the dictionary items.
- Tue Sep 28, 2004 5:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Universe Table
- Replies: 6
- Views: 2106
The hash files used by DataStage mostly start with "DS" like DS_JOBS, DS_JOBOBJECTS and DS_METADATA. The files which start with "RT" like RT_CONFIG109 and RT_STATUS1078 are associated with jobs. Each job is assigned a surrogate key called a job number. This job number is concatenated to the RT file ...
- Tue Sep 28, 2004 5:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Deleting rows from a hashfile using basic
- Replies: 6
- Views: 2929
You can use SQL DELETE to delete these records. No need to write BASIC. You can use ExecTCL to issue the command. If you really want to know what this program is doing then I will explain it. The VOC is the Universe equivalent of a system table. A F in field 1 of a VOC record is called an F pointer ...
- Tue Sep 28, 2004 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Ascential Data Concept tools
- Replies: 4
- Views: 1953
- Mon Sep 27, 2004 11:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML in 6.x
- Replies: 10
- Views: 2898
- Mon Sep 27, 2004 2:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count incoming and outgoing rowsusing datastage
- Replies: 8
- Views: 10837
- Mon Sep 27, 2004 7:14 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML in 6.x
- Replies: 10
- Views: 2898
- Fri Sep 24, 2004 3:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to use HFC
- Replies: 5
- Views: 2134
If you are using DYNAMIC hash files then you do not need to size them except to garbage collect. They are the default hash file type. You should have a minimum modulo on all large dynamic hash files. ANALYZE.FILE MyHashFile will tell you the current modulo. The performance gain for doing other hash ...
- Fri Sep 24, 2004 3:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML in 6.x
- Replies: 10
- Views: 2898
- Fri Sep 24, 2004 8:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Scheduling
- Replies: 2
- Views: 1139
Before some of the new features in DataStage these tools would ftp a file, wait for it to finish, start a DataStage job, wait for it to finish and then ftp the new DataStage file to some other machine. That is still not too easy in DataStage without a shell script. These tools are great at coordinat...
- Fri Sep 24, 2004 8:33 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to Clear a Hashed File Outside of Datastage Job?
- Replies: 37
- Views: 15718