Hi,
I am new to mainframe and this forum. I had attented a interview recently and they asked me an question in cobol which i had no idea about. The question is:
1. A main program (Prog A) --> in Cobol 3 with compiler option Rmode(24). Is calling a sub program (Prog B) in Cobol 3 with the compiler options AMODE(31) RMODE(ANY). They asked me if the program will abend because of Rmode(24) option in main program. Can any one please let me know if the program will abend?
Also i am curious to know what will happen if the Main program in Cobol 3 with compiler option Rmode(24),Data(24) call a sub program in cobol 3 with compiler option AMODE(31) RMODE(ANY)? would this abbend.
Can any one please help me in this.
Thanks in advance,
Sheela.