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

Regarding calling database.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
spkumar

New User


Joined: 15 Feb 2006
Posts: 3
Location: india

PostPosted: Sat Mar 04, 2006 9:12 pm
Reply with quote

can anybody tell me what the following code provided below does,
iam unable to analyse what this is doing......


001230 CALL DATABASE USING DB-SINON
001250 DB-STATUSII IMR2000
001260 DB-RDONLY
001270 DB-DBDNAME
001280 DB-PGMNAME
001290 DB-OPTIONS
001300 DB-END.
001310
001320 CALL DATABASE USING DB-OPENX
001340 DB-STATUSII IMR2000
001350 DB-FILE-LIST
001360 DB-END.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sat Mar 04, 2006 10:52 pm
Reply with quote

Take a look at the value of DATABASE variable. Then look at this name to see which database it is calling.

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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts What database does Jobtrac use CA Products 4
No new posts calling a JCl inside a JCL JCL & VSAM 3
Search our Forums:

Back to Top