12.07.2015 Views

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

z/OS V1R9.0 TSO/E Command Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EDIT—INPUT SubcommandEDIT—INPUT subcommand operandsline_numberspecifies the line number and location for the first new line of input. If nooperands are specified, input data is added to the end of the data set.incrementspecifies the amount that you want each succeeding line number to beincreased. If you omit this operand, the default is the last increment specifiedwith the INPUT or RENUM subcommand. If neither of these subcommands hasbeen specified with an increment operand, an increment of 10 is used.* specifies the next new line of input either replaces or follows the line pointed toby the current line pointer, depending on whether you specify the R or Ioperand. If an increment is specified with this operand, it is ignored.R specifies that you want to replace existing lines of data and insert new lines intothe data set. If you fail to specify either a line number or an asterisk, thisoperand is ignored. If the specified line already exists, the old line is replacedby the new line. If the specified line is vacant, the new line is inserted at thatlocation. If the increment is greater than 1, all lines between the replacementlines are deleted.I specifies that you want to insert new lines into the data set without alteringexisting lines of data. If you fail to specify either a line number or an asterisk,this operand is ignored.PROMPT | NOPROMPTPROMPTspecifies that you want the system to display either a line number or, if thedata set is not line numbered, a prompting character before each new inputline. If you omit this operand, the default is:v The value (either PROMPT or NOPROMPT) that was established the lasttime you used input mode.v PROMPT, if this is the first use of input mode and the data set has linenumbers.v NOPROMPT, if this is the first use of input mode and the data set doesnot have line numbers.NOPROMPTspecifies that you do not want to be prompted.EDIT—INPUT subcommand examplesExample 1: Operation: Add and replace data in an existing data set.Known:v The data set is to contain line numbers.v Prompting is specified.v The ability to replace lines is specified.v The first line number: 2v The increment value for line numbers: 2input 2 2 r promptThe display at your terminal will resemble the following with your input in lowercaseand the system’s response in uppercase.edit quer cobol oldEDITinput 2 2 r promptChapter 1. <strong>TSO</strong>/E commands and subcommands 105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!