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

What PROCOPT to use when the command code is 'D'?


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

New User


Joined: 19 Feb 2005
Posts: 27
Location: hyderabad-ap-india

PostPosted: Thu Mar 15, 2007 10:45 am
Reply with quote

Hi,
I have an IMS DB with 5 levels. I want to retrieve level 3 data ->display-> take the values from the user -> Update. I am using the following call.
CALL 'CBLTDLI' USING GHU
DB-PCB
LEVEL1-IO-AREA
LEVEL2-IO-AREA
LEVEL3-IO-AREA
Qualified SSA of level1
Qualified SSA of level2
Qualified SSA of level3

In Qualified SSA's of Levle1 and Level 2, I have given Command code 'D'.
In PSB and SENSEGs, I have given PROCOPT 'A'. When I am trying to run, its throwing status code AM. Can you please tell me what could be the problem? or is there any other method to achieve the same?
Note: I need IO AREAs of all the 3 levels.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1209
Location: Bangalore,India

PostPosted: Thu Mar 15, 2007 11:15 am
Reply with quote

Hi There,

You need to give procopt as AP because u r issuing a path call.Remember not to use command code in level -3

Code:
 GHU  LEVEL1 *D(KEY1=......)
     LEVEL2 *D(KEY2=......)
     LEVEL3 *-(KEY3=......)


Hope it will helpful
Back to top
View user's profile Send private message
saidharrao
Warnings : 1

New User


Joined: 19 Feb 2005
Posts: 27
Location: hyderabad-ap-india

PostPosted: Fri Mar 16, 2007 9:31 am
Reply with quote

Hi Ekta,
Thanks a lot. I have tried with that too. But its not working. And remember our program is an MPP program. What could be the solution for this?Pls help me.

Regards,
Back to top
View user's profile Send private message
Sasi Kiran Patha
Warnings : 2

New User


Joined: 19 Nov 2006
Posts: 73
Location: Hyederabad

PostPosted: Sun Mar 18, 2007 6:05 pm
Reply with quote

Hi,

im not sure if we can specify 3 IO-Areas in one command level IMS call.
Please try placing all the 3 IO areas under one group level
and give the one group level variable instead of the 3 IO areas.

In our shop the 3 IO areas simply does not work.

Regards,
Sasi Patha.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Mar 19, 2007 7:11 pm
Reply with quote

Right, a pathcall result is stored in one single io-area large enough to hold all the segments retrieved with *D.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts c all command JCL & VSAM 11
No new posts purge jobs with return code 0 and ret... JCL & VSAM 6
Search our Forums:


Back to Top