2 Replies Latest reply: Jun 15, 2013 5:16 AM by 1011576 RSS

    Error while running job from artjesadmin of Tuxedo Batch Runtime

    1011576

      Hi,  when I submit the job by entering artjesadmin>smj -i ../JCL/HELLO_WORLD_JCL.ksh , I am getting below error in Job LOG;

       

      JOB SK127YSM BEGIN AT 2013/05/31 09:50:56

      BEGIN PHASE START AT 2013/05/31 09:50:56

      END PHASE START AT 2013/05/31 09:50:56 (RC=C0000, JOBRC=C0000, ELAPSED=0)

      BEGIN PHASE STEP01 AT 2013/05/31 09:50:56

      RUNB BEGIN :

      RUNBATCH BEGIN :

      +>> Program BEGIN : SAMPL+

      ERROR    mi_ProgramExec: The program execution has an error (SAMPLE)

      END PHASE STEP01 AT 2013/05/31 09:50:58 (RC=U0900, JOBRC=U0900, ELAPSED=2)

      BEGIN PHASE END_JOB AT 2013/05/31 09:50:58

      END PHASE END_JOB AT 2013/05/31 09:50:58 (RC=C0000, JOBRC=U0900, ELAPSED=0)

      JOB ENDED ABNORMALLY WITH CODE (U0900) AT 2013/05/31 09:50:58

      ERROR    mi_FileEmpty: The type UNKNOWN of file is unknown

      mi_JobEnd: Internal Error (mi_FileEmpty -r mt_FileEmpty "/root/workspace/app/00000001/SYSOUT/HELLO_WORLD_JCL_00000001__SYSPRINT_1") RC=123

       

      Does any one know 's why we get this error and what does RC=U0900 represent.

      Also I checked m_ProgramExec API in /ejr directory and this file doesn't have any statement to execute the program name passed to it as parameter.

        • 1. Re: Error while running job from artjesadmin of Tuxedo Batch Runtime
          Bobfinan - Oracle-Oracle

          Hi:

          I believe the error is the exit status passed on from the HELLO_WORLD_JCL.ksh.

          Possibly an executable crashed with SIGKILL (==9) and that status was returned by the ksh script.

          I notice that your smj command declaration did not pass in any options to the ksh script using "-o". If the ksh script calls an executable that requires an input option

          (e.g. a COBOL simpcl executable) it may have crashed. Check if your ksh script needs to pass in options and also check if  a core file was generated.

           

          Regards,

          Bob Finan

          • 2. Re: Error while running job from artjesadmin of Tuxedo Batch Runtime
            1011576

            I think I have got whats the problem .

             

            Syntax for calling m_ProgramExec is "m_ProgramExec [OPTIONS] Program [Args .....] ". And when this API is called it checks the number of arguments and I think its expecting miminum 2 args . When I ran the converted .ksh with m_ProgramExec SAMPLE  it gave error as specified above. But when I corrected the converted .ksh with m_ProgramExec SAMPLE "agrs"  . Then it ran successfully. (though the arguments were dummy)

             

            Thanks Bob for your help.

             

            Regards,

            Naresh Gupta.