To check VSAM File if its empty or not with zero ReturnCODE
Posted: Tue Jan 22, 2008 11:38 pm
Hi all,
I need to code a JCL so that the First step checks a VSAM File . If its empty , the second step is skipped. If its having records then the next step should be executed.
In either case , the first step should return ZERO return code.
Please help me if this is possible.
Thanks
Shanti
I need to code a JCL so that the First step checks a VSAM File . If its empty , the second step is skipped. If its having records then the next step should be executed.
In either case , the first step should return ZERO return code.
Please help me if this is possible.
Thanks
Shanti