RE: When a Step has ended with JCL error the data sets WOULD BE allocated?
No...it wont allocated....why because.....datastes will be allocated only when the job executes....but here.....JCL error means.....job is not executed
RE: When a Step has ended with JCL error the data sets WOULD BE allocated?
If JCL error occurs after the creation of data set statement in the step then data set is created successfully otherwise if error occurs before the creation of data set statement or creation statement then data set wont be created.
RE: When a Step has ended with JCL error the data sets WOULD BE allocated?
No If the JCL is ending with the JCL error no new dataset will be allocated but if the job is abending in that case it depends on the step count. Like if the job abends on step after which we are allocating any datatset the dataset will not be allocated in this condition and if the allocation step is before abending step it will allocate the Dataset.