|
|
| Author |
Message |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
I am sending a message to the SYSLOG through a program. The message is displayed with a prefix of '+'
for eg:
+IKJ999A THIS IS A TEST MESSAGE
Is there any way to remove this prefix('+' sign) |
|
| Back to top |
|
 |
References
|
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
Hi !
How are you sending the message. Using Assembler WTO ??? |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
hi
I am using macro to send a meaaasge. |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 989 Location: Virginia, USA
|
|
|
|
| The + is a printer control character! |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
ok.
how to remove remove this character while sending a message to syslog.
is it posible? |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
| Thanks to all. |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
| this is not yet resolved. |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
Morning Sir !
No chance to eliminate that sign. Its system related when Messages from programms are send to Console.
When you issue a WTO with three plus-signs, four will be in the JesLog.
Example:
TRACEMSG_STRT DS 0H
MVC WTO+31(03),=C'123'
WTO WTO '+++ MDL10030 TRACE-MSG-XXX ',ROUTCDE=11
B TRACEMSG_EXIT
JesLog:
10.10.43 JOB56243 -J120830X STEP010 00
017 Jobname: J120830X Stepname: STEP050
017 Requested Size below Limit below
017 0 8704000 8806400
10.11.20 JOB56243 ++++ MDL10030 TRACE-MSG-123
10.11.32 JOB56243 ++++ MDL10030 TRACE-MSG-123 |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
@Craq !
Shure about the printer-sign ???
By looking at the JesLog it seams to be right in the middle of the text. And CarridgeControl is just at line-beginning.There are ASA-Signs there.
1 J E S 2 J O B L O G -- S Y S T E M M T
0
10.10.42 JOB56243 ---- WEDNESDAY, 18 JUN 2008 ----
10.10.42 JOB56243 IRR010I USERID J120830 IS ASSIGNED TO THIS J
10.10.42 JOB56243 ICH70001I J120830 LAST ACCESS AT 09:57:48 ON
10.10.42 JOB56243 $HASP373 J120830X STARTED - INIT 436 - CLASS
The plus-sign is just at the same position, where the dash-sign is, when Line with JobName is printet. Also same Position as $ when HASP is printed. Seams to be JES specific.
10.10.43 JOB56243 -J120830X STEP010 00 15
10.11.20 JOB56243 ++++ MDL10030 TRACE-MSG-123 |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
| Thanks UmeySan. |
|
| Back to top |
|
 |
Bill Dennis
Senior Member
Joined: 17 Aug 2007 Posts: 311 Location: Iowa, USA
|
|
|
|
| The trainee forum had this same topic submitted by Dolby and an informative post from Mr Spock. He said when using the WTO macro to write to SYSLOG, an APF-authorized pgm does not add the '+' to the message! I tested and confirmed his solution. |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3265 Location: Charlotte,NC USA
|
|
|
|
| Yep. We had this problem when our team asked the Sysprog's to provide a utility to us that we could use to create test system messages for automation. It wouldn't work without the proper APF authorization of their module. |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
Hi !
APF-Authorization, that's the point !!! |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
i am not getting the exact output.
i dynamically added my pds member in apf library.
i executed my program but still i'm getting '+' sign. |
|
| Back to top |
|
 |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
| do i need to add this pds in to linklst also? |
|
| Back to top |
|
 |
|
|