ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/pjl.htm

722 lines
43 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Primary job log model" />
<meta name="abstract" content="The IBM supplied model for the primary job log file is QAMHJLPR in library QSYS. The primary record format is QMHPFT." />
<meta name="description" content="The IBM supplied model for the primary job log file is QAMHJLPR in library QSYS. The primary record format is QMHPFT." />
<meta name="DC.subject" content="model for primary job log, job log, model for primary, field definition, QMHJDT, QMHTIM, field definition, QMHMF, QMHRPY, QMHRQS, QMHSSN, QMHRSN, QMHCID, QMHPRL, QMHSPR, QMHSPG, QMHSLB, QMHSTM, QMHRPR, QMHRMD, QMHRPG, QMHRLB, QMHRTM, QMHSYS, QMHJOB, QMHMDT, QMHCSP, QMHCRP, QMHLSP, QMHTID, QMHMSC, QMHJTS, QMHMKS, QMHSYN, QMHJBN, QMHLNN, QMHSID, QMHTTY, QMHLIN, QMHSMD, QMHSTY, QMHRTY, QMHSEV, QMHMID, QMHDAT, QMHJTM, QMHMRK, QMHTYP" />
<meta name="keywords" content="model for primary job log, job log, model for primary, field definition, QMHJDT, QMHTIM, field definition, QMHMF, QMHRPY, QMHRQS, QMHSSN, QMHRSN, QMHCID, QMHPRL, QMHSPR, QMHSPG, QMHSLB, QMHSTM, QMHRPR, QMHRMD, QMHRPG, QMHRLB, QMHRTM, QMHSYS, QMHJOB, QMHMDT, QMHCSP, QMHCRP, QMHLSP, QMHTID, QMHMSC, QMHJTS, QMHMKS, QMHSYN, QMHJBN, QMHLNN, QMHSID, QMHTTY, QMHLIN, QMHSMD, QMHSTY, QMHRTY, QMHSEV, QMHMID, QMHDAT, QMHJTM, QMHMRK, QMHTYP" />
<meta name="DC.Relation" scheme="URI" content="joblg.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="pjl" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Primary job log model</title>
</head>
<body id="pjl"><a name="pjl"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Primary job log model</h1>
<div><p>The IBM<sup>®</sup> supplied
model for the primary job log file is QAMHJLPR in library QSYS. The primary
record format is QMHPFT.</p>
<div class="section"><p>A detailed description of this format follows:</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><thead align="left"><tr><th align="right" valign="bottom" width="10.602910602910603%" id="d0e210">Field Order</th>
<th align="left" valign="bottom" width="19.334719334719335%" id="d0e212">Field Name</th>
<th align="left" valign="bottom" width="14.345114345114347%" id="d0e214">Data Type</th>
<th align="left" valign="bottom" width="15.800415800415802%" id="d0e216">Length in Bytes</th>
<th align="left" valign="bottom" width="39.91683991683992%" id="d0e218">Field Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">1</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHJDT</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">DATE</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Date job log created</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">2</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHJTM</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">TIME</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">8</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Time job log created</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">3</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHMRK</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message reference key</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">4</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHTYP</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message type</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">5</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSEV</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">BIN</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message severity</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">6</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHMID</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">7</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message ID</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">7</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHDAT</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">DATE</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message sent date</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">8</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHTIM</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">TIME</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">8</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message sent time</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">9</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHMF</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">20</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message file name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">10</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRPY</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Reply reference key</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">11</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRQS</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">1</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Request Message Status</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">12</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSTY</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">1</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Sending program type</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">13</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRTY</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">1</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Receiving program type</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">14</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSSN</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">BIN</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Number of statements for sending program</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">15</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRSN</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">BIN</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Number of statements for receiving program</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">16</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHCID</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">BIN</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">CCSID of the message data or immediate message</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">17</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHPRL</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">1</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message percolated indicator</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">18</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSPR</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">256 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Sending procedure name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">19</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSMD</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Sending module name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">20</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSPG</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">12</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Sending program name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">21</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSLB</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Sending library name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">22</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSTM</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">30</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Statement number(s) for sending program</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">23</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRPR</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">256 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Receiving procedure name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">24</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRMD</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Receiving module name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">25</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRPG</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Receiving program name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">26</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRLB</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Receiving program library name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">27</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHRTM</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">30</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Statement number(s) for receiving program</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">28</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHSYS</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">8</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">System name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">29</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHJOB</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">26</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Qualified Job name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">30</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHMDT</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">3000 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Message data or immediate message</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">31</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHCSP</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4096 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Complete sending procedure name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">32</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHCRP</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">4096 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Complete receiving procedure name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">33</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHLSP</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">VAR CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">6144 MAX</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Long sending program name</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">34</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHTID</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">8</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Thread</td>
</tr>
<tr><td align="left" valign="top" width="10.602910602910603%" headers="d0e210 ">35</td>
<td align="left" valign="top" width="19.334719334719335%" headers="d0e212 ">QMHMSC</td>
<td align="left" valign="top" width="14.345114345114347%" headers="d0e214 ">ZONED</td>
<td align="left" valign="top" width="15.800415800415802%" headers="d0e216 ">6,0</td>
<td align="left" valign="top" width="39.91683991683992%" headers="d0e218 ">Microseconds</td>
</tr>
<tr><td valign="top" width="10.602910602910603%" headers="d0e210 ">36</td>
<td valign="top" width="19.334719334719335%" headers="d0e212 ">QMHFUS</td>
<td valign="top" width="14.345114345114347%" headers="d0e214 ">CHAR</td>
<td valign="top" width="15.800415800415802%" headers="d0e216 ">10</td>
<td valign="top" width="39.91683991683992%" headers="d0e218 ">From user</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>The definition of the fields in this record are as follows: </p>
<dl><dt class="dlterm">QMHJDT</dt>
<dd>Date job log created; DATE(10) <p>The date the production of the job
log began. The field is a date field in the database record. The format of
the date is *ISO. A value in this date field is in the format yyyy-mm-dd.
Each record produced for the same job log will have the same value in this
field.</p>
</dd>
<dt class="dlterm">QMHJTM</dt>
<dd>Time job log create; TIME(8) <p>The time the production of the job log
began. This field is defined as a time field in the database record. The format
of the time is defined to be *ISO. A value in this time field is in the format
hh.mm.ss. Each record produced for the same job log will have the same value
in this field.</p>
</dd>
<dt class="dlterm">QMHMRK</dt>
<dd>Message reference key; CHAR(4) <p>The message reference key the related
message had in the job message queue. The records are placed in the primary
database file in strictly ascending sequence by message reference key. Within
the set of records produced for a single job log, this field is unique for
each record and thus can be used as a unique key for the record. If the records
for two or more job logs are placed into the same member, the key may no longer
be unique.</p>
</dd>
<dt class="dlterm">QMHTYP</dt>
<dd>Message type; CHAR(10) <div class="p">The message type of the related message. One
of the following special values will appear in this field: <dl><dt class="dlterm">*CMD</dt>
<dd>Commands that are logged from the execution of a CL program.</dd>
<dt class="dlterm">*COMP</dt>
<dd>Completion message type.</dd>
<dt class="dlterm">*COPY</dt>
<dd>Sender's copy message type.</dd>
<dt class="dlterm">*DIAG</dt>
<dd>Diagnostic message type.</dd>
<dt class="dlterm">*ESCAPE</dt>
<dd>Escape message type.</dd>
<dt class="dlterm">*INFO</dt>
<dd>Information message type.</dd>
<dt class="dlterm">*INQ</dt>
<dd>Inquiry message type.</dd>
<dt class="dlterm">*NOTIFY</dt>
<dd>Notify message type.</dd>
<dt class="dlterm">*RQS</dt>
<dd>Request message type.</dd>
<dt class="dlterm">*RPY</dt>
<dd>Reply message type.</dd>
</dl>
</div>
</dd>
<dt class="dlterm">QMHSEV</dt>
<dd>Message severity; BIN(4) <p>The severity the message has. This is a value
from 0 through 99.</p>
</dd>
<dt class="dlterm">QMHMID</dt>
<dd>Message ID; CHAR(7) <p>The message ID for the message. This field will
contain the special value *IMMED if the message is an immediate message which
has no message ID.</p>
</dd>
<dt class="dlterm">QMHDAT</dt>
<dd>Message sent date; DATE(10) <p>The date the message was sent. This field
is defined as a date field in the database record. The format of the date
is *ISO. A value in this field is in the format yyyy-mm-dd.</p>
</dd>
<dt class="dlterm">QMHTIM</dt>
<dd>Message sent time; TIME(8) <p>The time the message was sent. The field
is defined as a time field in the database record. The format of the time
is defined to be *ISO. A value in this field is in the format hh.mm.ss.</p>
</dd>
<dt class="dlterm">QMHMF</dt>
<dd>Message File; CHAR(20) <p>The name of the message file that is to be
used to obtain the message description for the message. The first 10 characters
of the field contain the message file name. The second 10 characters contain
the library name. If the field QMHMID contains *IMMED to indicate an immediate
message, this field will contain all blanks.</p>
</dd>
<dt class="dlterm">QMHRPY</dt>
<dd>Reply reference key; CHAR(4) <ul><li>If the message type of the message is inquiry, notify, or sender's copy,
this is the message reference key of the related reply message.</li>
<li>If there is no reply message available this field will contain a null
value ('00000000'X).</li>
<li>If the message type is not inquiry, notify, or sender's copy, this field
will also contain a null value.</li>
</ul>
<p>In order to maintain the strictly ascending sequence by message reference
key, the record for the reply message may not immediately follow the record
for the inquiry, notify, or sender's copy message.</p>
</dd>
<dt class="dlterm">QMHRQS</dt>
<dd>Request Message Status; CHAR(1) <ul><li>If the message type is *RQS, this is an indicator which shows whether
the request message was run or not.</li>
<li>If the indicator is set to zero ('F0'X) the request was not run.</li>
<li>If the indicator is set to one ('F1'X) the request was run.</li>
</ul>
If the messages type is not *RQS, this indicator will always be zero.</dd>
<dt class="dlterm">QMHSTY</dt>
<dd>Sending program type; CHAR(1) <p>An indicator with the following values
that shows whether the sending program was an OPM program or an ILE program.
</p>
<ul><li>If this indicator is set to zero ('F0'X), the sending program is an OPM
or System Licensed Internal Code (SLIC) program with a name less than or equal
to 12 characters. The program name is placed in fields QMHSPG and QMHLSP.</li>
<li>If the indicator is set to one ('F1'X), the sending program is an ILE
program with a procedure name less than or equal to 256 characters. The procedure
name is placed in fields QMHSPR and QMHCSP.</li>
<li>If the indicator is set to two ('F2'X), the sending program is an ILE
program with a procedure name greater than 256 characters and up to 4096 characters.
The complete sending procedure name is in field QMHCSP; field QMHSPR is blank.</li>
<li>If the indicator is set to three ('F3'X), the sending program is a SLIC
program with a name greater than 12 characters and up to 256 characters. The
complete sending program name is in field QMHLSP; field QMHSPG is blank.</li>
</ul>
</dd>
<dt class="dlterm">QMHRTY</dt>
<dd>Receiving program type; CHAR(1) <p>An indicator with the following values
that shows the type of the receiving program: </p>
<ul><li>If this indicator is set to zero ('F0'X), the receiving program was an
OPM program. The program name is placed in field QMHRPG.</li>
<li>If the indicator is set to one ('F1'X), the receiving program was an ILE
program with a procedure name less than or equal to 256 characters. The procedure
name is placed in fields QMHRPR and QMHCRP.</li>
<li>If the indicator is set to two ('F2'X), the receiving program is an ILE
program with a procedure name greater than 256 and up to 4096 characters.
The entire receiving procedure name is placed field QMHCRP; the field QMHRPR
is blank.</li>
</ul>
</dd>
<dt class="dlterm">QMHSSN</dt>
<dd>Number of statements for sending program; BIN(4) <p>The number of statement
numbers for sending program. </p>
<ul><li>If the sending program type field QMHSTY contains a zero ('F0'X) or a
three ('F3'X), this field contains a value of 0 or 1.</li>
<li>If the sending program type field contains a one ('F1'X) or a two ('F2'X),
this field can contain the value 0, 1, 2, or 3.</li>
</ul>
<p>The value provided in this field defines how many statement numbers
are in the field QMHSTM.</p>
</dd>
<dt class="dlterm">QMHRSN</dt>
<dd>Number of statements for receiving program; BIN(4) <p>The number of statement
numbers for receiving program. </p>
<ul><li>If the receiving program type field QMHRTY contains a zero ('F0'X), this
field contains a value of 0 or 1.</li>
<li>If the receiving program type field contains a one ('F1'X) or a two ('F2'X),
this field contains the value 0, 1, 2, or 3. The value provided in this field
defines how many statement numbers are in the field QMHRTM.</li>
</ul>
</dd>
<dt class="dlterm">QMHCID</dt>
<dd>CCSID; BIN(4) <p>The CCSID of the message data or immediate message that
is contained in the field QMHMDT.</p>
</dd>
<dt class="dlterm">QMHPRL</dt>
<dd>Message percolate indicator; CHAR(1) <p>An indicator that shows whether
the message was percolated to the receiving program or not. </p>
<ul><li>If the message was not percolated this field contains a zero ('F0'X).</li>
<li>If the message was sent this field contains a one ('F1'X).</li>
</ul>
<p>Message percolation can only occur within an ILE program. Therefore,
this field contains a one only if the receiving program type field QMHRTY
contains a one ('F1'X) or a two ('F2'X).</p>
</dd>
<dt class="dlterm">QMHSPR</dt>
<dd>Sending procedure name; VAR CHAR(*) <ul><li>If the sending program type field QMHSTY contains a zero ('F0'X) or three
('F3'X), this field contains the value *N.</li>
<li>If the sending program type field QMHSTY contains a one ('F1'X), this
field contains the sending ILE procedure name. The name can be a maximum of
256 characters in length.</li>
<li>If the sending program type field QMHSTY contains a two ('F2'X), this
filed contains blanks, while the entire name will be contained in the field
QMHCSP.</li>
</ul>
<p>This field can contain a nested procedure name for a sending program
type of one ('F1'X) or two ('F2'X); each procedure name is separated by a
colon. The outer-most procedure name is identified first and is followed by
the procedures contained in it. The inner-most procedures are identified
last in the string.</p>
</dd>
<dt class="dlterm">QMHSMD</dt>
<dd>Sending module name; CHAR(10) <ul><li>If the sending program type field QMHSTY contains a zero ('F0'X) or a
three ('F3'X), this field contains the value *N.</li>
<li>If the sending program type field QMHSTY contains a one ('F1'X) or a two
('F2'X), this field contains the sending ILE module name.</li>
</ul>
</dd>
<dt class="dlterm">QMHSPG</dt>
<dd>Sending program name; CHAR(12) <ul><li>If the sending program type field QMHSTY contains a zero ('F0'X), a one
('F1'X), or a two ('F2'X), the field contains the program name from which
the message was sent.</li>
<li>If the sending program type is a three ('F3'X), this field contains blanks
and field QMHLSP contains the sending program name.</li>
</ul>
</dd>
<dt class="dlterm">QMHSLB</dt>
<dd>Sending library name; CHAR(10) <p>The name of the library that the sending
program was contained in.</p>
</dd>
<dt class="dlterm">QMHSTM</dt>
<dd>Statement number(s) for sending program; CHAR(30) <p>The statement number(s)
at which the sending program sent the message. Each statement number is 10
characters in length. </p>
<ul><li>If the sending program type field QMHSTY contains a zero ('F0'X) or a
three ('F3'X), there is, at most, one statement number in the first 10 characters.
That statement number represents an MI instruction number. The number is a
hexadecimal number.</li>
<li>If the sending program type field contains a one ('F1'X) or a two ('F2'X),
this field can contain statement numbers of 0, 1, 2, or 3. The field QMHSSN
specifies how many there are. In this case, a statement number is a higher
level language statement number and not an MI instruction number. Each number
is a decimal number.</li>
</ul>
</dd>
<dt class="dlterm">QMHRPR</dt>
<dd>Receiving procedure name; VAR CHAR(*) <ul><li>If the receiving program type field contains a zero ('F0'X), this field
contains the value *N.</li>
<li>If the receiving program type field QMHRTY contains a one ('F1'X), this
field contains the receiving ILE procedure name. The name can be a maximum
of 256 characters in length.</li>
<li>If the receiving program type field QMHRTY contains a two ('F2'X), this
field contains blanks, while the entire name will be contained in the field
QMHCRP.</li>
</ul>
<p>This field can contain a nested procedure name for a receiving program
type of one ('F1'X) or two ('F2'X); each procedure name is separated by a
colon. The outer-most procedure name is identified first and is followed by
the procedures contained in it. The inner-most procedures are identified last
in the string.</p>
</dd>
<dt class="dlterm">QMHRMD</dt>
<dd>Receiving module name; CHAR(10) <ul><li>If the receiving program type field contains a zero ('F0'X), this field
contains the value *N.</li>
<li>If the receiving program type field QMHRTY contains a one ('F1'X) or a
two ('F2'X), this field contains the receiving ILE module name.</li>
</ul>
</dd>
<dt class="dlterm">QMHRPG</dt>
<dd>Receiving program name; CHAR(10) <p>The program name of the OPM or ILE
program to which the message was sent.</p>
</dd>
<dt class="dlterm">QMHRLB</dt>
<dd>Receiving library name; CHAR(10) <p>The name of the library that the
receiving program was in.</p>
</dd>
<dt class="dlterm">QMHRTM</dt>
<dd>Statement number(s) for receiving program; CHAR(30) <p>The statement
number(s) at which the receiving program was stopped when the message was
sent. Each statement number is 10 characters in length. </p>
<ul><li>If the receiving program type field QMHRTY contains a zero ('F0'X), there
is, at most, one statement number in the first 10 characters. That statement
number represents an MI instruction number. The number is a hexadecimal number.</li>
<li>For any other value of the receiving program type, there can be 0, 1,
2, or 3 statement numbers in this field. The field QMHRSN specifies how many
there are. In this case, a statement number is a higher level language statement
number and not an MI instruction number. Each number is a decimal number.</li>
</ul>
</dd>
<dt class="dlterm">QMHSYS</dt>
<dd>System name; CHAR(8) <p>The name of the system that the job log was produced
on.</p>
</dd>
<dt class="dlterm">QMHJOB</dt>
<dd>Qualified job Name; CHAR(26) <p>The fully qualified name of the job for
which the message is being logged for. The first 10 positions contain the
job name, the next 10 positions the user name, and the last six positions
the job number.</p>
</dd>
<dt class="dlterm">QMHMDT</dt>
<dd>Message data or immediate message; VAR CHAR(*) <p>If the field QMHMID
contains the special value *IMMED, this field contains an immediate message.
Otherwise, this field contains the message data that was used when the message
was sent. This field can contain a maximum of 3000 characters. If the immediate
message or message data is longer, it is truncated to 3000 characters.</p>
<p>If
the message data contains pointers, the pointers is invalidated before the
message data is written to the database file.</p>
</dd>
<dt class="dlterm">QMHCSP</dt>
<dd>Complete sending procedure name; CHAR(VAR) <ul><li>If the sending program type is zero ('F0'X) or three ('F3'X), this field
contains blanks.</li>
<li>If the sending program type is one ('F1'X) or two ('F2'X), this field
contains the entire ILE procedure name. The name can be a maximum of 4096
characters in length. <p>This field can contain a nested procedure name where
each procedure name is separated by a colon. The outer-most procedure name
is identified first and is followed by the procedures contained in it. The
inner-most procedures are identified last in the string.</p>
</li>
</ul>
</dd>
<dt class="dlterm">QMHCRP</dt>
<dd>Complete receiving procedure name; CHAR(VAR) <ul><li>If the receiving program type is zero ('F0'X), this field contains blanks.</li>
<li>If the receiving program type is one ('F1'X) or two ('F2'X), this field
contains the entire ILE procedure name. The name can be a maximum of 4096
characters in length. <p>The field can contain a nested procedure name where
each procedure name is separated by a colon. The outer-most procedure name
is identified first and is followed by the procedures contained in it. The
inner-most procedures are identified last in the string.</p>
</li>
</ul>
</dd>
<dt class="dlterm">QMHLSP</dt>
<dd>Long sending program name; CHAR(VAR) <p>This field contains the entire
sending program name from which the message was sent for all sending program
types. The name can be a maximum of 6144 characters in length.</p>
</dd>
<dt class="dlterm">QMHTID</dt>
<dd>Thread; CHAR(8) <p>This field identifies the thread within the job that
sent the message.</p>
</dd>
<dt class="dlterm">QMHMSC</dt>
<dd>Microseconds; ZONED(6,0) <p>This is the microseconds portion of the time
the message was sent. It can be used to determine with more precision the
time the message was sent.</p>
</dd>
<dt class="dlterm">QMHFUS</dt>
<dd>From user; CHAR(10) <p>The name of the user profile that the thread was
running under when the message was sent.</p>
</dd>
</dl>
</div>
<div class="section"><p>The IBM supplied
model for the secondary job log file is QAMHJLSC in library QSYS. The secondary
record format name is QMHSFT. A detailed description of the secondary record
format follows:</p>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><thead align="left"><tr><th align="right" valign="bottom" width="19.25925925925926%" id="d0e1034">Field Order</th>
<th align="left" valign="bottom" width="18.51851851851852%" id="d0e1036">Field Name</th>
<th align="left" valign="bottom" width="12.592592592592592%" id="d0e1038">Data Type</th>
<th align="left" valign="bottom" width="23.333333333333332%" id="d0e1040">Length in Bytes</th>
<th align="left" valign="bottom" width="26.296296296296294%" id="d0e1042">Field Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">1</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHJDS</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">DATE</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">10</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Date job log created</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">2</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHJTS</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">TIME</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">8</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Time job log created</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">3</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHMKS</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">CHAR</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">4</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Message reference key</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">7</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHSYN</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">CHAR</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">8</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">System name</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">8</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHJBN</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">CHAR</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">26</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Qualified job name</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">4</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHLNN</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">BIN</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">4</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Message line number</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">5</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHSID</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">BIN</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">4</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">CCSID of text line</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">6</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHTTY</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">CHAR</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">1</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Message text indicator</td>
</tr>
<tr><td align="left" valign="top" width="19.25925925925926%" headers="d0e1034 ">9</td>
<td align="left" valign="top" width="18.51851851851852%" headers="d0e1036 ">QMHLIN</td>
<td align="left" valign="top" width="12.592592592592592%" headers="d0e1038 ">CHAR</td>
<td align="left" valign="top" width="23.333333333333332%" headers="d0e1040 ">78</td>
<td align="left" valign="top" width="26.296296296296294%" headers="d0e1042 ">Message text line</td>
</tr>
</tbody>
</table>
</div>
<div class="section"><p>The length of the field indicates the number of total bytes for
the field.</p>
</div>
<div class="section"><p>The definition of the fields in this record are as follows: </p>
<dl><dt class="dlterm">QMHJDS</dt>
<dd>Date job log created; DATE(8) <p>The date the production of the job log
began. The field is a date field in the database record. The format of the
date is *ISO. A value in this field is in the format yyyy-mm-dd. Each record
produced for the same job log will have the same value in this field.</p>
</dd>
<dt class="dlterm">QMHJTS </dt>
<dd>Time job log created; TIME(8); <p>The time the production of the job
log began. This field is defined as a time field in the database record. The
format of the time is defined to be *ISO. A value in this field is in the
format hh.mm.ss. Each record produced for the same job log will have the same
value in this field.</p>
</dd>
<dt class="dlterm">QMHMKS</dt>
<dd>Message reference key; CHAR(4) <p>The message reference key the related
message had in the job message queue. The records are placed in the secondary
database file in ascending sequence by message reference key. There can be
more than one secondary record for a specific message reference key. This
field also exists in the related primary record. Therefore, once the message
reference key is obtained from a primary record, it can be used to read the
related records from the secondary file.</p>
</dd>
<dt class="dlterm">QMHSYN</dt>
<dd>System name; CHAR(8) <p>The name of the system that the job log was produced
on.</p>
</dd>
<dt class="dlterm">QMHJBN</dt>
<dd>Qualified job Name; CHAR(26) <p>The fully qualified name of the job for
which the message is being logged for. The first 10 positions contain the
job name, the next 10 positions the user name, and the last six positions
the job number.</p>
</dd>
<dt class="dlterm">QMHLNN</dt>
<dd>Message line number; BIN(4) <p>The line number of the line within the
text type. For both the first and second level text, the line number starts
at one for the first line of the text and is incremented by one for each additional
line within that level.</p>
</dd>
<dt class="dlterm">QMHSID</dt>
<dd>CCSID of message text line; BIN(4) <p>The CCSID of the message text line
that is contained in field QMHLIN.</p>
</dd>
<dt class="dlterm">QMHTTY</dt>
<dd>Message text type; CHAR(1) <p>An indicator which specifies whether field
QMHLIN contains a line of the first or second level text. This field will
contain one of the following values: </p>
<dl><dt class="dlterm">1</dt>
<dd>Field QMHLIN contains first level text.</dd>
<dt class="dlterm">2</dt>
<dd>Field QMHLIN contains second level text.</dd>
</dl>
</dd>
<dt class="dlterm">QMHLIN</dt>
<dd>Message text line: CHAR(78) <p>This field contains one line of the first
or second level text.</p>
</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="joblg.htm">Use job log output files</a></div>
</div>
</div>
</body>
</html>