CICS - 3 Flashcards

1
Q

Which command would you use to read the next record?

  Read Prev 
  StartBr 
  EndBr 
  Read Next 
  Update
A

Read Next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which is the correct key length parameter on the CICS WRITE command?

KEYLENGTH(data-value)
RIDLENGTH(data-value)
RECLENGTH(data-value)
BLKLENGTH(data-value)

A

KEYLENGTH(data-value)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which is the correct sentence here?

XCTL: control is passed back to the original program
LINK: control is passed back to the original program

A

LINK: control is passed back to the original program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Find the incorrect statement here

When we finished reading a file sequentiallly, we terminate the browse using the ENDBR command.
The RESETBR command allows us to reset our starting point in the middle of a browse.
The REWRITE COMMAND is non existent and not used in CICS
The IGNORE condition on a HANDLE condition command is to specify that no action is taken if a condition occurs.

A

The REWRITE COMMAND is non existent and not used in CICS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

EXEC CICS HANDLE CONDITION

DUPKEY (AAA-DUPKEY-PAR)

ERROR (BBB-GEN-ERROR-PAR)

END-EXEC.

Look at this Handle Condition above: If the program detected that a RECORD NOT FOUND error which paragraph will it be directed to?

AAA-DUPKEY-PAR
BBB-GEN-ERROR-PAR
CCC-PAR-NOT-HERE
DDD-NOT-VALID-PAR

A

BBB-GEN-ERROR-PAR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which CICS command would you use to start reading a file from a specific key?

  Read Prev 
  StartBr 
  EndBr 
  Read Next 
  Update
A

StartBr

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which CICS command goes back to the next higher logical level?

  EXEC CICS PERFORM 
  EXEC CICS UP 
  EXEC CICS STOP 
  EXEC CICS EXIT 
  EXEC CICS RETURN
A

EXEC CICS RETURN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the RIDFLD on a CICS READ?

Key Value
Length
Keylength
File Name

A

Key Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What error handling condition would you use to perform an error paragraph if it finds an error that was not defined in your Handle Condition (like a catch-all)?

  SEND 
  RECEIVE 
  LEGTHERROR 
  ERROR 
  DELETE
A

ERROR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the fundamental explanation of XCTL?

Pass control from one program to another at the same level
Controls the flow of CICS commands
Sets up the CIS Maps/Screen
It’s a repository for all programs

A

Pass control from one program to another at the same level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly