View previous topic :: View next topic
|
Author |
Message |
mfguy
New User
Joined: 31 Jul 2003 Posts: 4
|
|
|
|
hi all
I need a small clarification while giving the following instruction under the SYSTSIN DD for running the cobol-db2 program.After invoking the ikjef utility under the SYSTSIN dd we will be giving the following commands
DSN SYSTEM(xxxx)
RUN PROGRAM(xxx70BD) PLAN(xxx470BD)
LIB('xxxS01T.OBJ.LOADLIB')
/*
here what the 'DSN SYSTEM(xxxx)' instruction referring?Why we need to give this.Please give me detailed idea.All sorts of help appreciated
Thanks
mfguy |
|
Back to top |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
Hello mfguy,
You know COBOL + DB2 programs are executed using IKJEFT* programs.
DB2 has its own subsystem like TEST, PRODUCTION, QA etc.
Here, DSN SYSTEM ('DB2T')
IKJEFT* is TSO TMP program, which identifies the sub system in which the program needs to be invoked,
Then it finds out the program and its associated plan & loadlib.
For more understanding of IKJEFT* programs use following link
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ikj4b430/APPENDIX1.1?SHELF=ikj4bk30&DT=20020411131426
Hope this helps you
Regards
Mayuresh |
|
Back to top |
|
|
samueljohn
New User
Joined: 12 Jun 2006 Posts: 3 Location: Bangalore
|
|
|
|
hi
can i sumbit more than one job using my cobol (means submit jcl through cobol program) |
|
Back to top |
|
|
anamikak
New User
Joined: 10 May 2006 Posts: 64 Location: Singapore
|
|
|
|
You can definitely code another EXEC which invokes TMP(IKJEF*). why don't you try it and share the results with us?
Anamika |
|
Back to top |
|
|
Hanfur
Active User
Joined: 21 Jun 2006 Posts: 104
|
|
|
|
If u omit the SYSTEM part at the time of execution it would be expanded with YOURID.PLAN and would fail during execution.
-Han |
|
Back to top |
|
|
|