Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

syntax clarification while running cobol-db2 program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: syntax clarification while running cobol-db2 program
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: 238
Location: USA

PostPosted: Fri Aug 08, 2003 11:41 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Hi
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us