This example shows you how to create a library and source physical file, start an edit session, and enter source statements using the Create Library (CRTLIB), Create Source Physical File (CRTSRCPF) and Start SEU (STRSEU) commands.
CRTLIB LIB(MYLIB)
and press Enter.
The CRTLIB command creates a library named MYLIB.
CRTSRCPF FILE(MYLIB/QCBLLESRC) TEXT ('Source physical file for an ILE COBOL for iSeries program')
and press Enter.
The CRTSRCPF command creates a source physical file named QCBLLESRC in library MYLIB.
STRSEU SRCFILE(MYLIB/QCBLLESRC) SRCMBR(XMPLE1) TYPE(CBLLE) OPTION(2)
and press Enter.
The STRSEU command creates a new member XMPLE1 in file QCBLLESRC in library MYLIB.
The SEU Edit display appears as shown in Figure 6.
Figure 6. Edit Display for a New Member
+--------------------------------------------------------------------------------+ |Columns . . . : 1 71 Edit MYLIB/QCBLLESRC | |SEU==> ____________________________________________________________ XMPLE1 | |FMT CB ......-A+++B+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | | *************** Beginning of data ************************************* | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | |''''''' | | ****************** End of data **************************************** | | F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Cursor F11=Toggle | | F16=Repeat find F17=Repeat change F24=More keys | |Member XMPLE1 added to file MYLIB/QCBLLESRC. + | +--------------------------------------------------------------------------------+
The member XMPLE1 is saved.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.