DB2 Bind error -805 for program called by PL/1

Post your questions on PL/I.

Moderator: Moderator Group

Post Reply
manuelf
Member
Posts: 1
Joined: Wed Oct 16, 2013 10:02 pm

DB2 Bind error -805 for program called by PL/1

Post by manuelf » Wed Oct 16, 2013 10:11 pm

Hi,
I am new to PL/1 and has been struggling to understand how the PL/1 program calls. To provide you more information, we use Endevor to compile the programs. I have modified a program MM6FFLE which is a Cobol/DB2 sub-routine. It got successfully compiled.

Now MM6FFLE is called by a PL/1 sub-program MMAIDVM.

MMAIDVM is called by another PL/1 sub-program MMAID.

And finally, MMAID is called by the main PL/1 (online) program MMMQP000 program. For some reason when I execute MMMQP000 it abends in MM6FFLE with bind error.

I don't know how PL/1 calls subroutine or do I have to compile any other program. I tried to re-generate MMMQP000 but still the same error. I want to understand the concept of compiling programs and sub-programs in PL/1.

Any help from experts is greatly appreciated.

thanks.....

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Oct 16, 2013 11:52 pm

In addition to the clean compile, make sure the link/bind has no problems.
Have a good one

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Oct 17, 2013 1:08 am

If your MMMQP000 is statically linked you will have to relink it as it will still have the old load modules in it.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others