MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PROBLEM WITH IOAREA IN A CALL TO IMS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
coolguy2005
Beginner


Joined: 22 Mar 2005
Posts: 22
Topics: 16

PostPosted: Sun Apr 24, 2005 4:07 am    Post subject: PROBLEM WITH IOAREA IN A CALL TO IMS Reply with quote

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


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Apr 25, 2005 8:29 am    Post subject: Reply with quote

Coolguy,

Make sure you have a command code of D in your SSA.
Back to top
View user's profile Send private message
coolguy2005
Beginner


Joined: 22 Mar 2005
Posts: 22
Topics: 16

PostPosted: Tue Apr 26, 2005 1:09 pm    Post subject: No Procopt = P defined in the PSB Reply with quote

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


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Apr 27, 2005 8:45 am    Post subject: Reply with quote

I would change the PSB. If you can't do that, try looking into the Q command code.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group