Pergunta de entrevista da empresa Capital One

How do you tell the return code of a program in JCL? What's the difference between subscript and index? What are the different types of VSAM files?