What statement marks the end of instream or catalogued procedure?

  1. STREAM

  2. SET

  3. PROC

  4. PEND


Correct Option: D

AI Explanation

To answer this question, you need to understand the syntax and structure of programming languages.

The correct answer is D) PEND. This statement marks the end of an instream or catalogued procedure.

In some programming languages, such as IBM's Job Control Language (JCL), the PEND statement is used to indicate the end of a procedure. It is usually placed at the end of the procedure to signal that there are no more statements to be executed within that procedure.

Options A) STREAM, B) SET, and C) PROC are not typically used to mark the end of an instream or catalogued procedure. STREAM is often used to specify input/output streams in some programming languages. SET is commonly used to assign values to variables. PROC is usually used to define or invoke a procedure.

Therefore, the correct statement that marks the end of an instream or catalogued procedure is option D) PEND.

Find more quizzes: