Source statements are entered into a member of a physical file. Before you can enter your source, you must first create a library and a source physical file.
A library is a system object that serves as a directory to other objects. A library groups related objects and allows you to find objects by name. The object type for a library is *LIB.
A Source physical file is a file that stores members. These members contain source statements, such as ILE COBOL source statements.
To create a library called MYLIB, use the Create Library (CRTLIB) command:
CRTLIB LIB(MYLIB)
To create a source physical file called QCBLLESRC in library MYLIB, use the Create Source Physical File (CRTSRCPF) command:
CRTSRCPF FILE(MYLIB/QCBLLESRC)
For more information on creating library and source physical files, refer to ADTS/400: Programming Development Manager manual.
Once you have the library and source physical file created, you can start an edit session. You can use the Start Source Entry Utility (STRSEU) command to start an edit session and enter your source statements.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.