From 8d413aef0e7322ba84a98d0b5918c512ab1bc630 Mon Sep 17 00:00:00 2001 From: Richard Schoen Date: Mon, 1 Feb 2021 14:46:19 -0600 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 846e2c6..6f53328 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,13 @@ The following example runs an SQL query with db2util and exports the results as **PRTTXT** - This option holds the name of the spool file print txt to be used when PRTSTDOUT = *YES. ***Default = *NONE.*** -# Using the QSHEXEC CL command to call a Qsh/Pase command sequence -The following example calls the ls command to list files for the /tmp directory: +# Using the QSHBASH CL command to call a bash command sequence + +The following example calls the ls command to list files for the /tmp directory using the bash command: ``` - QSHEXEC CMDLINE('cd /tmp;ls') + QSHBASH CMDLINE('cd /tmp;ls') DSPSTDOUT(*YES) LOGSTDOUT(*NO) PRTSTDOUT(*NO) @@ -119,7 +120,7 @@ The following example calls the ls command to list files for the /tmp directory: The following example runs an SQL query with db2util and exports the results as JSON to the QTEMP/STDOUTQSH outfile: ``` - QSHEXEC CMDLINE('export DB2UTIL_JSON_CONTAINER=array;db2util -o json "select * from qiws.qcustcdt"') + QSHBASH CMDLINE('export DB2UTIL_JSON_CONTAINER=array;db2util -o json "select * from qiws.qcustcdt"') DSPSTDOUT(*YES) ```