What you have shown is just a COBOL Program, I hope you understand that. Where have you defined the SP ? Which catalog tables? Did you even know those table if you do it by yourself or did you even reach out to DBAs to define them first before even you execute it?