From 014fec673e29ba29e04df70cbed4e79c3ecc1135 Mon Sep 17 00:00:00 2001 From: Shakeeb Date: Tue, 23 Aug 2016 00:39:08 -0500 Subject: Reset ffdc data length in constructor Change-Id: I74c42fb2f4d4afc705e2624870f3e65f98f1c495 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28648 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta Reviewed-by: AMIT J. TENDOLKAR --- src/tools/scripts/parseErrorInfo.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools') diff --git a/src/tools/scripts/parseErrorInfo.pl b/src/tools/scripts/parseErrorInfo.pl index 839a836c..06cdc63b 100755 --- a/src/tools/scripts/parseErrorInfo.pl +++ b/src/tools/scripts/parseErrorInfo.pl @@ -1250,7 +1250,8 @@ foreach my $argnum (0 .. $#ARGV) { print ECFILE " $class_name()\n"; print ECFILE " {\n\t\tfapi2::current_err = RC_$class_name;\n\t\tFAPI_ERR(\"$err->{description}\");\n"; - print ECFILE " \tfapi2::g_FfdcData.fapiRc = RC_$class_name;\n\t}\n\n"; + print ECFILE " \tfapi2::g_FfdcData.fapiRc = RC_$class_name;\n"; + print ECFILE " \tfapi2::g_FfdcData.ffdcLength = 0;\n\t}\n\n"; } } else -- cgit v1.2.1