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

Defining database/dictionary connection


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts What database does Jobtrac use CA Products 4
No new posts Getting Error while trying to establi... DB2 3
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Defining a struct PL/I & Assembler 3
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
Search our Forums:

Back to Top