Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hello and welcome to the forums,
Typically, the main prorgrm does the calling - it is not usually called.
In a normal cobol/batch execution, there is usually no need for tso commands.
How much cobol experience do yo have?
Please describe what kind pf process you need to support. If you will describe the required process, we may be able to offer suggestions. If you show some examples of your input and output(s), that will help.
Also, this appears to be more of a programming question than a jcl question and it you perfer, i will move it to COBOL. Just let me know.