IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc...
Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

how obtain command in IDMS works

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IDMS/ADSO
View previous topic :: View next topic  
Author Message
rajesh_kota



Joined: 04 Mar 2008
Posts: 10
Location: chennai

Posted: Fri May 02, 2008 3:09 pm    Post subject: how obtain command in IDMS works  

Can anyone help me to understand this code?

OBTAIN BRIDGE-R WITHIN BRIDGE-FROM-I
USING SBD-BRIDGE-FROM-KEY
ON ANY-STATUS
OBTAIN NEXT BRIDGE-R WITHIN BRIDGE-FROM-I.


Is this is fetching one by one record?

why obtain next is used after the initial obtain statement?

please help me in this regard.
Back to top  
vijayakumar.yellala



Joined: 19 Apr 2006
Posts: 45
Location: Chennai

Posted: Mon May 05, 2008 9:42 pm    Post subject: Reply to: how obtain command in IDMS works  

see in first Obtain statement they fetching the perticular record vlaue with key field. from that they are fetching one by one at the end of the set.
Back to top  
Ace



Joined: 03 May 2007
Posts: 14
Location: Delhi

Posted: Mon May 26, 2008 10:28 am    Post subject: Reply to: how obtain command in IDMS works  

Generally obtain next is used after the first obtain statement...In ths case obtain next until end of set...
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IDMS/ADSO
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
Related Links