i5_program_call Error

General discussion forum for the Zend Server
Post Reply
Posts: 5
Joined: Mon Jan 30, 2012 8:53 am

i5_program_call Error

Post by davidsh » Thu Jun 08, 2017 9:38 am


When I execute the i5_program_call instruction, I receive this error

I have read that error is because the QTMHHTTP user is the one that launches the job
and does not have access to objects and libraries that calls the rpg that is called in the function i5_program_call

Can you help me?

Message. . . . : CPF4101 Error Message Appears During OPEN for
The file XXXXX

Cause . . . . . : The RPG XXXXXX Procedure in the Program
XXXXX / XXXXx has received the CPF4101 message while a
OPEN operation implicit in file XXXXX. The actual file is

RNX1216 not supervised by ELASTARTDD in the statement 0001000001, instruction X'0000 '. [Num] => [2] => 9 [2] => CEE9901 [3] => Application Error. 312 [cat] => 9 [msg] => CEE9901 [desc] => Application error RNX1216 not monitored by ELASTARTDD in statement 0001000001, statement X'0000 '.)

Posts: 24
Joined: Tue Jul 06, 2010 11:48 am

Re: i5_program_call Error

Post by gfroehlich » Wed Jul 05, 2017 3:24 pm

If you don't want that your programs are executed as QTMHHTTP you have to use i5_connect with user and pw first. The following i5_program_call will execute as the logged in user.

Post Reply