Sorry for late reply, JJSCAN is projcl product. JJSCAN it self is a macro here. If we type JJSCAN on command line of any JCL and press enter, it will give expanded JCL..that means...in case if JCL is using a proc, then JJSCAN will substitute the symbolic parms and DSN overrides used for proc and it will display entire JCL by expanding all procs.
For this expansion system will create a temp dataset to disply expanded jcl ex: myid.somename.temp1 and also that will displayed in brouse mode. if we press F3 system will give "process completed" message and usual JCL (unexpanded one) will be displayed.And temp file will be deleted automatically.
So now my rexx macro will open expanded jcl member1 in given pds in a temp file and in brouse mode; and if we press f3 rexx will do same for member2 of pds.
I want to capture that temp file and need to do some work with it.
If any one give any idea, it will be very helpful to me. Thanks in advance.