Hi "RDharmar",
I think you should add another "output" parameter to the call list for the s-p and place the string you are curious about into that s-p parameter variable. When you return from the CALL statement, examine that parameter.
Larry Kintisch
IBM Contractor Instructor for DB2, SQl, QMF, Data modeling; [DB2 for z/OS]