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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm


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