Search found 219 matches

by ds_developer
Mon Aug 13, 2007 3:50 pm
Forum: General
Topic: Handling Packed PIC S9(7) COMP-3 field in CFF stage
Replies: 4
Views: 2122

My bad :oops: . I was focusing on the field the data would go into, not what it was in the file. Sorry if I mislead anyone.

John
by ds_developer
Mon Aug 13, 2007 9:40 am
Forum: General
Topic: Handling Packed PIC S9(7) COMP-3 field in CFF stage
Replies: 4
Views: 2122

It sounds like your datatype is wrong to me. A PIC 9 would be an integer, not binary. In the subject you say PIC S9(7) which is a signed integer seven long. In the body you say PIC 9(10) which is an integer 10 digits long. You need to decide which it is and change the CFF layout accordingly.

John
by ds_developer
Thu Aug 09, 2007 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to convert Dacimal to Packed Decimal
Replies: 10
Views: 3271

... back to the original question. I have yet to find the transform function I had for writing a packed decimal field. I will continue looking. Does anyone else have any help?

John
by ds_developer
Thu Aug 09, 2007 10:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job does not run under
Replies: 6
Views: 1734

I have seen something like this happen if the &PH& directory is not periodically cleaned out. Search the forum for the right way to do it.

John
by ds_developer
Wed Aug 08, 2007 11:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to convert Dacimal to Packed Decimal
Replies: 10
Views: 3271

Yes, Craig. The CFF stage can be used as a target in a parallel job.

John
by ds_developer
Wed Aug 08, 2007 9:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to convert Dacimal to Packed Decimal
Replies: 10
Views: 3271

Just a couple of clarifications: 1. the CFF stage cannot be used as a target in the Server edition - it does not support input links. 2. you can write a packed decimal using the sequential file stage, but it will involve a DS Transform call or a routine. I've done it before but I don't have the code...
by ds_developer
Tue Aug 07, 2007 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to convert mm/dd/yyyy hh:mm:ss into CCYYMMDD
Replies: 6
Views: 1953

You could try:

DATE[7,4]:DATE[1,2]:DATE[4,2]

The DATE I am referring to is the name of the date field coming into the transformer.

John
by ds_developer
Thu Aug 02, 2007 2:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential stage should create file only when records exist
Replies: 7
Views: 2841

You could perform something in an After-job subroutine to delete the file if it has 0 bytes.

John
by ds_developer
Mon Jul 09, 2007 4:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error - Licence file not found
Replies: 2
Views: 725

Sounds like a permissions problem to me. What are the permissions on the IVVM.LIC and DDVM.LIC files and the directory they are in? Can the user you log into Manager with get to these files in a telnet session?
John
by ds_developer
Mon Jun 11, 2007 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Releasing jobs in PX environment
Replies: 6
Views: 3727

You are right, when I highlight a parallel job in Manager the Release Job option is greyed out. When I highlight a server job, it is active. The Package Installer historically was in the Server edition, so I suspect they never upgraded it to install parallel jobs. Your other options are to use the V...
by ds_developer
Wed Jun 06, 2007 11:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: passing date as parameter through sequence
Replies: 5
Views: 1274

I don't use Sequences much, but I would pass everything as a string then use the Oracle TO_DATE function in your query.

John
by ds_developer
Wed Jun 06, 2007 9:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dependencies page in batch job.
Replies: 6
Views: 2482

I can't say exactly for 8x, but in earlier versions, you are trying to use the Dependencies information incorrectly. The 7.5 Server documentation says: The Dependencies page specifies any dependencies that the job has. This is to ensure that, if the job is packaged for use on another system, all the...
by ds_developer
Fri Jun 01, 2007 2:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: table definition
Replies: 9
Views: 7088

What kind of file is it? Can you open it with a text editor like Notepad? From the Import from file dialog box, you can change the file type from *.cfd to *.* then you should at least be able to see it. That's not to say it will be imported properly.

John
by ds_developer
Fri Jun 01, 2007 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Numeric to decimal Data Type problem
Replies: 8
Views: 1890

Where are you putting the data...in a database, in a sequential file? The solution depends on your target.

John
by ds_developer
Fri Jun 01, 2007 12:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: table definition
Replies: 9
Views: 7088

Now I understand. It is looking on your workstation, not on the server. Move the COBOL CFD file to your workstation.

John