Hi,
Are you using Job Mainframe?
In the Job Mainframe constraint you must to define the next conversion
CAST(Campo AS DECIMAL(18, 4) ).
Search found 128 matches
- Thu Jun 17, 2004 2:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Converting numeric data to COBOL Comp-3
- Replies: 3
- Views: 2187
- Wed Jun 16, 2004 11:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Ignore duplicated rows
- Replies: 6
- Views: 2896
Re: Ignore duplicated rows
Hi, If your input is a sequential file you can use stages variables. Define in the transformer stage: Dupli = If (LastField = ActualField) Then 1 Else 0 LastField = If (LastField <> ActualField) Then ActualField Else LastField In the constraint you define the next condition Dupli = 0 In the output f...
- Mon Apr 26, 2004 5:44 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Arraysize
- Replies: 3
- Views: 1820
Re: Arraysize
Hi Raj, You must to considerate 2 items: 1) Read all records using 1 query 2) Use partitioned query using key ranges Depending the choice you will have: 1) The Array size to define will have to be a value that allows to read the greater record number without degrading the process throughout. 2) To c...
- Fri Apr 02, 2004 2:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to change Date format change from YYYY-MM-DD to YY-MM-DD
- Replies: 3
- Views: 1596
Re: How to change Date format change from YYYY-MM-DD to YY-M
Hi, the other way is use substrings
Your format --> 'YYYY-MM-DD'
Value = DateField[2,8]
Example:
'1999-04-02' applying DateField[2,8]
Value='99-04-02'
Saludos.
Your format --> 'YYYY-MM-DD'
Value = DateField[2,8]
Example:
'1999-04-02' applying DateField[2,8]
Value='99-04-02'
Saludos.
- Tue Mar 16, 2004 4:46 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: JCL Sort in JobMainframe
- Replies: 0
- Views: 912
JCL Sort in JobMainframe
Hi Forum, I running a job that obtain the max of a field, i use an Agregator, are three numeric fields (integers, total length is 12) I define the 2 fields agrouped and the third is the max, my question is ... If this is the jcl template for the sort definition ... //********************************...
- Wed Jan 28, 2004 1:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Any other option to minimise look ups
- Replies: 4
- Views: 1569
Re: Any other option to minimise look ups
Hi, Another way is create a query that contain almost lookups that you need. >For example: select cod_cli, cod_cta, cod_tip from client_table select cod_tip, des_tip from cat_tip in your query join both tables: select a.cod_cli, a.cod_cta, a.cod_tip, b.des_tip from client_table a, cat_tip b where a....
- Fri Dec 05, 2003 11:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How implement a dataset join using Job Mainframe
- Replies: 2
- Views: 883
- Thu Dec 04, 2003 11:26 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How implement a dataset join using Job Mainframe
- Replies: 2
- Views: 883
How implement a dataset join using Job Mainframe
Hi,
How use a Job Mainframe to make a search between 2 datasets. ..
DataSet1
|
| (search) ---> DataSet Output
|
--> DataSet2
What stage is recommended to make this.
Thanks.
How use a Job Mainframe to make a search between 2 datasets. ..
DataSet1
|
| (search) ---> DataSet Output
|
--> DataSet2
What stage is recommended to make this.
Thanks.
- Thu Nov 27, 2003 11:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to have Multiple Line Condition in a routine?
- Replies: 9
- Views: 4551
- Thu Nov 27, 2003 10:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete rows using datastage
- Replies: 4
- Views: 5319
Re: Delete rows using datastage
Hi Yiming,
What kind of database use???
Can you explain how is and work your job ???
What kind of database use???
Can you explain how is and work your job ???
- Tue Nov 18, 2003 3:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How many job are in the project?
- Replies: 2
- Views: 1158
How many job are in the project?
Hi forumers ....
With the next UNIX command obtain the number of jobs:
> dsjob -ljobs MyProject | wc -l
But the result is only the server jobs ...
How obtain the total number of jobs in my project (server and mainframe) ?????
With the next UNIX command obtain the number of jobs:
> dsjob -ljobs MyProject | wc -l
But the result is only the server jobs ...
How obtain the total number of jobs in my project (server and mainframe) ?????
- Fri Nov 14, 2003 10:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Multiple Instances on Server
- Replies: 3
- Views: 1362
Re: Multiple Instances on Server
Hi Zam
In the jobname you add the '.' and the Identificacion of the instance
> dsjob -run -mode NORMAL -warn 0 -rows 0 MyProject MyJob.Id
(where Id is the variable part)
In the jobname you add the '.' and the Identificacion of the instance
> dsjob -run -mode NORMAL -warn 0 -rows 0 MyProject MyJob.Id
(where Id is the variable part)
- Fri Nov 14, 2003 10:15 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Final output in a file greater than 2GB size
- Replies: 7
- Views: 1844
Re: Final output in a file greater than 2GB size
Hi Pinkesh,
In your job you can define 2 links, in the first link use as constraint INROWNUM < 100000 and the second INROWNUM > 100000
(These values are referencials, you have to define the real range)
After, you can use both files as input to the other process.
In your job you can define 2 links, in the first link use as constraint INROWNUM < 100000 and the second INROWNUM > 100000
(These values are referencials, you have to define the real range)
After, you can use both files as input to the other process.
- Thu Nov 13, 2003 4:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Permissions to schedule a job as a non administrator user
- Replies: 5
- Views: 2503
Re: Permissions to schedule a job as a non administrator use
Hi Peter
If the user belongs to a group defined as Developer you dont have be problems.
Check if you have the adequate permissions to invoke the at and cron commands in UNIX.
If the user belongs to a group defined as Developer you dont have be problems.
Check if you have the adequate permissions to invoke the at and cron commands in UNIX.
- Thu Nov 13, 2003 10:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with sorting 14M records
- Replies: 8
- Views: 2063
Re: Problem with sorting 14M records
Hi Pinkesh
You can use the unix sort is more eficient than the datastage sort ...
In the unix command you can redefine the temporary area sort with the option -T
> sort -T /home/temp ......
:D
You can use the unix sort is more eficient than the datastage sort ...
In the unix command you can redefine the temporary area sort with the option -T
> sort -T /home/temp ......
:D