ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/crtedit.htm

90 lines
5.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Create and edit Java source files" />
<meta name="abstract" content="You can create and edit Java source files in a number of ways." />
<meta name="description" content="You can create and edit Java source files in a number of ways." />
<meta name="DC.Relation" scheme="URI" content="getstart.htm" />
<meta name="DC.Relation" scheme="URI" content="install.htm" />
<meta name="DC.Relation" scheme="URI" content="runfirst.htm" />
<meta name="DC.Relation" scheme="URI" content="dkmap.htm" />
<meta name="DC.Relation" scheme="URI" content="crtjdir.htm" />
<meta name="DC.Relation" scheme="URI" content="crtcmrun.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="crtedit" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Create and edit Java source files</title>
</head>
<body id="crtedit"><a name="crtedit"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Create and edit Java source files</h1>
<div><p>You can create and edit Java™ source files in a number of ways.</p>
<div class="section"><h4 class="sectiontitle">With iSeries™ Access for Windows<sup>®</sup></h4><p>Java source
files are American Standard Code for Information Interchange (ASCII) text
files in the integrated file system on iSeries servers.</p>
<p>You can create
and edit a Java source file with iSeries Access for Windows and
a workstation-based editor.</p>
</div>
<div class="section"><h4 class="sectiontitle">On a workstation</h4><p>You can create a Java source
file on a workstation. Then, transfer the file to the integrated file system
by using file transfer protocol (FTP).</p>
<p>To create and edit Java source
files on a workstation:</p>
<ol><li>Create the ASCII file on the workstation by using the editor of your choice.</li>
<li>Connect to your iSeries server with FTP.</li>
<li>Transfer the source file to your directory in the integrated file system
as a binary file, so that the file remains in ASCII format.</li>
</ol>
</div>
<div class="section"><h4 class="sectiontitle">With EDTF</h4><p>You can edit files from any file system
using the EDTF CL command. It is an editor that is similar to the Source Entry
Utility (SEU) for editing stream files or database files. See the <a href="../cl/edtf.htm" target="_blank">EDTF CL command</a> for
information.</p>
</div>
<div class="section"><h4 class="sectiontitle">With Source Entry Utility</h4><p>You can create a Java source
file as a text file by using source entry utility (SEU).</p>
<p>To create a Java source
file as a text file by using SEU, perform the following steps:</p>
<ol><li>Create a source file member by using SEU.</li>
<li>Use the Copy To Stream File (CPYTOSTMF) command to copy the source file
member to an integrated file system stream file, while converting the data
to ASCII.</li>
</ol>
<p>If you need to make changes to the source code, change the database
member by using SEU and copy the file again.</p>
<p>For information on storing
files, see <a href="classifs.htm">Files in the integrated file system</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="getstart.htm" title="If you have not yet used IBM Developer Kit for Java, follow these steps to install it, configure it, and practice running a simple Hello World Java program.">Install and configure IBM Developer Kit for Java</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="crtjdir.htm" title="You must create a directory on your iSeries server where you can save your Java applications.">Create a directory on your iSeries server</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="install.htm" title="Installing IBM Developer Kit for Java allows you to create and run Java programs on your iSeries server.">Install IBM Developer Kit for Java</a></div>
<div><a href="runfirst.htm" title="This topic will help you to run your first program.">Run your first Hello World Java program</a></div>
<div><a href="dkmap.htm" title="To map a network drive, complete the following steps.">Map a network drive to your iSeries server</a></div>
<div><a href="crtcmrun.htm" title="Creating the simple, Hello World Java program is a great place to start when becoming familiar with the IBM Developer Kit for Java.">Create, compile, and run a HelloWorld Java program</a></div>
</div>
</div>
</body>
</html>