IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IMS DB HIGH LEVEL ACCESS


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthil_b

New User


Joined: 22 Feb 2005
Posts: 3

PostPosted: Mon Jun 06, 2005 12:49 pm
Reply with quote

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

New User


Joined: 24 Mar 2005
Posts: 51

PostPosted: Thu Jun 09, 2005 5:31 pm
Reply with quote

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

New User


Joined: 02 Jun 2005
Posts: 8
Location: Chennai

PostPosted: Thu Jun 09, 2005 7:31 pm
Reply with quote

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

New User


Joined: 22 Feb 2005
Posts: 3

PostPosted: Fri Jun 10, 2005 11:20 am
Reply with quote

Hi,

Sridhar ur absolutely correct.



thanx,
Senthil
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Access an specific memory address exp... COBOL Programming 1
No new posts access Mainframe from .net application All Other Mainframe Topics 0
No new posts Program level statistics CICS 6
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
Search our Forums:

Back to Top