• No : 17786
  • Open Date : 2014/03/26 09:28
  • 更新日時 : 2018/07/09 10:11
  • Print

How To Check Return Values of Utility

Please tell me how to check the return values of HULFT product’s utility such as utlsend.
Category : 

Answer

The following are the methods to check the return values for each OS version.

  • For Windows:
    echo %ERRORLEVEL%
     
  • For UNIX/Linux (b shell type)
    echo $?
     
  • For UNIX/Linux (c shell type)
    echo $status
     
  • For IBM
    Please use the "OUTPUT" or "EXIT" parameters of various utility arguments to output error and status codes.
    For the utility arguments, please refer to the "Operation manual" corresponding to each version.
     
  • For Mainframe
    Please check the console log or the job log.