Error handling when calling .bat within .bat : I am trying call a .bat file from within a .bat file. This is how the call is invoked : 

  call %FWK_DIR%\run_sqlldr_process.bat !ldr!.ctl !log!.log !bad!.bad !data!.dat %BATCHUSER% %BATCHPWD% %ORACLE_SID%
echo %ERRORLEVEL%
echo %RC%

There is a failure inside run_sqlldr_process.bat after which run_sqlldr_process.bat fails with return code 1 and exits with RC = 1. However, the parent .bat file does not capture the failed return code from run_sqlldr_process.bat. Both the echo statements return 0 and the parent script completes successfully. Please provide any pointers.