Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to remove '+' sign in the SYSLOG message
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Tue Jun 17, 2008 7:07 pm    Post subject: How to remove '+' sign in the SYSLOG message
Reply with quote

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
View user's profile Send private message
References
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Tue Jun 17, 2008 7:17 pm    Post subject:
Reply with quote

Hi !

How are you sending the message. Using Assembler WTO ???
Back to top
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Tue Jun 17, 2008 7:22 pm    Post subject:
Reply with quote

hi

I am using macro to send a meaaasge.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 989
Location: Virginia, USA

PostPosted: Tue Jun 17, 2008 7:27 pm    Post subject:
Reply with quote

The + is a printer control character!
Back to top
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Tue Jun 17, 2008 7:31 pm    Post subject:
Reply with quote

ok.
how to remove remove this character while sending a message to syslog.
is it posible?
Back to top
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Wed Jun 18, 2008 12:59 pm    Post subject:
Reply with quote

Thanks to all.
Back to top
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Wed Jun 18, 2008 1:20 pm    Post subject:
Reply with quote

this is not yet resolved.
Back to top
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Jun 18, 2008 1:56 pm    Post subject:
Reply with quote

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
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Jun 18, 2008 2:07 pm    Post subject:
Reply with quote

@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
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Wed Jun 18, 2008 2:29 pm    Post subject:
Reply with quote

Thanks UmeySan.
Back to top
View user's profile Send private message
Bill Dennis

Senior Member


Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

PostPosted: Wed Jun 18, 2008 7:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3265
Location: Charlotte,NC USA

PostPosted: Wed Jun 18, 2008 7:47 pm    Post subject: Reply to: How to remove '+' sign in the SYSLOG message
Reply with quote

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
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Jun 18, 2008 8:02 pm    Post subject:
Reply with quote

Hi !

APF-Authorization, that's the point !!!
Back to top
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Wed Jun 18, 2008 9:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Thiru Chandira Moorthi

New User


Joined: 20 Jun 2007
Posts: 29
Location: chennai

PostPosted: Wed Jun 18, 2008 9:43 pm    Post subject:
Reply with quote

do i need to add this pds in to linklst also?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 HoursGoto page 1, 2  Next
Page 1 of 2