Page 1 of 1

PCB address in BMP

PostPosted: Wed Aug 17, 2011 2:54 pm
by mehi1353
Hi all,

In running a BMP program, I encoutered U0476 abend.
I think the problem is "INVALID PCB ADDRESS"

I want to know,how i can pass the pcb number to my cobol program?
my psb just have 1 pcb:

PRINT NOGEN
* PCB NO. 1
PCB TYPE=DB,DBDNAME=RETDTRAN, *
PROCOPT=G,KEYLEN=33
SENSEG NAME=TRANACCT,PARENT=0
SENSEG NAME=TRANNORM,PARENT=TRANACCT
*
PSBGEN LANG=COBOL,PSBNAME=FCSBT888,CMPAT=YES
END

all the best,
Mehrdad

Re: PCB address in BMP

PostPosted: Wed Aug 17, 2011 10:42 pm
by NicC
We need to see your COBOL code - in particular the LINKAGE and USING.

Re: PCB address in BMP

PostPosted: Wed Aug 17, 2011 10:51 pm
by Ed Goodman
Also, make double-sure that you have the DLITCBL entry statement linked in your compile/link JCL. 9 times out of 10, that's what causes this error at my shop. People use their "normal" JCL to compile link something that used IMS, but forget about the DLITCBL entry in the link step.

But still, post the LINKAGE/USING of the called program, and the CALL of the calling program.

Also, also, see that "CMPAT=YES" at teh bottom of the PSB definition? That adds an I-O PCB to the top. So you really have TWO PCBs in the generated PSB.

Re: PCB address in BMP

PostPosted: Thu Aug 18, 2011 12:02 am
by dick scherrer
Hello,

Posting the same question in multiple forums is not acceptable. . .

This topic is being locked.