I'm using the following compile JCL to compile two programs (FDUAA & FAAAA).
//CMPLINKJ EXEC YOPTCLNK
//COMP.SYSLIB DD DSN=MACRO.PRODY2K,DISP=SHR
// DD DSN=MACRO.TRANY2K,DISP=SHR
// DD DSN=MACRO.TESTY2K,DISP=SHR
//COMP.SYSIN DD DSN=MSN.PL1.SOURCE(*),DISP=SHR << *FAAAA or FDUAA
//LINK.SYSLMOD DD DSN=MSN.COMPL.PL1.LOAD,DISP=SHR
//LINK.SYSIN DD *
NAME FAABK(R)
/*
//COMP.SYSLIB DD DSN=MACRO.PRODY2K,DISP=SHR
// DD DSN=MACRO.TRANY2K,DISP=SHR
// DD DSN=MACRO.TESTY2K,DISP=SHR
//COMP.SYSIN DD DSN=MSN.PL1.SOURCE(*),DISP=SHR << *FAAAA or FDUAA
//LINK.SYSLMOD DD DSN=MSN.COMPL.PL1.LOAD,DISP=SHR
//LINK.SYSIN DD *
NAME FAABK(R)
/*
But wen i look at the load i could see that
the load of FDUAA is generated with AMODE = 24, RMODE = 24
but
the load of FAAAA is generated with AMODE = 31, RMODE = ANY.
Both are almost similar programs.
Can anyone please explain this behaviour.
Thanks in advance
Nirmal.