On 18 October 2011 13:29, McKown, John <[email protected]> wrote:
> Columns 41 through 48 in the z/OS SYSLOG (formatted with a 4 digit year in 
> columns 21-27) have various information in them. For many messages, it is the 
> JES assigned number such as JOB12345. For a commands and command responses it 
> appears to the be console name or for a MLWTO response the "continuation 
> number". For an "S" line it is blank because that means the line is a 
> continuation of the above output line ("N" or "S").
>
> But, for WTOs issued by started tasks which are running under the MSTR 
> subsystem, it is blank instead of having the JES jobid ("N" lines, that is). 
> So there's no way to know which task issued the message. I guess that most of 
> the time, this doesn't really matter. But I was thinking, perhaps poorly, 
> that where the JES jobid would be, wouldn't it be useful to have the ASID of 
> the address space? Perhaps formatted as ASIDhhhh where hhhh is the hex value 
> of the ASID? I am wondering if one of the WTO exits could be used to 
> implement this. I guess that I'll look and see.

Some years ago I looked at putting the UNIX PID in there. It's very
easy to retrieve and insert; the problem lies in where to squeeze it
in in a way that won't break other programs that "know" what log lines
contain, and that makes it unambiguous what the new field means. Had
IBM not used large PIDs (or rather, not encoded two items in each
PID), it would've been easy.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to