Page 1 of 1

pui.dowload

Posted: Fri Aug 01, 2014 4:29 pm
by Anne1ush
I am trying to open an image using pui.download and I get this error message.

Error occurred calling PUIDNLEXIT program before download

this is what I have for the onclick properties-
pui.download({ "id": "/home/OPTICAL/58.TIF", "inline": true, "contentType": "image/TIF" });

What am I doing wrong?
and Yes I did recompile the exit program in my library?

Thank you,

Re: pui.dowload

Posted: Fri Aug 01, 2014 4:31 pm
by Scott Klement
Hi Anne,

There should be more details of the problem in the job log for the job where PUIDNLEXIT is running. Can you post the detailed messages? (Including any prior messages in the job log.)

Thanks!

Re: pui.dowload

Posted: Fri Aug 01, 2014 5:06 pm
by Anne1ush
I am new to profoundui. Where would joblog be if you are testing in Genie?

Re: pui.download

Posted: Fri Aug 01, 2014 7:18 pm
by Anne1ush
I think the reason for the error: the object PUIDNLEXIT is in my library.
error log:
From Program . . . . . . . : MnResolveContext
To module . . . . . . . . . : PUI0009110
To procedure . . . . . . . : PUI0009110
Statement . . . . . . . . . : 22700
Message . . . . : Cannot resolve to object PUIDNLEXIT. Type and Subtype
X'0201' Authority X'0000'.
Cause . . . . . : Either a system pointer or a data pointer can not be
resolved. For a system pointer, it can not be resolved to object PUIDNLEXIT
type and subtype X'0201', authorization X'0000', because either the named
object was not in any context referred to or the correct object was located
but the user profile did not have the required authority. The object types
for some common type or subtype codes follow: -- 0190-Access group,
0201-Program, 0401-Library, -- 0701-Journal receiver, 0801-User profile,
0901-Journal, -- 0B90-Data space, 0C01-Directory, 0C90-Data space index, --

Re: pui.dowload

Posted: Mon Aug 04, 2014 9:19 am
by Scott Klement
This error means that it cannot find the PUIDNLEXIT program.

You said that you compiled it in your first message on this thread. Is it possible that you compiled it into the wrong library? Try WRKOBJ PROFOUNDUI/PUIDNLEXIT (replace 'PROFOUNDUI' with the name of the library you installed Profound UI into if you did not use the default library name)