Follow these steps, which describe basic TED operations, to edit or isolate the COBOL FD. Refer to online help for full TED capabilities. You may get help for the TED editor at any time by pressing the PF1 key twice or by typing HELP on the command line.
If you want to delete the entire contents of an existing file, type the following two commands on the command line, pressing the Enter key after each one:
TOP
DELETE *
To copy a COBOL program or FD into the TED editor, type
GET filename
where:
MVS: Filename is the fully-qualified dataset name, enclosed in single quotes. The dataset name must include a member if the dataset is partitioned.
'data.set.name'
'data.set.name(member)'
VM/CMS: Filename is the file name, file type, and file mode of the COBOL FD to retrieve
To delete lines from a COBOL FD, first turn on the prefix area of the editor, if it is not already on, by typing the following on the command line:
Edit
You then have two options:
To delete a single line, type D in the prefix area for that line.
To delete blocks of lines, type DD in the prefix area of the first line, scroll to the last line of the block, and type DD in its prefix area. Press the Enter key to complete the process.
To save your changes and return to the Translator menu, type the following on the command line and press the Enter key:
FILE
To save your changes and remain in the editor, type the following on the command line and press the Enter key:
SAVE
To end the TED session at any time after making changes, type the following on the command line and press the Enter key:
QQUIT
Information Builders |