From be3a9f6fab277012137cdde86490857d3ffcdc8e Mon Sep 17 00:00:00 2001 From: CodeCommando Date: Tue, 15 Nov 2022 17:40:12 +0530 Subject: [PATCH 1/2] changes to allow mode be passed in the program call. This will resolves issue no #362 https://github.com/IBM/nodejs-itoolkit/issues/362 --- lib/ProgramCall.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ProgramCall.js b/lib/ProgramCall.js index 2450f1d..c6ea10d 100644 --- a/lib/ProgramCall.js +++ b/lib/ProgramCall.js @@ -40,8 +40,9 @@ class ProgramCall { this.xml = ``; - } + } /** * @private From 00fb4226d7064c3dc9dae845d4629e33c40a8502 Mon Sep 17 00:00:00 2001 From: CodeCommando Date: Thu, 17 Nov 2022 19:23:23 +0530 Subject: [PATCH 2/2] added comment for new property in the options object for program call. --- lib/ProgramCall.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ProgramCall.js b/lib/ProgramCall.js index c6ea10d..2107417 100644 --- a/lib/ProgramCall.js +++ b/lib/ProgramCall.js @@ -28,6 +28,7 @@ class ProgramCall { * Using ``off`` or ``fast`` continues executing the script. The Difference is that ``fast`` * will log a brief error report and ``off`` will not. * @property {string} [func] - The target function of the service program. + * @property {string} [mode=opm|ile] - Determines the program call mode. */ /**