Thanks everyone, I apologize for my code but I have just sewed everything I saw on the manual, yeah Thanks Magesh_J, seems like I can invoke SDSF through JCL..
I am new to REXX programming with zero knowledge and experience but I need to code a tool that would analyze the spool and report generated by a batch job in SDSF and tried to follow the example codes ...