0

mainframe Online Quiz - 62

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

What is the range of length of JOB NAME?

  1. 1-10

  2. 1-8

  3. 8

  4. 1-5


Correct Option: B

A Maximum of 256 EXEC Statements can be coded in a single job.

  1. True

  2. False


Correct Option: B

Temporary Datasets can be coded by using two ampersands followed by name.

  1. True

  2. False


Correct Option: A

VERY = VERIFY(RAMKUMAR,'JJK',M) SAY 'VERY IS : ' VERY

  1. 3

  2. 4

  3. 1

  4. 2


Correct Option: B

SAY INSERT('RAMKUM','ORD', 10, 6)

  1. ORD RAMKUM

  2. RAMKUM ORD

  3. RAMORD KUM

  4. ORDRAM KUM


Correct Option: A

SUM = 123 D = RIGHT(LEFT(SUM,7,'0'),10,'0') SAY D

  1. 0000000123

  2. 0000123000

  3. 1230000000

  4. 0001230000


Correct Option: D

A = WORDINDEX('RAM KUMAR IS',2) B = WORDLENGTH('RAM KUMAR IS',1) SAY A || B

  1. 331

  2. 131

  3. 113

  4. 133


Correct Option: C

1) //CKPTPARM DD * RMYPX555,FORCEALL=Y,CKPTABND=00002,PGMNAME=&PGM,PGMOCC=TEST The above statetment in a JCL

  1. takes a checkpoint after two records

  2. takes a check point every 2 seconds

  3. abends before taking the second check point

  4. takes a check point every 2 minutes


Correct Option: C

AI Explanation

To answer this question, let's analyze the provided statement in the JCL:

//CKPTPARM DD * RMYPX555,FORCEALL=Y,CKPTABND=00002,PGMNAME=&PGM,PGMOCC=TEST

The "CKPTPARM" statement is used to specify checkpoint parameters for a program. The specific parameter being used in this case is "CKPTABND=00002".

Option A) takes a checkpoint after two records This option is incorrect because the "CKPTABND" parameter does not specify a record count. Instead, it specifies a checkpoint boundary value.

Option B) takes a checkpoint every 2 seconds This option is incorrect because the "CKPTABND" parameter does not specify a time interval. Instead, it specifies a checkpoint boundary value.

Option C) abends before taking the second checkpoint This option is correct because the "CKPTABND=00002" parameter specifies that the program should abend (terminate with an error) before taking the second checkpoint. The value "00002" indicates that the program should abend after reaching the second checkpoint boundary.

Option D) takes a checkpoint every 2 minutes This option is incorrect because the "CKPTABND" parameter does not specify a time interval. Instead, it specifies a checkpoint boundary value.

Therefore, the correct answer is C) abends before taking the second checkpoint.

Load Modules of programs can be created as Sequential files

  1. True

  2. False


Correct Option: B

JCL abend code S822 pertains to

  1. Data Set Not found

  2. Space Abend

  3. Load module not found

  4. Time Out abend


Correct Option: B

SQL STATE 2000 is the same as

  1. SQL CODE 100

  2. SQL CODE -911

  3. SCLCODE -811

  4. SQLCODE -305


Correct Option: A

I can set the return code of JCL from my program

  1. True

  2. False


Correct Option: A

If a STOP RUN or GO BACK statement is not present in the program, the job will abend

  1. True

  2. False


Correct Option: A

What we give as system to go to CA7?

  1. ADTSO

  2. ODTSO

  3. ODUCC7

  4. ADUCC7


Correct Option: C

What is the command to display all job information for a particular job?

  1. LJOB,LIST=TRIG,JOB=

  2. LJOB,LIST=ALL ,JOB=

  3. LJOB,LIST=RQJOB,JOB=

  4. LQ,SEQ=JOB


Correct Option: B

List of all job in CA7 Queue and their status (PF Key)

  1. PF2

  2. PF4

  3. PF5

  4. PF3


Correct Option: C

AI Explanation

To view the list of all jobs in the CA7 Queue and their status, you would typically use the CA7 command line interface. Each PF key corresponds to a specific command or function in CA7.

Let's go through each option to understand its functionality:

Option A) PF2 - The PF2 key in CA7 is generally used for scrolling through lists or pages of information. It does not provide a direct command to view the list of jobs in the CA7 Queue and their status.

Option B) PF4 - The PF4 key in CA7 is typically used for returning to a previous screen or menu. It does not provide a direct command to view the list of jobs in the CA7 Queue and their status.

Option C) PF5 - The PF5 key in CA7 is commonly used to display the list of jobs in the CA7 Queue and their status. This option allows you to view the jobs currently in the queue and their corresponding status.

Option D) PF3 - The PF3 key in CA7 is often used for canceling or deleting a job. It does not provide a direct command to view the list of jobs in the CA7 Queue and their status.

Based on the explanation provided, the correct answer is Option C) PF5, as it allows you to view the list of all jobs in the CA7 Queue and their status.

What is the PF key is ued to view the schedule and calander for a job

  1. PF4

  2. PF8

  3. PF9

  4. PF10


Correct Option: B
- Hide questions