View previous topic :: View next topic
|
Author |
Message |
ruby.sen Currently Banned New User
Joined: 04 Feb 2006 Posts: 6
|
|
|
|
If there are two pgms pgm A and pgm B.
Suppose pgm A is the called pgm and Pgm B is the calling pgm.
coding of pgm B is completed but coding of pgm A is not ,but I want to test pgm B is it possible ?
If yes how do I test it as stand alone pgm using JCL? |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
ruby.sen wrote: |
If there are two pgms pgm A and pgm B.
Suppose pgm A is the called pgm and Pgm B is the calling pgm.
coding of pgm B is completed but coding of pgm A is not ,but I want to test pgm B is it possible ?
If yes how do I test it as stand alone pgm using JCL? |
you can use a calling program which we call in our floor as stub program. it will simply call the sub program.
don't forget to move appropriate values to the subprogram if it expects.
and from JCL point of view, you just specify the load libraries of main program and sub program in your joblib or steplib.
suggestions welcomed.....
gowtham |
|
Back to top |
|
|
umeshkmrsh
New User
Joined: 21 Sep 2005 Posts: 79 Location: India
|
|
|
|
if your sub-program dosen't uses too many inputs from the main program in linkage section, you can use PARM="" parameters in JCL while calling you sub-program.
You call your sub-program from JCL and pass the values thru JCL parameters. |
|
Back to top |
|
|
|