|
Process Help EXTEND - extend a file with data entered in comma separated format |
Process Name |
Menu Path |
Link to Command Table |
EXTEND |
Command line only |
Introduction
Extends an existing file with data entered in free format.
How to use
The method of supplying the new data is described in full in the instructions for process INDATA.
Files, Fields and Parameters
Input Files
Name |
Description |
I/O Status |
Required |
Type |
IN |
File to be extended. |
Input |
Yes |
Undefined |
Output Files
Name |
I/O Status |
Required |
Type |
Description |
Notes
Records may not start with the character !. This is because the ! symbol acts as the end-of-data character. However, macro files, where the command starts with !, may be read if a blank is inserted prior to the ! symbol; but because records in a macro file are terminated as soon as the first comma is met, EXTEND is not suitable for extending macro files; EXTNDF is preferable.
On running the process the user is prompted for the following information:
>SYSFILE> |
External system file name from which the free format data is to be read, or return for entry from the keyboard. Format of the system file name is system specific, with a maximum of 56 characters allowed, including pathnames. |
|
|
>DATA> |
If no SYSFILE, data lines in free format. ! terminates. The rules for free format data entry are:
|
Example
!EXTEND &IN(SAMPLES.1)
<Listing of DD>
SYSFILE><return> to enter from keyboard.
DATA >10,12,ABC,15<return>
DATA >11.2,-,XYZ,10<return>
DATA >1,22,,4<return>
DATA >!<return>
Error and Warning Messages
Message |
Description |
Solution |
>>> SYSTEM FILE DOES NOT EXIST <<< |
The named file does not exist. Fatal; the process is exited. |
|
|
|
|