Search found 79 matches

by suja.somu
Sun Mar 02, 2014 10:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML join for multiple level complex group
Replies: 2
Views: 1341

Portion of the schema shown below. There are many inputs to the XML stage. I joined all the links successfuly using HJOIN function(Key is Policy_Number). I could map the Roles group through Hjoin with Main input link. Coverage is a subgroup of Roles. I could not map this. I am not able to find where...
by suja.somu
Thu Feb 27, 2014 12:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML join for multiple level complex group
Replies: 2
Views: 1341

XML join for multiple level complex group

I have created a parallel job with a XML output( latest in Version 8.5). I have shown here the level and type of XML join I used . The question here is what type of XML function I need to use to achieve multiple level complex group. ROLES are unbounded element. COVERAGE is also unbounded. For every ...
by suja.somu
Mon Feb 24, 2014 11:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal error: syntax error in "leftouterjoin" opera
Replies: 4
Views: 3715

The sequential files had level number. Sequential files are Mainframe files had level numbers which where imported through Copy book. The level numbers were propagated through out the job. When I removed the level numbers, the error message vanished.
by suja.somu
Mon Feb 24, 2014 11:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_BadAlloc:Heap allocation failed.
Replies: 1
Views: 1870

APT_BadAlloc:Heap allocation failed.

I have a job which reads 6 big seq files , joins , pivots and lookup and then loads to a XML file. While running the job, I get this below error. buffer(14),0: Fatal Error: Caught ORCHESTRATE exception in player process: APT_BadAlloc: Heap allocation failed. What is the cause and solution of this er...
by suja.somu
Mon Feb 24, 2014 6:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal error: syntax error in "leftouterjoin" opera
Replies: 4
Views: 3715

Fatal error: syntax error in "leftouterjoin" opera

When I run the parallel job , the job aborts with a fatal error main_program: Syntax error: Error in "leftouterjoin" operator: Error in output redirection: Error in output parameters: Error in modify adapter: Error in binding: Could not find type: "subrec", line 5391 Could not lo...
by suja.somu
Thu Feb 13, 2014 8:54 am
Forum: General
Topic: Unzip multiple files- DataStage versus UNIX Shell Script
Replies: 4
Views: 1203

You mean say that the efficient way is to write a UNIX shell script and execute through DataStage
by suja.somu
Thu Feb 13, 2014 8:42 am
Forum: General
Topic: Unzip multiple files- DataStage versus UNIX Shell Script
Replies: 4
Views: 1203

Unzip multiple files- DataStage versus UNIX Shell Script

I have a requirement to Unzip multiple files in a directory. files can be of the type PDF or JPEG or txt or csv. The count of files in a directory on daily basis may vary and also size of the files may be huge ( hold million of records). Which is best to use Datastage or Unix Shell script ? need exp...
by suja.somu
Tue Feb 04, 2014 11:27 am
Forum: General
Topic: meaning of DOS command
Replies: 1
Views: 1083

meaning of DOS command

Can anyone explain me the what the below DOS subroutine does?


In Before Job subroutine : EXECDOS

for %I in (D:\APPDATA\VAS\IN\tmcad.txt) do if %~zI==0 (exit 1) else exit 0
by suja.somu
Thu Jan 30, 2014 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion
Replies: 2
Views: 2162

Date conversion

I need to convert the date in the parallel job version 8.5.

Input format : AUGUST 09, 2008
Output format : 2008-08-09

Is there any function to convert this date. Please help.
by suja.somu
Tue Sep 17, 2013 10:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function to extract scale part of a Decimal value
Replies: 3
Views: 2714

Thanks for the input. Closing the post as resolved.
by suja.somu
Sun Sep 15, 2013 10:43 pm
Forum: General
Topic: Different data layout in a single sequential file
Replies: 3
Views: 1685

what are the ways to acheive this ? Could you please explain in detail.
by suja.somu
Sun Sep 15, 2013 10:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function to extract scale part of a Decimal value
Replies: 3
Views: 2714

Function to extract scale part of a Decimal value

source column is a decimal data type of (7,2).

Data in source :

123.34
3456.45
12.45
8.1

Question is: what is the funtion that I can use to extract the scale part of the decimal

as in source



123.34 --> 34
3456.45 --> 45
12.45 --> 45
8.1 --> 1
by suja.somu
Wed Sep 11, 2013 3:59 pm
Forum: General
Topic: Different data layout in a single sequential file
Replies: 3
Views: 1685

Different data layout in a single sequential file

Is it possible to create a single fixed width sequential file from different data layouts?

the data layout are as :
Header record ( 1 record)
Detail records ( multiple records)
trailer record ( 1 record)
by suja.somu
Fri Aug 02, 2013 9:00 am
Forum: General
Topic: Delete statement in Execute command stage
Replies: 7
Views: 2508

As per Rays suggestion to get the command to work, Where can I find the full pathname of the sqlcmd or how to set the path environment variable ?
by suja.somu
Thu Aug 01, 2013 10:12 pm
Forum: General
Topic: Delete statement in Execute command stage
Replies: 7
Views: 2508

Thanks for your reply. I tried to execute the command sqlcmd -S servername -U userid -P pwd delete from DatabaseA.TablenameA; it throws a error: 'sqlcmd' is not recognized as an internal or external command,operable program or batch file. My reqt is : Query a table A in Database A and load to table ...