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: 10232
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: 10232
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
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


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