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
 

 

IMS Status code "AD" in IMS DC program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS Status code "AD" in IMS DC program
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    Post subject:
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    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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm


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