Skip to content

Commit

Permalink
need to change USS dir permissions so the target user can successfull…
Browse files Browse the repository at this point in the history
…y run zwe command and change the permissions themselves

Signed-off-by: mm667937 <[email protected]>
  • Loading branch information
muzikovam committed Sep 26, 2024
1 parent 1169fb2 commit 5b9c665
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pswi/03_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ echo "iconv -f ISO8859-1 -t IBM-1047 \$source > _ZWECONF;" >> JCL
echo "sed 's|UTF-8|IBM-1047|g' _ZWECONF > ZWECONF;" >> JCL
echo "cp -T ZWECONF \$target;" >> JCL
echo "/*" >> JCL
echo "//CHMODZWE EXEC PGM=BPXBATCH" >> JCL
echo "//STDOUT DD SYSOUT=*" >> JCL
echo "//STDERR DD SYSOUT=*" >> JCL
echo "//STDPARM DD *" >> JCL
echo "SH set -x;set -e;" >> JCL
echo "chmod -R 777 ${ZOWE_MOUNT};" >> JCL
echo "/*" >> JCL

sh scripts/submit_jcl.sh "`cat JCL`"
if [ $? -gt 0 ];then exit -1;fi
Expand Down

0 comments on commit 5b9c665

Please sign in to comment.