[Library] [Contents] [Revisions] [Prev Topic] [Next Topic] [Search] [Search Results] [Prev Topic Match] [Next Topic Match] [Notes] [List Notes] [Print] [Download] [Help]

APPENDIX1.2.1.1.3 Continuation of a Line in Input Mode



In input mode, there are two independent situations that require you to indicate the continuation of a line by ending it with a hyphen or plus sign (that is, a hyphen or plus sign followed immediately by pressing the Enter key). The situations are:



   If none of these situations apply, avoid ending a line with a hyphen 
   (minus sign) because it is removed by the system before storing the line 
   in your data set. 


   You must use the hyphen when the syntax checking facility is active to 
   indicate that the logical line to be syntax checked consists of multiple 
   input lines. The editor then collects these lines (removing the hyphens) 
   and passes them as one logical line to the syntax scanner. However, each 
   individual input line (with its hyphen removed) is also stored separately 
   in your data set. 


   The hyphen is used to indicate logical line continuation in CLISTs. If the 
   CLIST is in variable-length record format (the default), the hyphen is not 
   removed by EDIT, but becomes part of the stored line in your data set and 
   is recognized when executed by the EXEC command processor. If the CLIST is 
   in fixed-length record format, a hyphen, placed eight character positions 
   before the end of the record and followed by a blank, is recognized as a 
   continuation when executed by the EXEC command processor. This assumes 
   that the line number field is defined to occupy the last eight positions 
   of the stored record. For example, if the operand LINE(80) is specified on 
   the EDIT command when defining the CLIST data set, the hyphen must be 
   placed in data position 72 of the input line followed immediately by a 
   blank. Location of a particular input data column is described under the 
   TABSET subcommand of EDIT. 


   Note that these rules apply only when entering data in input mode. When 
   you use a subcommand (for example, CHANGE or INSERT) to enter data, a 
   hyphen at the end of the line indicates subcommand continuation. The 
   system appends the continuation data to the subcommand. 




[Prev Topic] [Next Topic] © Copyright IBM Corp. 1988, 2000

IBM BookManager® BookServer Copyright 1989, 1999 IBM Corporation. All rights reserved.


Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]

Glossary - IBM Dictionary of Computing

How to: [ Order publications | Contact OS/390 ]