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

How to issue db2 commands from application


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

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Thu Oct 05, 2006 8:41 pm
Reply with quote

Hi All ,


How to run db2 commands from application ? . I have read that "An application program may use the DB2 Instrumentation Facility Interface to issue DB2 commands " .

Could you please give some example , how to execute db2 commands via application

Thanks in advance .

Thanks and Regards
Senthil
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Oct 05, 2006 11:30 pm
Reply with quote

Since DB2 commands can run under the DSN interface, and since DSN can be invoked like any other TSO command, you may invoke DB2 commands like you invoke any TSO command from within a program (don't forget the dash "-").

O.
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts DB2 Event passed to the Application P... DB2 1
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
Search our Forums:

Back to Top