Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us