Searching for "VSAM"

Q:

What are the different types of VSAM files available?

Answer

ESDS: Entry Sequence Data Set


KSDS: Key Sequence Data Set


RRDS: Relative Data Set

Report Error

View answer Workspace Report Error Discuss

Q:

What are the three levels of definition for the VSAM DEFINE?

Answer

They are DEFINE CLUSTER, DATA and INDEX.

Report Error

View answer Workspace Report Error Discuss

Q:

How do you fix the problem associated with VSAM out of space condition?

Answer

Define new VSAM dataset allocated with more space.


Use IDCAMS to REPRO the old VSAM file to new VSAM dataset.


Use IDCAMS to ALTER / RENAME the old VSAM dataset to DELETE the old VSAM datset.


Use IDCAMS to ALTER / RENAME the new VSAM dataset to the name of the original VSAM dataset.

Report Error

View answer Workspace Report Error Discuss

Q:

What is a VSAM slot?

Answer

A relative record dataset (RRDS) consists of a specified number of areas called slots. Each slot is identified by a relative record number (RRN) which indicates its relative position in the file.

Report Error

View answer Workspace Report Error Discuss

Q:

Assuming that the DEFINE JCL is not available, how do you get info about a VSAM files organisation?

Answer

Use the LISTCAT command.

Report Error

View answer Workspace Report Error Discuss

Q:

Name some common VSAM error conditions and codes?

Answer

End of file  (10)


Duplicate key (22)


Record not found (23)


VSAM logic error  (90)


Open problem  (92)


Space problem (93)

Report Error

View answer Workspace Report Error Discuss

Q:

During processing of a VSAM file, some system error occurs and it is subsequently unusable What do you do?

Answer

Run VERIFY.

Report Error

View answer Workspace Report Error Discuss

Q:

What is the meaning of VSAM RETURN-CODE 28?

Answer

Out of space condition is raised.

Report Error

View answer Workspace Report Error Discuss