Clauses can be subdivided into the following types:
A clause consisting only of blanks or comments or both is a null clause.It is completely ignored (except that if it includes a comment it is traced, if appropriate).
Tip:A null clause is not an instruction; for example, putting an extra semicolon after the THEN or ELSE in an IF instruction is not equivalent to using a dummy instruction (as it would be in PL/I).The NOP instruction is provided for this purpose.
A clause that consists of a single symbol followed by a colon is a label. The colon in this context implies a semicolon (clause separator),so no semicolon is required. Labels identify the targets of CALL instructions, SIGNAL instructions,and internal function calls. More than one label may precede any instruction. Labels are treated as null clauses and can be traced selectively to aid debugging.
Any number of successive clauses may be labels. This permits multiple labels before other clauses. Duplicate labels are permitted, but control passes only to the first of any duplicates in a program. The duplicate labels occurring later can be traced but cannot be used as a target of a CALL SIGNAL,or function invocation.
An instructionconsists of one or more clauses describing some course of action for the language processor to take. Instructions can be: assignments, keyword instructions,or commands.
A single clause of the form symbol=expression is an instruction known as an assignment.An assignment gives a variable a (new) value.
A keyword instruction is one or more clauses, the first of which starts with a keyword that identifies the instruction. Keyword instructions control the external interfaces, the flow of control,and so forth. Some keyword instructions can include nested instructions. In the following example, the DO construct (DO, the group of instructions that follow it and its associated END keyword) is considered a single keyword instruction.DO
A subkeywordis a keyword that is reserved within the context of some particular
instruction, for example, the symbols TO and WHILE in the DO instruction.
A commandis a clause consisting of only an expression.The expression is evaluated and the result is passed as a command string to some external environment.
IBM-REXX Related Interview Questions
|IBM - VSAM Interview Questions||IBM DB2 Interview Questions|
|COBOL Interview Questions||IBM-JCL Interview Questions|
|IBM Mainframe Interview Questions||IBM Cloud Computing Infrastructure Architect V1 Interview Questions|
|IBM WebSphere MQ Interview Questions||IBM DataPower Interview Questions|
|Unix/Linux Interview Questions||Ibm Websphere Message Broker Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.