Menu

#394 call a program wihout specifing the library where it is

Program Call
open
wanghuiq
None
5
2017-10-30
2017-10-18
No

Hi
I can correctly call a program using
ProgramCall Call = new ProgramCall(Host, pgmPath, params);
the pgmPath is "/QSYS.LIB/CUSTOMLIB.LIB/PGMTOEX.PGM"

Is there a way to call the pgm "PGMTOEX.PGM" without specifying the library where the program is? Obviously I will have to call ADDLIBLE on the Host connection BEFORE executing the PGM in order to set the library list in which the host has to search the PGM.

Thanks for the feedback
Kind regards

Discussion

  • Zhang Ze

    Zhang Ze - 2017-10-23

    Hi,
    ProgramCall does not support to call the pgm without specifying the library and unfortunately,as I know, there is no any way to support to call a pgm without specifying the library.

     
  • John Eberhard

    John Eberhard - 2017-10-30
    • assigned_to: wanghuiq
     

Log in to post a comment.

MongoDB Logo MongoDB