And in the member indicated by the symbolic variable - program, the followings are defined -
I searched and found these are two assembler modules called from the card. In the same step, some COBOL programs are also executed. I need to find out a dataset (say named - X) is used in which COBOL program? To me, it seems that the one of the assembler modules is calling COBOL programs(at least 10 COBOL programs are executed in that step and one of the COBOL program is using that file - X). How to find out which COBOL program is called by the Assembler modules and which COBOL program is using that file - X.
Even I searched in the assembler module by CALL but did not find any COBOL program name or any other assembler module!
Is there any other way to call a COBOL program to execute in the same step in which a Assembler module is executing? Guys need advice from u and I am really stuck at this point.[/code]
Which modules? Which card? What is there about assembler that you need to know for this?
The jcl you posted is IMS jcl (i believe).
I agree with you. This is a IMS step. But the symbolic variable is having the value - KJRSIREQ. I searched into the libraries and found the member in one library. In that member, the followings are mentioned -
I found out that KJRSIREQ and LKCMI are some Assembler module. Then I tried to find out what are the call modules from these assemblers but found none!
Now actually from the job description (included in the PROC itself), I came to know that some COBOL programs are also called from the same step mentioned above. I need to find out a particular file - X is called from which program. Guys, I need suggestions/ approaches to do so!!!
KJRSIREQ is a program which accesses IMS DB, it can be a COBOL or Assembler program. You can check your source program library for that.
And Please don't confuse with the member KJRSIREQ you have pasted above. It is a link card used in LINK-EDIT step for creating the load module KJRSIREQ. you have nothing to do it in the current JCL.
If you have the source for KJRSIREQ, probably its calling LKCMI.
Srihari, thanks for input! But I have searched in KJRSIREQ to find out the called modules but I have not found LKCMI in it. On the other hand, my question is -
In that particular step is executing some COBOL programs as well (I am sure about that), how can I find what are the COBOL programs being called from that step? Are u getting me? My concern is - the called programs (COBOL or whatever else) should be mentioned in the JCL or in some card. I want to the location where from I can get the called programs' name.