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
 

 

Regarding calling database.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Regarding calling database.
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: 2360
Location: Israel

PostPosted: Sat Mar 04, 2006 10:52 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm


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