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

IMS Status code "AD" in IMS DC program


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

New User


Joined: 21 Jun 2005
Posts: 69
Location: chennai

PostPosted: Mon Jul 19, 2010 3:37 pm
Reply with quote

All,

Iam getting IMS status code "AD" in IMS DC program .

Iam getting the error while calling the below call

CALL 'CBLTDLI' USING FUNC-GU
IVP-PCB
IVPDB2-IO
IVPDB2-SSA.

Below is my PCB definition

01 IVP-PCB.
05 DBD-NAME PIC X(8).
05 CURR-SEGM-LEVEL PIC X(2).
05 STATUS-CODE PIC X(2).
05 PROC-OPT PIC X(4).
05 RSRVD-FOR-DLI PIC S9(5) USAGE COMP.
05 CURR-SEGM-NAME PIC X(8).
05 KEY-LENGTH PIC S9(5) USAGE COMP.
05 NUM-SENS-SEGS PIC S9(5) USAGE COMP.
05 KEY-FDBACK-AREA PIC X(14).

Below is my SSA definition

01 IVPDB2-SSA.
05 SEGNAME PIC X(08) VALUE 'A1111111'.
05 BEGIN-QUAL PIC X(01) VALUE '('.
05 FIELD-NAME PIC X(08) VALUE 'A1111111'.
05 REL-OPERATOR PIC X(02) VALUE '= '.
05 SEARCH-VALUE PIC X(10).
05 SSA-END PIC X(01) VALUE ')'.

Below is my function definition

05 FUNC-GU PIC X(04) VALUE 'GU '.

Below is PSb source

TITLE 'ASSEMBLE OF PSBNAME=TRNPG007 '
PRINT ON NOGEN
PCB TYPE=TP,MODIFY=YES,EXPRESS=YES,PCBNAME=IO-PCB,LIST=YES
PCB TYPE=DB,DBDNAME=IVPDB2,KEYLEN=10, C
PCBNAME=IVP-PCB,PROCOPT=G
SENSEG NAME=A1111111,PARENT=0
PSBGEN PSBNAME=TRNPG007,LANG=COBOL,CMPAT=YES
END

There is only one segment in the database . I want to read the segment via MPP mode. But Iam not able read it.

Please throw some light , if you can find any
Back to top
View user's profile Send private message
r2k1984

New User


Joined: 21 Jun 2005
Posts: 69
Location: chennai

PostPosted: Wed Jul 21, 2010 10:04 am
Reply with quote

When I displayed the IVP-PCB. Iam not getting the DB name itself.

Can any one guide me in this on why the DBD name is not getting populated. Any reason.

Also how the ACBLIB is linked to IMS region? Do we need to specify in any places in IMS region .

I have created the ACB and placed it in the IMS region ACBLIB.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top