Previous Topic: Components Used with the FIRST CommandNext Topic: INCLUDE Command


IGNORE Line Command

The IGNORE line command refreshes only the line containing it. The contents of the line are restored as they were at the start of the current transaction. Any change made to the data on that line is not applied.

This command has the following format:

IGNORE

Example

In the following example, changes are made to the data in the region in the form of comments being added. The IGNORE line command is then entered on a line where a comment was typed.

=>

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: PROCEDURE DEFINITION PGM CRTEST (001) TEST SYS: $ID FILL-IN ....+....1....+....2....+....3....+....4....+....5....+....6....+....7..Command ================================ T O P ================================= ====== SELECT :INCLUDE ADDITIONAL PF KEY 000100 WHEN $ENTER-KEY :SELECTIONS 000200 FOR EMPLOYEE :AND THE CLEAR KEY IGNORE WHERE EMPLOYEE.NUMBER = DISPLANEL.NUMBER 000400 MOVE DISPANEL TO EMPLOYEE BY NAME 000500 WHEN NONE 000600 SET DISPANEL.MSG = 'EMPLOYEE DELETED' 000700 SET ATTR HIGHLIGHT TEMP ON DISPANEL.NUMBER 000800 ENDFOR 000900

The following example shows that the comment entered on the line containing the IGNORE line command was not applied.

=>

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: PROCEDURE DEFINITION PGM CRTEST (001) TEST SYS: $ID FILL-IN ....+....1....+....2....+....3....+....4....+....5....+....6....+....7..Command ================================ T O P ================================= ====== SELECT :INCLUDE ADDITIONAL PF KEY 000100 WHEN $ENTER-KEY :SELECTIONS 000200 FOR EMPLOYEE 000300 WHERE EMPLOYEE.NUMBER = DISPLANEL.NUMBER 000400 MOVE DISPANEL TO EMPLOYEE BY NAME 000500 WHEN NONE 000600 SET DISPANEL.MSG = 'EMPLOYEE DELETED' 000700 SET ATTR HIGHLIGHT TEMP ON DISPANEL.NUMBER 000800 ENDFOR 000900