1) Suppose an indexed file has following value in Key
to read this file in Cobol the Key is initialized with Zeros and a START command is issued having Key=<key varaiable name>. Now if a READ NEXT is issued,which record it wil read?
a) record having key SANJIB
b) record having key SANATH
c) record having key 358796
d) No record wil be read because there is no key '00000'
e) record having key 532176
2) Can the same file be used by both calling and called module?
a)yes but the called module does not have any SELECT clause or FD entry for that file
b)Yes,provided callin module closes the file befor called module opens and viceversa
c)no if one program makes update that wil not be visible to the other program
d) yes in JCL the mode has to be DISP=SHR
e)Yes only KSDS files can be used in this way with SHARE OPTION=(2,3)