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

Identify the correct syntax.

  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

Which one is not a Non Numeric picture clause?

  1. A

  2. B

  3. V

  4. X


Correct Option: C

How many Paragraphs are optional in Identification Division?

  1. 4

  2. 5

  3. 6

  4. 7


Correct Option: B

DBCS (Double Byte Character Set) is used in the applications that support large character sets.

  1. True

  2. False


Correct Option: A

Find out the correct statements:

  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

VALUE clause is used to initialize the data items in the working storage section whereas INITIALIZE is used to initialize the data items in the procedure division.

  1. True

  2. False


Correct Option: A

Find Odd man out of JOB Statements:

  1. CLASS

  2. TYPRUN

  3. PRTY

  4. TYPERUN


Correct Option: D

How do you designate a comment in JCL

  1. //

  2. //*

  3. /*

  4. //**


Correct Option: B

Which takes highest priority when both STEP and JOB lib are present in JCL

  1. STEP

  2. JOB

  3. BOTH

  4. No priority


Correct Option: A

How many EXEC statements can be present in a single Job

  1. 225

  2. 255

  3. 128

  4. 365


Correct Option: B

COND is a parameter of

  1. JOB Statement

  2. EXEC Statement

  3. NONE

  4. Both JOB and EXEC statement


Correct Option: D

Temporary datasets can be created either by not specifying any DSNAME or by specifying the temporary file indicator as in

  1. DSN=&&TEMP

  2. DSN = &*TEMP

  3. DSN = &TEMP

  4. DSN =TEMP


Correct Option: A

//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