Tag: mainframe

Questions Related to mainframe

Which family does TPF belongs to?

  1. IBM System/360

  2. IBM System/390

  3. IBM System/370

  4. IBM System/3090


Correct Option: A
  1. 3;Identification,Environment, Procedure

  2. 4;Cofiguration, Input Output, File section, Procedure

  3. 3;Environment, Library, Activity

  4. 3; Configuration, File section, Procedure


Correct Option: C

Which is the only mandatory section of an easytrieve program?

  1. Activity

  2. Identification

  3. Procedure

  4. Environent


Correct Option: A

AI Explanation

To answer this question, you need to understand the structure of an Easytrieve program.

Option A) Activity - This option is correct because the Activity section is the only mandatory section of an Easytrieve program. The Activity section contains the main logic and processing instructions of the program.

Option B) Identification - This option is incorrect because the Identification section is not mandatory. The Identification section is used to provide information about the program, such as the program name and author.

Option C) Procedure - This option is incorrect because the Procedure section is not mandatory. The Procedure section is used to define reusable code segments that can be called from different parts of the program.

Option D) Environment - This option is incorrect because the Environment section is not mandatory. The Environment section is used to specify file definitions and other environmental settings for the program.

The correct answer is A) Activity. This option is correct because the Activity section is the only mandatory section of an Easytrieve program, containing the main logic and processing instructions.

An easytrieve file is defined as given. NAME * 10 A What does '*' indicates here?

  1. It does not indicates anything , it is a syntax error.

  2. It indicates that the field will begin in next position.

  3. It indicates that no data record is present before 'NAME'.

  4. It indicates no data record exists after 'NAME'.


Correct Option: B
  1. JOB activity, LOOP activity

  2. PROCEDURE activity, SECTION activity

  3. JOB activity, SORT activity

  4. STATEMENT activity, PARAGRAPH activity


Correct Option: C
  1. Library, Activity

  2. Environment, Activity

  3. Activity

  4. Environmet, Library


Correct Option: A