View previous topic :: View next topic |
Author |
Message |
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Wed Apr 20, 2005 8:25 pm Post subject: Solution for AC status code |
|
|
Hai,
I am getting status code of AC when i issue a DLI call to IMS database & i know the reasons for getting AC as
For call-level programs:
An error is in an SSA for a DLET, Get, ISRT, or REPL call for one of these
reasons:
* DL/I could not find a segment in the DB PCB specified in the call that has the segment name given in the SSA.
* The segment name is in the DB PCB, but the SSA specifying that segment name is not in its correct hierarchic sequence.
* The call specifies two SSAs for the same hierarchic level.
IMS also returns this status code when a STAT (3) call has an invalid
statistics function. After this status code is returned, your position in
the database is unchanged.
For command-level programs:
An error is in one of the WHERE or SEGMENT options on a Get or ISRT
command for one of these reasons:
* DL/I could not find a segment in the DB PCB specified in the segment name given in the SEGMENT option.
* The segment name is in the DB PCB, but the qualification for the
command does not specify it in its correct hierarchic sequence.
* The command specifies two SEGMENT options for the same hierarchic level.
Programmer Response: Correct the segment name in the SSA or SEGMENT option or in the statistics function of the STAT (3) call.
(3) STAT is a Product-sensitive programming interface.
I am sure that my call is correct according to my analysis but i doubt i am getting AC of the statistics function of the STAT (3) call.
Can any one help me what does statistics function of the STAT (3) call mean & how do i solve / make changes in the call. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Wed Apr 20, 2005 8:46 pm Post subject: |
|
|
coolguy2005,
Check your PSB definitions ,PROCOPT and also your SSA's . You will get an AC error code if the PROCOPT is defined properly.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Thu Apr 21, 2005 12:06 am Post subject: Can u please emphasize more |
|
|
Kolusu,
Thanks for an early response.Actually i am issuing GU calls & i am sure in the PSB defination ,PROCOPT = A is there & my SSA is also correct .Is there any other reason i can get AC status Code. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Thu Apr 21, 2005 5:46 am Post subject: |
|
|
Quote: |
Actually i am issuing GU calls & i am sure in the PSB defination ,PROCOPT = A is there & my SSA is also correct .Is there any other reason i can get AC status Code.
|
coolguy2005,
If you are doing GU calls then your PROCOPT should be GOT or GOTP(reading childs)
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
rk_pulikonda Beginner
Joined: 27 May 2003 Posts: 22 Topics: 2 Location: India
|
Posted: Fri Apr 29, 2005 3:28 pm Post subject: |
|
|
coolguy2005,
Can you give more details about your PSB and SSA. _________________ Thanks
-Ram |
|
Back to top |
|
|
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Sun May 01, 2005 9:49 pm Post subject: solution for AC status code |
|
|
Thanks Pulikonda,
I got the correct solution .I was making GHNP call without command codes & i was expecting the parent data also in the IOAREA ,but i was wrong.I am making use of a PSB which does not has PROCOPT of P ,so i had to use GU on root & then GHNP but my SSA was correct
Coolguy2005 |
|
Back to top |
|
|
|
|