View previous topic :: View next topic |
Author |
Message |
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Sun Apr 24, 2005 4:07 am Post subject: PROBLEM WITH IOAREA IN A CALL TO IMS |
|
|
Hai,
I am working on a PLI with IMS program where in which i am trying to retreive data from two segments one is root & the other one is child .I am first making a unique call GU to the database and then issuing GHNP based on the SSA for parent and child being qualified.
Code: |
A
|
-----------------------
B C D
|
In my call PLITDLI
Code: |
DCL PARENT_CHILD_IO_AREA CHAR(85) INIT(' ');
CALL PLITDLI(FIVE,GHNP,C_MASK, PARENT_CHILD_IO_AREA,SSA_A_QUAL,SSA_C_QUAL);
|
I have declared the PARENT_CHILD_IO_AREA to be my IOAREA which is sufficient to hold data from two segments parent A & child C by calculating bytes of (A+C).Actually i am new to PLI,when i check the individual bytes of PARENT_CHILD_IO_AREA ,only the data from the C segment is coming fine in the IOAREA,rest the data from the root segment A is completely blank.This i am able to confirm because i am using PUTLIST to display data.The problem is when i try to display data from ROOT SEGMENT A,blanks are coming.
Can anyone assist me how can i see the data from SEGMENT A,when i am able to see data from CHILD segment C / where i am heading wrongly. |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Mon Apr 25, 2005 8:29 am Post subject: |
|
|
Coolguy,
Make sure you have a command code of D in your SSA. |
|
Back to top |
|
|
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Tue Apr 26, 2005 1:09 pm Post subject: No Procopt = P defined in the PSB |
|
|
Hai Bithead,
When i tried to see the PSB declaration ,the Procopt is declared as A .So i cannot use path calls which restricts me to use command code "D" in the SSA.Can u please assit me how to i proceed.
Thanks & Best Regards
Coolguy2005 |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Apr 27, 2005 8:45 am Post subject: |
|
|
I would change the PSB. If you can't do that, try looking into the Q command code. |
|
Back to top |
|
|
|
|