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

Connect Statment in DB2-Cobol


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

New User


Joined: 19 Sep 2006
Posts: 29

PostPosted: Mon Dec 11, 2006 12:32 pm
Reply with quote

Hi,
Why don't we use CONNECT Statement while developing an Application in COBOL?


Thanks
Sankar
Back to top
View user's profile Send private message
ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Mon Dec 11, 2006 12:53 pm
Reply with quote

When you Bind or execute the Cobol Program,
The CAF-Call attachment facility of the MVS automatically tries to connect to the Db2 subsytem with your SEC AUTH ID.
If you have auhtorization your IN.

hence forth,explicit CONNECT not required in COBOL,

Thx,
Ravi
Back to top
View user's profile Send private message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Mon Dec 11, 2006 2:55 pm
Reply with quote

how could i use db2 with mf cobol or ms cobol

wats the thing i have to add with my program to connect to the db2
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 COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top