Now you're talkin'. Let me see.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Dave Odom
Sent: Saturday, 16 August 2008 10:26 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Getting started with Net.data - was- I'dbetter
domorethan talk
Peter,
Ist - How to get into a development session, do a simple page and have
it render on the web. 2nd - Add in some simple database calls, first
sending dynamic SQL then calling SQL stored procedures 3rd - Formatting
the output of the "2nd", and being able to scroll. 4th - Creating menu
items with bullets or hyperlinks or whatever that calls REXX and does
i/5 commands, perhaps some CL that calls RPG. 5th - Create multiple
pages of selections if needs be
6th,- Create web pages and underlying programs that allow a user to see
other users spoolfiles via a "privlidged" userid where the operating
user's users is checked for authorization to use the function from an
authorization table 7th - that's enough for now
Does that tell you enough.
Dave
"Peter Connell" <Peter.Connell@xxxxxxxxxxxxxxxxx> 8/15/2008 15:00
Dave,
The steps depend on what you wish to achieve.
Simple beginnings, once defined, can be demonstrate techniques on which
to build.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Dave Odom
Sent: Saturday, 16 August 2008 6:25 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Getting started with Net.data - was - I'd better
domorethan talk
Peter,
I've passed this on to our systems programmers to ensure Net.Data is set
up correctly and to provide me with the URL they want me to use. I
think Net.Data is already set up, to some extent, but don't know if done
correctly. So, perhaps we're close to the next step; creating some
Net.Data programs. I'll RTFM but perhaps you have some quick examples
of next steps.
Thanks,
Dave
"Peter Connell" <Peter.Connell@xxxxxxxxxxxxxxxxx> 8/14/2008 19:24
OK, Here's something that can get you started, no batteries required.
I've created script that will set you up for basic testing using
Net.data. The script will create an HTTP server on you machine with a
couple of test pages.
There are 2 REXX scripts that can be retrieved from
http://dtwdude.com/download/crthttpsvr
And
http://dtwdude.com/download/addhttpsvr
Load these as members into a regular PDM source file of your choice. For
example, I could use a separate source file named MYLIB/QREXSRC but any
source file will do. Be sure to give the source members a source type of
REXX.
The scripts will perform all the steps necessary to setup an HTTP server
just for testing Net.data. Decide on a name for your server e.g. MYDEMO
Then run the following commands, specifying MYDEMO (or whatever) as the
parameter - STRREXPRC SRCMBR(CRTHTTPSVR) SRCFILE(MYLIB/QREXSRC)
PARM(MYDEMO) STRREXPRC SRCMBR(ADDHTTPSVR) SRCFILE(MYLIB/QREXSRC)
PARM(MYDEMO)
Note - The ADDHTTPSVR procedure requires that you have *OBJMGT rights to
file QUSRSYS/QATMHINSTC Otherwise someone with that authority must run
the ADDHTTPSVR procedure.
The result should be a configured HTTP server, ready to go.
It defaults to using your current iseries IP address as the host domain
on port 2008. The script will also have created an HTML welcome page
plus a test Net.data page.
Then all you need to do is start the server e.g.
STRTCPSVR SERVER(*HTTP) HTTPSVR(MYDEMO)
Then test it firstly with the html welcome page
If the test machine is named TESTBOX1 then the url would be
http://testbox1:2008 (
http://testbox1:2008/ ) (
http://testbox1:2008/ )
Then test it with the Net.data welcome page
http://testbox1:2008/cgi/hello/macro
Then you're ready to begin messing about with Net.data.
But I guess that's another story.
Cheers, dtwdude
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Dave Odom
Sent: Friday, 15 August 2008 7:02 a.m.
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] I'd better do more than talk
Nathan,
Nice little starter example. Heavens, it even has folks in it with my
last name (four letter word); poor folks.
Seriously, I'd like to learn more of how you developed it. From
existing code in another language/environment? Because you're good at
programming and it was easy for you to put together?
Is there any other "no-cost" editor out there you'd recommend that's any
good? I hate to be such a Scrooge but what I need to do has to be done
with no more money expended, until and unless I can make a good
prototype app(s).
I too am looking through the documentation as I can while trying to
build my data warehouse, configuring and migrating to our new Query and
BI tool and more. I'm sure you're busy as well. The upshot here is I
have to fit the web app development into my "spare" hours. So, for a
reason to start to use Net.Data vs. PHP or anything else, it seems to
allow me to get started without all the hassle and pieces and parts
someone else on here said needed to be created before one could even
start to do any serious coding. If my project goes over, THEN I'll be
allowed, if necessary, to move to a more popular web app language with
all the bells and whistle editors, environments, etc.
Thanks,
Dave
Nathan Andelin <nandelin@xxxxxxxxx> 8/13/2008 21:28 >>>
Although I've been thinking and talking about Net.Data recently, I have
to admit that I haven't done much with it. So I decided to experiment a
bit more with it. And the easiest example I could come up with is a
derivative of the person inquiry that I've used in the recent past, but
served in this case by Net.Data, instead of RPG.
http://www.radile.com/rdweb/temp/name3.html
Also notice the link for the Net.Data macro source code. I used
Dreamweaver to create and edit the macro. I kept flipping between
editing with Dreamweaver, testing with Firefox, and reading the Net.Data
programming & reference guides in Acrobat.
The thought keeps crossing my mind that maybe Dave Odom will get started
with Net.Data and become a resident expert on the list. Or maybe enough
people will start talking about what they're doing with it that it could
change the conventional wisdom about Net.Data dieing.
I'm more impressed with Net.Data after working through this exercise.
I'll probably write more about my impressions later.
Nathan.
As an Amazon Associate we earn from qualifying purchases.