Submitting E0CMKDIR job to create optional directories. Below CROPTUSS step not creating/apps directory. So next CPAPPDIR step which copies /apps directory is failing with RC=256. Input,output and reports directories are getting created. May I know how can I resolve this issue?
//CROPTUSS EXEC PGM=BPXBATCH,REGION=0M
//SYSTSPRT DD SYSOUT=A
//STDOUT DD SYSOUT=A
//STDERR DD SYSOUT=A
//STDPARM DD *
SH cd /user/broadcom/prod/xenos; <== **UPDATE**
mkdir -p -m 777 apps;
mkdir -p -m 777 input;
mkdir -p -m 777 output;
mkdir -p -m 777 reports;
/*
The joblog shows the errors below:
FSUM7343 cannot open "==" for input: EDC5129I No such file or directory.
FSUM7343 cannot open "==" for input: EDC5129I No such file or directory.
Release : 14.0
Component : Spool
Comments on the right of some of the JCL statements are the cause of the errors:
<== **UPDATE**
Remove all instances of the string " <== **UPDATE**" from your JCL.
For example:
// SET TGT='/user/broadcom/prod/xenos' <== **UPDATE**
Make it:
// SET TGT='/user/broadcom/prod/xenos'
Do the same for the other lines where this instruction appears.