Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: What PROCOPT to use when the command code is 'D'?
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: 1187
Location: Bangalore,India

PostPosted: Thu Mar 15, 2007 11:15 am    Post subject:
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    Post subject: Re: What PROCOPT to use when the command code is 'D'?
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    Post subject: Re: What PROCOPT to use when the command code is 'D'?
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Mar 19, 2007 7:11 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us