ILE COBOL Programmer's Guide
This chapter provides the information you need to enter your ILE COBOL
source statements. It also briefly describes the tools and methodology
necessary to complete this step.
To enter ILE COBOL source statements into the system, use one of the
following methods:
- Enter source statements using the CODE/400 editor. This is the
method is documented in the Editor section of the help.
- Enter source statements using the Source Entry Utility (SEU). This
is the method documented in this chapter.
- Enter the source statements from a diskette or a tape by using the OS/400
CL commands, CPYFRMTAP and CPYFRMDKT.
To obtain information on how to enter source statements using the CL
commands, refer to the CL and APIs section of the Database and
File System category in the iSeries 400 Information Center at
this Web site -http://www.ibm.com/eserver/iseries/infocenter.
- Enter the source statements into a stream file using the Edit File
(EDTF) CL command. This command is a general purpose stream file editor
that can also be used to enter ILE Cobol source statements. However,
this editor does not provide syntax checking capability and special format
lines like SEU to aid in source entry. If you want to store your ILE
Cobol source statements in a stream file but also want to use the syntax
checking features of SEU, perform the following steps:
- Enter the source statements into a file member using SEU
- Use the Copy to Stream File (CPYTOSTMF) command to copy the contents of
the file member to a stream file
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.