Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Call PLI from assembler

Call PLI from assembler

Call PLI from assembler


I'm trying to learn how to call PLI program from assembler. I compiled&linked PLI part with PLI compiler(epl) and stored in xx.xx.loadlib. Then I compiled&linked asm (wich is the main prog.)with assembler compiler and stored in xx.xx.loadlib. The whole process doesn't produce any errors. When I run the code I get 0c4000.


basic housekeeeping...

      call ipl_name

...standard exit


put list('check');
end ipl_name;

Can anybody diagnose the problem?


RE: Call PLI from assembler

I think you have to call a PL/I initialization routine before you call the PL/I program itself (or prehaps you call a PL/I loader with the name of the PL/I program).

In the old days, a COBOL program was identical to an assembler program once it was compiled.  That is no longer true, and I think it has never been true for a PL/I program.

RE: Call PLI from assembler

Thank you for your interest!
I need to strees out that both asm and pli work fine by invoking them with CALL statement under TSO.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close