Correct 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
3. How do you fix the problem associated with VSAM out of space condition?
Correct 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
4. What are the three levels of definition for the VSAM DEFINE?
Correct Answer: Key Fields - (PROCOPT=K) - Used to sequence the database and can't be changed - It is the field within a segment, used to identify the occurrence of the segment - Used to maintain the IMS segments in ascending sequence Search Fields - (PROCOPT=G) - Used to search for a segment, without the segment being sequenced on that field - A segment need not have a key or search field Both types of fields can be used to search the database
8. What are the processing modes available in IMS DB?
Correct Answer: An in-stream PROC is defined right in the jcl stream and doesn't reside in the proclib This is an older technique associated with punched cards but it is still in use with setup and installation programs from vendors for the in-line perform instead of: perform add-paragraph until switch = 'y' you can code perform until switch = 'y' body of code end-perform body of code is the code from add-paragraph appearing in-line (ie right in the perform) instead of in a separate paragraph (out of line code)
10. In an AVL tree the balancing is to be done when the pivotal value is in range of