APT_PERFORMANCE_DATA, How to use the generated out put

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

APT_PERFORMANCE_DATA, How to use the generated out put

Post by venkat_kp »

Hi All,

APT_PERFORMANCE_DATA when this is enabled it writes the out put to a file.


<?xml version="1.0" encoding="ISO-8859-1" ?>
<performance_output version="1.0" date="20060830 08:53:33" framework_revision="7.5.1" job_ident="1671">
<layout delimiter=",">
<field name="TIME"/>
<field name="PARTITION_NUMBER"/>
<field name="PROCESS_NUMBER"/>
<field name="OPERATOR_NUMBER"/>
<field name="IDENT"/>
<field name="JOBMON_IDENT"/>
<field name="PHASE"/>
<field name="SUBPHASE"/>
<field name="ELAPSED_TIME"/>
<field name="CPU_TIME"/>
<field name="SYSTEM_TIME"/>
<field name="HEAP"/>
<field name="RECORDS"/>
<field name="STATUS"/>
</layout>
<run_data>
<![CDATA[


How to get the values of this above out put? Do we have to use some xml viewer?

Thanks.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A regular browser ought to do it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

Re: APT_PERFORMANCE_DATA, How to use the generated out put

Post by venkat_kp »

venkat_kp wrote:Hi All,

APT_PERFORMANCE_DATA when this is enabled it writes the out put to a file.


<?xml version="1.0" encoding="ISO-8859-1" ?>
<performance_output version="1.0" date="20060830 08:53:33" framework_revision="7.5.1" job_ident="1671">
<layout delimiter=",">
<field name="TIME"/>
<field name="PARTITION_NUMBER"/>
<field name="PROCESS_NUMBER"/>
<field name="OPERATOR_NUMBER"/>
<field name="IDENT"/>
<field name="JOBMON_IDENT"/>
<field name="PHASE"/>
<field name="SUBPHASE"/>
<field name="ELAPSED_TIME"/>
<field name="CPU_TIME"/>
<field name="SYSTEM_TIME"/>
<field name="HEAP"/>
<field name="RECORDS"/>
<field name="STATUS"/>
</layout>
<run_data>
<![CDATA[


How to get the values of this above out put? Do we have to use some xml viewer?
Sorry I was not clear with the qtn. How come there will not be any values get populated for the above fields?
ghila
Premium Member
Premium Member
Posts: 41
Joined: Mon Mar 15, 2004 2:37 pm
Location: France

Post by ghila »

Hello,

Regarding APT_PERFORMANCE_DATA, be sure you set it with a valid path. This is not a variable that is boolean.
Then you should get something like this :
......
20060518 15:37:43,0,0,0,#APT_LicenseOperator#,##,describeOperator,,0,0,0,0,[0][0],Start
20060518 15:37:43,0,0,0,#APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],End(APT_StatusOk)
20060518 15:37:43,0,0,2,#APT_LicenseCountOp in APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],Start
20060518 15:37:43,0,0,2,#APT_LicenseCountOp in APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],End(APT_StatusOk)
Regards,

Daniel
venkat_kp
Charter Member
Charter Member
Posts: 33
Joined: Sun May 07, 2006 8:16 am

Post by venkat_kp »

ghila wrote:Hello,

Regarding APT_PERFORMANCE_DATA, be sure you set it with a valid path. This is not a variable that is boolean.
Then you should get something like this :
......
20060518 15:37:43,0,0,0,#APT_LicenseOperator#,##,describeOperator,,0,0,0,0,[0][0],Start
20060518 15:37:43,0,0,0,#APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],End(APT_StatusOk)
20060518 15:37:43,0,0,2,#APT_LicenseCountOp in APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],Start
20060518 15:37:43,0,0,2,#APT_LicenseCountOp in APT_LicenseOperator#,##,describeOperator,,0,0,0,131072,[0][0],End(APT_StatusOk)

Hi Ghila,

I gave the path and it prints the like the above you posted + the lines with <>, like <field name="PARTITION_NUMBER"/> at the top with out any values. So how these lines will be used. It looks like some xml code.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's used however you want to use it. DataStage merely dumps the data.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply