IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

syntax clarification while running cobol-db2 program


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mfguy

New User


Joined: 31 Jul 2003
Posts: 4

PostPosted: Wed Aug 06, 2003 5:57 pm
Reply with quote

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
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Fri Aug 08, 2003 11:41 am
Reply with quote

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
View user's profile Send private message
samueljohn

New User


Joined: 12 Jun 2006
Posts: 3
Location: Bangalore

PostPosted: Mon Jun 12, 2006 2:54 pm
Reply with quote

hi
can i sumbit more than one job using my cobol (means submit jcl through cobol program)
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Wed Jun 14, 2006 9:45 am
Reply with quote

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
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Mon Jul 03, 2006 12:06 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Running REXX through JOB CLIST & REXX 13
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
Search our Forums:

Back to Top