Skip to content

Commit

Permalink
forgot to submit the JCL so the value for runtime directory was not v…
Browse files Browse the repository at this point in the history
…alid

Signed-off-by: mm667937 <[email protected]>
  • Loading branch information
muzikovam committed Aug 29, 2024
1 parent 9b27294 commit d800efc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pswi/05_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ echo "source=\"${ZOWE_MOUNT}files/workflows/ZWECONF.properties\";" >> JCL
echo "runtime=\"${WORK_MOUNT}\";" >> JCL
echo "sed 's|zowe_runtimeDirectory=|zowe_runtimeDirectory=\$runtime|g' \$source > _ZWECONF;" >> JCL
echo "cp -T _ZWECONF \$source;" >> JCL
echo "cat \$source | grep -o \'\"runtimeDirectory\"\';"
echo "cat \$source | grep -o \'\"runtimeDirectory\"\';" >> JCL
echo "/*" >> JCL
# If this does not work, sed locally and upload input file
sh scripts/submit_jcl.sh "`cat JCL`"
if [ $? -gt 0 ];then exit -1;fi
rm JCL

echo "Testing the configuration workflow ${TEST_MOUNT}/files/workflows/ZWECONF.xml"
sh scripts/wf_run_test.sh "${TEST_MOUNT}/files/workflows/ZWECONF.xml" "${TEST_MOUNT}/files/workflows/ZWECONF.properties" "run"
Expand Down
2 changes: 1 addition & 1 deletion pswi/scripts/wf_run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ run=$3

echo ""
echo ""
echo "Script for testing workflow and if specified running with defaults as well..."
echo "Script for testing workflow and if specified running with defaults/variable input file as well..."
echo "Host :" $ZOSMF_URL
echo "Port :" $ZOSMF_PORT
echo "z/OSMF system :" $ZOSMF_SYSTEM
Expand Down

0 comments on commit d800efc

Please sign in to comment.