Nathan,
This is not an uncommon setup error.
You get this because Net.Data uses the list of paths specified by the
EXEC_PATH directive of the associated INI file when attempting to
resolve the object being executed, in this case the CHGAUT command.
Net.data was designed for multi-platforms and so does not assume the
library list mechanism so familiar on OS/400.
I always start my EXEC_PATH INI directive with /QSYS.LIB; otherwise it
is necessary to qualify the object reference in the %exec statement e.g.
%EXEC { /QSYS.LIB/CHGAUT.CMD %}
Cheers, Peter
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Nathan Andelin
Sent: Sunday, 6 April 2008 11:36 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] File Attachment Utility
Peter Connell wrote:
Here is the bog standard technique which avails itself of
the Net.data file upload feature.
Peter,
Thanks for the macro. The file upload works great, and the %html()
blocks do too, but I get errors when running system commands. For
example the CHGAUT command results in the error:
NET.DATA Error: Object specified in CHGAUT.CMD not found.
I can go to a 5250 command line and execute the command with the same
parameters specified in the macro, and it runs fine, but not within
Net.Data. It's as if command parameters are not passed. Is there
something that I need to do to use the DTW_SYSTEM language environment?
Nathan.
As an Amazon Associate we earn from qualifying purchases.