IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to supress the Natural Security Logon messages.


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nguyenk

New User


Joined: 05 Aug 2005
Posts: 5

PostPosted: Thu Jun 11, 2009 11:43 pm
Reply with quote

Hi all,

At my shop, we run Natural in batch on mainframe.
Every time we run a Natural program, the following Natural Security Logon messages comes along with the reports.
For example, if we set up the following JCL:

//CMPRINT DD SYSOUT=(,),OUTPUT=*.REPORTS

Then those messages will get print also along with the reports.

Is there any way we can separate these logon messages without the changes in the Natural programs.
(For ex: we can change WRITE to WRITE (1) in the program, and then set up in JCL:

//CMPRINT DD SYSOUT=(,),OUTPUT=*.SYSMSG
//CMPRT01 DD SYSOUT=(,),OUTPUT=*.REPORTS

However, there are lots pf Natural programs like that; so, I prefer to chnge JCL or another way.

Thanks in advance.

09:50:41 *** NATURAL SECURITY SYSTEM *** 07-06-01
- Logon Procedure -
NNNNNNN NNNNNN SSSSSSSSSSSSSSSSSS CCCCCCCCCCCCCCCCCC
NNNNNNNN NNNNNN SSSSSSSSSSSSSSSSSSS CCCCCCCCCCCCCCCCCCCC
NNNNNNNNN NNNNNN SSSSSS SSSSSS CCCCCCC CCCCCC
NNNNNN NNN NNNNNN SSSSSS CCCCCCC
NNNNNN NNN NNNNNN SSSSSSSSSSSSSSSSSS CCCCCCC
NNNNNN NNN NNNNNN SSSSSSSSSSSSSSSSSS CCCCCCC
NNNNNN NNN NNNNNN SSSSSS CCCCCCC
NNNNNN NNNNNNNNN SSSSSS SSSSSS CCCCCCC CCCCCC
NNNNNN NNNNNNNN SSSSSSSSSSSSSSSSSSS CCCCCCCCCCCCCCCCCCCC
NNNNNN NNNNNNN SSSSSSSSSSSSSSSSSS CCCCCCCCCCCCCCCCCC
-------------------------------------------------------------------------
Software AG, Darmstadt - Natural Security
-------------------------------------------------------------------------
TO EXIT THIS SCREEN, ENTER 'FIN' AS THE APPLICATION-ID
Application ID : ________ User ID : ________
PASSWORD :
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Jun 12, 2009 7:33 am
Reply with quote

Hello,

Suggest you open an issue with Software AG support. . .
Back to top
View user's profile Send private message
nguyenk

New User


Joined: 05 Aug 2005
Posts: 5

PostPosted: Fri Jun 12, 2009 10:09 pm
Reply with quote

Thank you Dick.
I also took a search on AG website, but I still can't firgure out a better way (to supress the messages without modyfing the programs and JCL)AG website contains lots of topics but lack of examples).
Thanks for your response, I am asking the administrator at my shop to do so.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sat Jun 13, 2009 5:53 am
Reply with quote

You're welcome - good luck icon_smile.gif

d
Back to top
View user's profile Send private message
nguyenk

New User


Joined: 05 Aug 2005
Posts: 5

PostPosted: Wed Jun 17, 2009 10:38 pm
Reply with quote

Hello everyone,

I searched and found the following material.
I tried to apply MAINPR parameter in some ways but I still can't make it.
Is anyone has any experience in using this MAINPR parameter ?

MAINPR - Override Default Output Report Number
Possible Values 0 - 31
Default Value 0

With this parameter, you can separate program output from Natural system output, which may be useful particularly in batch mode.

This applies to program output for Report 0, as produced by DISPLAY, PRINT, WRITE or INPUT statements (except INPUT statements which contain input fields (AD=A or AD=M)).
If the MAINPR parameter is specified, program output for Report 0, which would normally be output on the printer assigned to Report 0, is output on the printer specified with MAINPR instead; while system output (NEXT prompt, DATA prompt, etc.) is always output on the primary output device (Report 0); the MAINPR setting must be a a valid printer number (0 - 31).
A logical printer corresponding to the report number specified must be defined to Natural. A printer is defined with the profile parameter PRINT, with the macro NTPRINT or automatically by JCL (in batch mode or under TSO).
The MAINPR parameter does not apply to output from system programs in the Natural system library "SYSLIB", which is always output on the primary output device (Report 0).
Back to top
View user's profile Send private message
Ralph Zbrog

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Fri Dec 11, 2009 1:25 pm
Reply with quote

You are very close, Nguyenk.

You need to pass MAINPR to Natural as a parameter in the JCL.

Code:
//RPT      EXEC NATBT,PARM='MAINPR=nn'

//CMPRINT DD SYSOUT=(,),OUTPUT=*.SYSMSG
//CMPRTnn DD SYSOUT=(,),OUTPUT=*.REPORTS


where nn is 01 - 31.
Back to top
View user's profile Send private message
nguyenk

New User


Joined: 05 Aug 2005
Posts: 5

PostPosted: Tue Dec 15, 2009 2:49 am
Reply with quote

Thank you Ralph.
I also figured out that way before I read your note.
But for some reason (protocol) I have to accept the existing way.
Thank you much.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Message Security Assist extension 7 a... PL/I & Assembler 2
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
No new posts Execute REXX on logon with ISPF CLIST & REXX 3
No new posts REXX GETMSG does not return £HASP880... CLIST & REXX 2
No new posts IMS DB using Natural Language IMS DB/DC 0
Search our Forums:


Back to Top