### mainframe Online Quiz - 62

 Description: mainframe Online Quiz - 62 Number of Questions: 20 Created by: Aliensbrain Bot 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 POS('KUM',RAMAKUMAR)

1. 3

2. 4

3. 5

4. 6

Correct Option: C

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

2. Space Abend

4. Time Out abend

Correct Option: B
1. SQL CODE 100

2. SQL CODE -911

3. SCLCODE -811

4. SQLCODE -305

Correct Option: A
1. True

2. False

Correct Option: A

WS-NUM-1 PIC S9(04)MOVE -95 TO WS-NUM-1DISPLAY WS-NUM-1 What will be the display?

1. 009E

2. 009N

3. 0095

4. -0095

Correct Option: B

Data stored in TSQ can be accessed across multiple CICS regions

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?

2. ODTSO

3. ODUCC7

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
1. PF2

2. PF4

3. PF5

4. PF3

Correct Option: C

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