Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Defining database/dictionary connection

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
Elroy

New User


Joined: 19 Apr 2006
Posts: 3

PostPosted: Mon Jun 26, 2006 2:48 pm    Post subject: Defining database/dictionary connection
Reply with quote

Hi,

I'm very new to IDMS and I'm trying to find out where the database connections can be specified for COBOL programs accessing the database.

From what I can work out from the documentation the possibilities are:
- SYSIDMS and SYSCTL statements in the JCL that runs the program
- A SYSIDMS load module
- An IDMSOPTI load module
- A BIND RUN-UNIT statement within the COBOL program
- Session defaults?

Is this correct/all possibilities?
What is the precedence, I.e. if I specify it in a BIND RUN-UNIT and in the JCL which one will be used?

What other things are necessary for a program to make a connection to an IDMS database?
If anyone has more information on these things it would be greatly appreciated.

Thanks.
Back to top
View user's profile Send private message

vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Wed Aug 02, 2006 12:34 pm    Post subject: Re: Defining database/dictionary connection
Reply with quote

Hi,

whenever writing new program first we have to follow the rules, which mentioned below...

1. in environment division. Protocol has to be specified.

Protocol records are manual/automatic

2. in data division:

schema section has to defined.
in this we have to define which subschema and schema are using in the program

3. in the working storage section

we have to define what r the records r using in the program.....

copy idms subschema-control
copy idms record <record name>

in the procedure division.

have ready the areas which mode u want to use(update/retrive)

then use bind subschema-cntl

at end of the program,

you should have to specity the finish startment.

If i am worng please correct me....

Regards
Vijay
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts INREC PARSING and dictionary items migusd SYNCSORT 6 Fri Jun 02, 2017 8:02 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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us