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
 

 

REG: IDMS - COBOL(Am close to my deadline)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Mon May 17, 2010 4:06 pm    Post subject: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon May 17, 2010 4:09 pm    Post subject: Reply to: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

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
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Mon May 17, 2010 4:15 pm    Post subject: No issues..
Reply with quote

icon_smile.gif no issues man, take your time.
Back to top
View user's profile Send private message
Pravesh

New User


Joined: 30 Jul 2009
Posts: 32
Location: Gurgaon

PostPosted: Mon May 17, 2010 4:31 pm    Post subject: Reply to: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

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
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Mon May 17, 2010 4:36 pm    Post subject: Thank you.
Reply with quote

Thanks for the info,
Back to top
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Mon May 17, 2010 4:46 pm    Post subject:
Reply with quote

People, If using words like 'Deadline'/'ASAP' is an offence, then I apologise for those words.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon May 17, 2010 4:59 pm    Post subject: Reply to: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

it is not an offence ! is just against proper netiquette
Back to top
View user's profile Send private message
Pravesh

New User


Joined: 30 Jul 2009
Posts: 32
Location: Gurgaon

PostPosted: Mon May 17, 2010 5:07 pm    Post subject: Reply to: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

cool man..... have a great learning with best attitude..... icon_smile.gif
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon May 17, 2010 6:24 pm    Post subject: Re: Reply to: REG: IDMS - COBOL(Am close to my deadline)
Reply with quote

Pravesh wrote:
cool man.....

They are actually.. Since still you are with 0 warnings.. icon_wink.gif
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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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