Author: Abid Hasan
Posted: Thu Aug 04, 2016 12:20 pm (GMT 5.5)
An afterthought, before the step actually flushes due to 'NOT DEFINED BECAUSE DUPLICATE NAME EXISTS IN CATALOG', TS's JCL won't execute due to various JCL errors (if the JCL is copied as-is from the first post and executed).
Aside, when the errors are fixed, and the DS being used in the first step is catalogued prior execution of the posted JCL, the first step (IEFBR14) does 'FLUSH' with the aforementioned message, there is still a return code set: RETURN CODE IS 8 REASON CODE IS 38 IGG0CLEH
Curious question here, IEFBR14 will return a '0' by default, whereas the storage management subsystem (please correct me if I have it wrong here) which will try to catalog the DS has returned a CC=8, why does the step still reflect a 'FLUSH' instead of a customary '8'; or have I got the concepts all messed up.
@Rohit, JESYSMSG should reflect the actions taken by JES, if the DS is indeed SCRATCHED, it should show; though it'd be a bit contrary to the JCL Reference definition of (NEW,CATLG).
_________________
Thanks.
Posted: Thu Aug 04, 2016 12:20 pm (GMT 5.5)
An afterthought, before the step actually flushes due to 'NOT DEFINED BECAUSE DUPLICATE NAME EXISTS IN CATALOG', TS's JCL won't execute due to various JCL errors (if the JCL is copied as-is from the first post and executed).
Aside, when the errors are fixed, and the DS being used in the first step is catalogued prior execution of the posted JCL, the first step (IEFBR14) does 'FLUSH' with the aforementioned message, there is still a return code set: RETURN CODE IS 8 REASON CODE IS 38 IGG0CLEH
Curious question here, IEFBR14 will return a '0' by default, whereas the storage management subsystem (please correct me if I have it wrong here) which will try to catalog the DS has returned a CC=8, why does the step still reflect a 'FLUSH' instead of a customary '8'; or have I got the concepts all messed up.
@Rohit, JESYSMSG should reflect the actions taken by JES, if the DS is indeed SCRATCHED, it should show; though it'd be a bit contrary to the JCL Reference definition of (NEW,CATLG).
_________________
Thanks.