× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.