Skip to content

Commit

Permalink
Fix missing quote in the shell zos-jes
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs committed Feb 5, 2024
1 parent fcfed8a commit d95f529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/libs/zos-jes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}')
Expand Down

0 comments on commit d95f529

Please sign in to comment.