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
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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