View previous topic :: View next topic
|
Author |
Message |
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Hi there,
I need a sample cobol program which connects to IDMS and retrieves data. I am not comfortable with IDMS. As far as i know, we can use ' Obtain ' command to get data but other than Obtain, what else should be added to the program??
should we use something like DCLGEN as we do in DB2?
My requirement is,
I have a schema say 'sche1', sub-schema say 'subsche1'. I need a record from the sub-schema, I have the 'key' with me.
A simple, sample code will helpful,
Please reply as soon as possible, Am nearing my deadline.
Regards,
Shankar M |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Please reply as soon as possible, Am nearing my deadline. |
we ourselves have our own deadlines, so we cannot satisfy Your as soon as possible |
|
Back to top |
|
|
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
no issues man, take your time. |
|
Back to top |
|
|
Pravesh
New User
Joined: 30 Jul 2009 Posts: 32 Location: Gurgaon
|
|
|
|
Here in IDMS we have all the variabled defined in Schema/Subschema like we have DCLGEN in DB2
That is the reason we invoke Schema/Subschema in data division in SUBSCHEMA SECTION.
Then in procedure division
1) Make connection to DMS by using IMPART command
2) Open area(s) where your records are stored.
3) Fetch the record9s) based on your requirement.
4) DEPORT for releasing the connection with DMS.
FYI;- If you think by writing ASAP you will get fast reponse. It is not the case here and valid too.
Regards,
Pravesh |
|
Back to top |
|
|
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
Thanks for the info, |
|
Back to top |
|
|
shankarm
Active User
Joined: 17 May 2010 Posts: 175 Location: India
|
|
|
|
People, If using words like 'Deadline'/'ASAP' is an offence, then I apologise for those words. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
it is not an offence ! is just against proper netiquette |
|
Back to top |
|
|
Pravesh
New User
Joined: 30 Jul 2009 Posts: 32 Location: Gurgaon
|
|
|
|
cool man..... have a great learning with best attitude..... |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Pravesh wrote: |
cool man..... |
They are actually.. Since still you are with 0 warnings.. |
|
Back to top |
|
|
|