search cancel

Errors running job E0CMKDIR - FSUM7343 cannot open "==" for input: EDC5129I No such file or directory

book

Article ID: 243741

calendar_today

Updated On:

Products

Spool

Issue/Introduction

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. 

Environment

Release : 14.0

Component : Spool

Cause

Comments on the right of some of the JCL statements are the cause of the errors:

                                                 <== **UPDATE**

Resolution

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.