The REQHST file

If the LOG(*YES) parameter is specified the SBMITPJOB command will log status information in the file REQHST. This file should be in the library list.

This file has the following format:

R REQHST
  SERVICE       64          TEXT('Service')
  USER          10          TEXT('User')
  HOST          64          TEXT('Host')
  PORT          16          TEXT('Port')
  JOBID         32          TEXT('Job ID')
  DATE           8  0       TEXT('Date')
  TIME           6  0       TEXT('Time')
  SYNC           1          TEXT('Synchronous request')
  STATUS         1          TEXT('Status')
  MESSAGE     1024          TEXT('Message text')

The STATUS field indicates the type of message:

C Successful completion

D Received a file from the ITP/Server. The MESSAGE field contains the filename on the AS/400

F Failure

P Progress message from the ITP/Server

S Start-up message. This message is logged for every request

U Sent a file to the ITP/Server. The MESSAGE field contains the filename on the AS/400