New dump_ffdc_rc constant function
Change-Id: I6e081b839618a26015589bbf5cb48c3368219949
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_plug_in_utils.py b/lib/gen_plug_in_utils.py
index bccfce1..83f2b82 100755
--- a/lib/gen_plug_in_utils.py
+++ b/lib/gen_plug_in_utils.py
@@ -546,6 +546,16 @@
return 0x00000002
+def dump_ffdc_rc():
+ r"""
+ Return the constant dump FFDC return code value.
+
+ When a plug-in call point program returns this value, it indicates that FFDC data should be collected.
+ """
+
+ return 0x00000002
+
+
# Create print wrapper functions for all sprint functions defined above.
# func_names contains a list of all print functions which should be created from their sprint counterparts.
func_names = ['print_plug_vars']