[(@{TAB,'c'@}, @dots{})]
[@{NOTABLE,TABLE@}]
[FILE='file-name']
- [END=end_var]
[SKIP=record_cnt]
/var_spec@dots{}
The NOTABLE and TABLE subcommands are as in @cmd{DATA LIST FIXED} above.
NOTABLE is the default.
-The FILE, END, and SKIP subcommands are as in @cmd{DATA LIST FIXED} above.
+The FILE and SKIP subcommands are as in @cmd{DATA LIST FIXED} above.
The variables to be parsed are given as a single list of variable names.
This list must be introduced by a single slash (@samp{/}). The set of
[(@{TAB,'c'@}, @dots{})]
[@{NOTABLE,TABLE@}]
[FILE='file-name']
- [END=end_var]
[SKIP=record_count]
/var_spec@dots{}
if (dls->type == -1)
dls->type = DLS_FIXED;
+ if (dls->type != DLS_FIXED && dls->end != NULL)
+ {
+ msg (SE, _("The END keyword may be used only with DATA LIST FIXED."));
+ goto error;
+ }
+
if (table == -1)
table = dls->type != DLS_FREE;