View previous topic :: View next topic
|
Author |
Message |
teja goud
New User
Joined: 28 Nov 2011 Posts: 14 Location: india
|
|
|
|
hi
pgm A calling Pgm B .Pgm B has some Db2 program,
how to compilation and execution process
please explain the above process
thanks in advance |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
this kind of activity is rather site dependent.
you need to talk with your co-workers or your manager.
if this is just a generic question and you are not actually working,
you can either post the student/fresher forum
or read the db2 application programming guide for whatever version of db2 you wish
(buttons/links at top of page - IBM Manuals)
There really is no need to spend time/space in the forum to paraphrase what is already well organized and prepared by the manuals.
if you have questions over specifics,
post your question and one of the many experienced members will provide an answer. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
in a nutshell:
Regular program A is compiled as a regular program,
DB2 program B is compiled as a DB2 program.
Program A is executed as a DB2 program.
Details about the "how to" are site dependant. |
|
Back to top |
|
|
teja goud
New User
Joined: 28 Nov 2011 Posts: 14 Location: india
|
|
|
|
hi,
while execution of program can i get timestamp mismatch error if i excute like this, bcoz program B load module and DBRM timestamp is same , if it is static call while executing program A , i need to give B load module also ...
Please explain clearly , am little bit confusion on this process
thanks in advance |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Steps:
1.Compile Program B as DB2 program and Bind it into a package/Plan
2. Compile Program A as a normal cobol program.
3. Run the Program A using IKJEFT01 --
Code: |
DSN SYSTEM (XXXX)
RUN PROG (PROGRAMA) PLAN (PLANA)
END |
|
|
Back to top |
|
|
teja goud
New User
Joined: 28 Nov 2011 Posts: 14 Location: india
|
|
|
|
thanks for your replay |
|
Back to top |
|
|
|