There is a new download, "XMLSample" at: http://dovetail.com/downloads.html
Below is the README included in the zip file.
Please post your questions on comments on this forum.
This is a sample application demonstrating how to use the
JZOS Batch Launcher and Toolkit along with the Apache Commons components
to perform some basic FTP and XML processing on z/OS.
This distribution is packaged into a directory structure that is compatible
with the Eclipse Java IDE, but can be used with any Java development environment
that supports Ant.
These samples assume that you are using SDK 5.0 (31-bit) with JZOS version 1.2.3
from IBM alpahworks, but should also work fine under JZOS 1.2.1+ with SDK 1.4.2.
Note that the Apache Commons FTPClient must be run with -Dfile.encoding=ISO-8859-1.
For more information on setting up Eclipse for deploying JZOS batch applications
to z/OS, see: http://jzos.com/docs/eclipseSetup.html
For more information or help, see http://dovetail.com/forum
Uses Apache Commons Net FTPClient to download a
comma delimited file containing US Congressional names and addresses.
The stream is converted inline to an output XML file.
Reads and parses the XML File (above) using the Apache Commons Digester,
which is an easy to use interface to an XML Sax parser.
As each congressional member entity is parsed, a field-formatted record
is written to an output file or dataset.
These examples use the JZOS "FileFactory" class which allows portable
files io to java.io or z/OS MVS datasets or DDNAMES. The examples
will run on a workstation (windows, unix, etc) or under z/OS
contains sample JCL for running under z/OS.
These samples assume that you are using SDK 5.0 (31 bit) which requires JZOS 1.2.3 (from alphaworks),
but it can be easily changed to run under SDK 1.4 by changing VERSION='50' to VERSION='14'
and changing JAVA_HOME.
jzos.jar - required to compile samples
(other apache commons jars) - required to compile and run samples
An Ant script that can be used to deploy this project to z/OS.
To use this script, you must have the ANT FTP jars configured for your
Eclipse or other IDE environment. See: http://jzos.com/docs/eclipseSetup.html
A properties file used by deploy.xml... configure this for your environment
**** LICENSE INFORMATION ***
This distribution includes Apache common jars which
are distributed under the apache license.
All other materials in this distribution are licensed under the
* Copyright 2006 Dovetailed Technologies, LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
Discussions regarding Open Source Java projects under z/OS (other than Tomcat)
1 post • Page 1 of 1