PCB Status code of AD

About IMS/DC

Moderator: Moderator Group

Post Reply
balaji_sj@yahoo.com

PCB Status code of AD

Post by balaji_sj@yahoo.com » Fri May 26, 2006 8:05 pm

Hi,

I have a PLITDLI call as below.

PLITDLI(FOUR,
HLD_DLI_CALL,
SYSPARM_PCB,
SYSPARM_SEGMENT,
SYSPARM_SSA);

The HLD_DLI_CALL variable is assigned a value GU and then a call is made. This code has been in production for many days but suddently we are getting a online abend. When we analysed we found that the HLD_DLI_CALL variable was taking some junk (255T) and hence I removed the HLD_DLI_CALL variable and directly hard coded the function call as GU as below.

PLITDLI(FOUR,
GU,
SYSPARM_PCB,
SYSPARM_SEGMENT,
SYSPARM_SSA);

Once it worked fine and again when I tried it is giving the same old problem and returning the PCB status code as AD.

Any pointers on fixing this will be highly appreciated.

Regards,

Balaji
Bangalore, India

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Post by arrbee » Tue May 30, 2006 9:51 am

because you said JUNK is coming in........is it something you need to do with initializing the fields!! I am just giving a hint here.

Thanks.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

raghesh-ibmmainframeguru
Member
Posts: 1
Joined: Thu Jun 29, 2006 11:23 am

Post by raghesh-ibmmainframeguru » Thu Jun 29, 2006 11:32 am

move 'gu ' to the call parameter and issue the call .it will work..call is of 4 chars and not 2..but the correct approach will be to initialise the values so that junk is coming up

rahul_kolhe
Member
Posts: 12
Joined: Wed Nov 08, 2006 1:03 am

Post by rahul_kolhe » Wed Nov 08, 2006 5:33 am

As said earlier, initialize the variable as it is passing 255T value in function.
Dl/i call returns AD status code when either the function parameter on the call is invalid or the function is not supported for the type of PCB specified in the call

. Like PCB used is not I/O PCB for GU/GN call.

So check the initialization of variable or check the PCB used.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others