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

IMS DB HIGH LEVEL ACCESS

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

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
View previous topic :: View next topic  
Author Message
senthil_b



Joined: 22 Feb 2005
Posts: 3

Posted: Mon Jun 06, 2005 12:49 pm    Post subject: IMS DB HIGH LEVEL ACCESS  

Hi all ,
In IMS/DB, what is the command code that I need to use to access not only the lowest level segments specified in the SSA(as we do normally), but to access some segments at the higher level also?


thanx,
Senthil
Back to top  
sudhaaa



Joined: 24 Mar 2005
Posts: 47

Posted: Thu Jun 09, 2005 5:31 pm    Post subject:  

Hi,

I'm not getting you. Can you clearly explain me what is Higher level.

CALL 'CBLTDLI' USING DLI-FUNCTION,
PCB-MASK,
I-O-AREA,
LEVEL3,
LEVEL1-SSA,
LEVEL2-SSA,
LEVEL3-SSA.

Then the position will be established in lower level(3rd level) segmet, and that segment data is moved to I-O-AREA. Then you can use it by moving it to WS-LEVEL1.

Here if you want to retrive LEVEL2 segment data, you can avoid coding LEVEL3-SSA and code LEVEL2 in place of LEVEL3.

If any thing is wrong, please correct me.

Regards,
Sudhaaa.
Back to top  
sridhard



Joined: 02 Jun 2005
Posts: 8
Location: Chennai

Posted: Thu Jun 09, 2005 7:31 pm    Post subject: Re: IMS DB HIGH LEVEL ACCESS  

Hi,

Use the command code 'D' in the SSA of the segment you want to retrieve.

Ex:

CALL 'CBLTDLI' USING FUNC-GU
PCB-MASK
I/0 AREA
SSA-SEG1
SSA-SEG2
SSA-SEG3
If you want to retrieve the SEG2 also, you should populate D for the SEG2 command code.

Thanks
Sridhar.
Back to top  
senthil_b



Joined: 22 Feb 2005
Posts: 3

Posted: Fri Jun 10, 2005 11:20 am    Post subject: thanx guys  

Hi,

Sridhar ur absolutely correct.



thanx,
Senthil
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM