From d95f5294003f0119f00f2e3a008cdf4abe4b0986 Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Mon, 5 Feb 2024 10:14:17 -0500 Subject: [PATCH] Fix missing quote in the shell zos-jes Signed-off-by: 1000TurquoisePogs --- bin/libs/zos-jes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/libs/zos-jes.sh b/bin/libs/zos-jes.sh index 82592b5e48..b8aa6a813d 100644 --- a/bin/libs/zos-jes.sh +++ b/bin/libs/zos-jes.sh @@ -105,7 +105,7 @@ wait_for_job() { # ... $HASP890 JOB(GIMUNZIP) CC=() <-- reject this value haspline=$(echo "${result}" | grep '$HASP890') if [ -n "${haspline}" ]; then - jobstatus=$(echo "${haspline} | sed 's#^.*\$HASP890 *JOB(\(.*\)) *CC=(\(.*\)).*$#\1,\2#') + jobstatus=$(echo "${haspline}" | sed 's#^.*\$HASP890 *JOB(\(.*\)) *CC=(\(.*\)).*$#\1,\2#') jobname=$(echo "${jobstatus}" | awk -F, '{print $1}') jobcctext=$(echo "${jobstatus}" | awk -F, '{print $2}') jobcccode=$(echo "${jobstatus}" | awk -F, '{print $3}' | awk -F= '{print $2}')