0

mainframe Online Quiz - 136

Description: mainframe Online Quiz - 136
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

DATASORT allows you to sort data records between header records and trailer records.

  1. True

  2. False


Correct Option: A
  1. SELECT FROM(IN) TO(OUT1) ON(5,4,ZD) FIRSTDUP USING(CTL1)

  2. SELECT FROMFILE(IN) TOFILE(OUT1) ON(5,4,ZD) FIRSTDUP USING(CTL1)

  3. SELECT file1(IN) file2(OUT1) ON(5,4,ZD) FIRSTDUP USING(CTL1)

  4. None of the above


Correct Option: A

Identify the correct sysntax:

  1. None of the Below

  2. SUBSET IN1 TO OUT1

  3. SUBSET FROM(IN1) OF(OUT1)

  4. SUBSET FROM(IN1) TO(OUT1)


Correct Option: A
  1. STOP RUN is the last executable statement of the main program. It returns control back to OS.

  2. EXIT PROGRAM is the last executable statement of sub-program. It returns control back to main program.

  3. GOBACK can be coded in main program as well as sub-program as the last statement. It just gives the control back from where it received the control.

  4. None of the above.


Correct Option: A,B,C
  1. CLASS

  2. TYPRUN

  3. PRTY

  4. TYPERUN


Correct Option: D
  1. JOB Statement

  2. EXEC Statement

  3. NONE

  4. Both JOB and EXEC statement


Correct Option: D

//MYJOB JOB (1111),'XXXX' //STEP1 EXEC PGM=DO12 //INFILE DD DSN=TEST.PXXXX.V01.TEST.LIB, // UNIT=SYSDA What this UNIT parameter specifies

  1. Address of INFILE

  2. Address of JOB

  3. Address of Program

  4. NONE


Correct Option: A

We can use Virtual storage for a Dataset

  1. True

  2. False


Correct Option: A

SPACE parameter is to allocate

  1. Cylinder

  2. Block

  3. Track

  4. Area


Correct Option: A,B,C

Wats the additional storage is used when primary storage in Cylinder space is not sufficient

  1. Secondary Storage

  2. Tracks

  3. Both

  4. None


Correct Option: A

DCB Expansion

  1. Data Conditional Block

  2. Device Control Block

  3. Data Control Block

  4. Device Conditional Block


Correct Option: C

AI Explanation

To answer this question, we need to understand what DCB stands for and what it represents.

DCB stands for Data Control Block. It is a data structure used in computer systems to manage and control data transfer between devices or processes. The DCB contains information such as the location of the data, the data format, and various control parameters.

Now let's go through each option to understand why it is correct or incorrect:

Option A) Data Conditional Block - This option is incorrect. There is no such term as "Data Conditional Block" in the context of DCB.

Option B) Device Control Block - This option is incorrect. Although a Device Control Block is a valid term in computer systems, it does not match the abbreviation DCB.

Option C) Data Control Block - This option is correct. The abbreviation DCB stands for Data Control Block, which is a data structure used to manage and control data transfer.

Option D) Device Conditional Block - This option is incorrect. Similar to Option A, there is no such term as "Device Conditional Block" in the context of DCB.

The correct answer is C) Data Control Block. This option is correct because it matches the abbreviation DCB and represents the correct term for the given abbreviation.

End of Procedure can be indicated by

  1. //PEND

  2. //

  3. //END

  4. //(Procedure name) END


Correct Option: A
- Hide questions