View previous topic :: View next topic
|
Author |
Message |
senthil_b
New User
Joined: 22 Feb 2005 Posts: 3
|
|
|
|
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
New User
Joined: 24 Mar 2005 Posts: 51
|
|
|
|
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
New User
Joined: 02 Jun 2005 Posts: 8 Location: Chennai
|
|
|
|
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
New User
Joined: 22 Feb 2005 Posts: 3
|
|
|
|
Hi,
Sridhar ur absolutely correct.
thanx,
Senthil |
|
Back to top |
|
|
|