Ww:The TDOMS Logging facility/ja: Difference between revisions

From Remain Software
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
(No difference)

Revision as of 13:42, 18 September 2025

Back.gif

TD/OMSロギング機能

通常、「エラー」はTDユーザーによって作成された例外の結果です。しかし、オブジェクト転送中に何かが発生した場合、正確に何が起こったのかを知りたいです。TDジョブ・ログでは、TD/OMSによって生成された特定のエラー・メッセージを検索できます。TDジョブ・ログを表示するには、DSPLOGOMSコマンドが使用されます。メニュー「作業管理」でオプション13を使用することもできます。

Working With 30.png

Date

Enter the date you wish to filter in the list, and the list will display only the jobs started on that date.

Note:  By default, jobs from all dates are shown.

Filter

The Filter prompt can be used for quick filtering of the list.

Filter string
Type the code or partial code of the fields below that you want to display in the list.
Job number
User
Job name
Transfer number
Task (Fix)


ここでは、OMS_ERRORというジョブと他のジョブの二種類のログ・レベルがあります。最初のものは、転送中に発生したエラーに関する詳細を提供します。

  • 5 to show the details of the job.
  • 6 to create a spoolfile with the details of the job.
  • 8 to display the job information. Option 4 of the job information gives you access to the job-specific spoolfiles (e.g. the joblog)

Objects in Error

The OMS_ERROR log provides more information about the specific objects that failed during a transfer. This enables you to pinpoint the cause of the issue.

TD/OMSに問題があった理由を述べます。エラー番号を使用します。

Working With 31.png


エラー番号の付いた行の前にオプション8を置くと、エラーの原因と対応方法を詳しく説明します。

For example:

Working With 32.png

二番目は転送のログです。

オプション8を選択すると、転送に関する詳細情報が表示されます。「エラー」や「警告」が発生したかどうかを確認することもできます。エラーの場合、TD/OMSは転送を停止します。転送中に何か起こったという警告があった場合、とにかくTD/OMSはアクションを終了しました。

Working With 33.png

「関係の再構築を開始」はすべての転送のジョブ・ログの最後の行です。

TD/OMSがプログラムを「ダンプ」すると、ダンプの理由に関する情報を含むスプール・ファイルが作成されます。

Log Analysis

All log entries are stored in file OMLOG. With this file, you can do a log analysis. Here are some of the messages that you could query for:

Message ID  Severity  Message Text                                 
 OTP0031        0     Start creating object &5/&3 type &4.         
 OTP0032        0     Start creating &9 &7 of object &5/&3 type &4.
 OTP0033        0     Start deleting object &5/&3 type &4.         
 OTP0034        0     Start deleting &9 &7 of object &5/&3 type &4.
 OTP1003        0     Start creating &1 object &3.                 
 OTP1004        0     Start deleting &1 object &3. 
               

Below is an example of what you could see in the log.

        5=Display  8=Display Section                                                  
          Message                                                         
OTP0001   Start Object Transfer OM008315 for application XMP with Fix XT0210
OTP0002   Start library list 00161 in environment *TST                       
OTP0034   Start deleting member MCPSRVPGM of object SBDEVDTL/QCPYLESRC type *FILE.
OTP0032   Start creating member MCPSRVPGM2 of object SBDEVDTL/QCPYLESRC type *FILE.
OTP0034   Start deleting message ID MSG0002 of object SBDEV/SBTSTMSG type *MSGF.
OTP0032   Start creating message ID MSG0005 of object SBDEV/SBTSTMSG type *MSGF.
OTP0033   Start deleting object SBDEV/ABCDEF1 type *PGM.                        
OTP0031   Start creating object SBDEV/ABCTST4 type *PGM.                        
OTP1003   Start creating *STMF object add.phtml.                                 
OTP1004   Start deleting *STMF object application.ini.                        
OTP0013   Starting clean-up                                                      
OTP0012   Starting distribution.                                                 
OTP0009   Processing completed normally. 7 object(s) created.                    
OTP0007   Processing ended with 1 errors and 0 warnings