Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us