Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

messages to console

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Fri Jun 14, 2013 6:34 pm    Post subject: messages to console
Reply with quote

Hi,

Could someone please help me telling how to send messages to console using DFSORT? I know that this can be done in COBOL using "DISPLAY UPON CONSOLE"? Can the same be done using DFSORT?

Thanks in advance,
Mani.
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Jun 14, 2013 6:37 pm    Post subject:
Reply with quote

Even if possible, this is a really bad idea. Forget you ever had it.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jun 14, 2013 7:15 pm    Post subject:
Reply with quote

Hello,

Well managed systems do NOT permit application jobs to send messages to the console.

Why does someone believe this would be acceptable? Keep in mind this is NOT a pc.
Back to top
View user's profile Send private message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Fri Jun 14, 2013 7:54 pm    Post subject:
Reply with quote

We are basically setting up a trap to read the messages from console thru which we are planning to create auto tickets in BSM remedy.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jun 14, 2013 7:58 pm    Post subject:
Reply with quote

Hello,

I'll move your topic to the DFSORT part of the forum and Skolusu (IBM DFSORT Developer) will be able to provide specifics.
Back to top
View user's profile Send private message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Fri Jun 14, 2013 8:00 pm    Post subject:
Reply with quote

Thanks Dick!
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jun 14, 2013 8:05 pm    Post subject:
Reply with quote

You're welcome icon_smile.gif

I didn't think of using this for console automation icon_redface.gif

d
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Jun 14, 2013 8:19 pm    Post subject: Reply to: messages to console
Reply with quote

Quote:
We are basically setting up a trap to read the messages from console thru which we are planning to create auto tickets in BSM remedy.


why not use Your scheduler facilities to handle abnormal JOB status/completion ???
Back to top
View user's profile Send private message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Fri Jun 14, 2013 8:29 pm    Post subject: Reply to: messages to console
Reply with quote

Hi Enrico,

Good idea!

But we are planning to create tickets in case if we do not receive any data from the external team/s. In this case I am not going to have my job end abnormally, instead it will run empty creating a message to the console. Using this message an auto ticket will be created and assigned to the concern team. We are now done with the trapping the message from console and creating the ticket automattically. All I am looking for is, instead of using COBOL to send messages to console, is there any option available in DFSORT.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7228

PostPosted: Fri Jun 14, 2013 8:52 pm    Post subject: Reply to: messages to console
Reply with quote

You can get the ICE messages to go to the Console. But from your reference to "DISPLAY ... UPON CONSOLE" in COBOL, it seems you want to be able to write a message to the Console which you can automatically pick up and process.

What makes you think that DFSORT is an appropriate tool for that?

Perhaps to be certain, you can be explicit about what it is you want to do?
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Fri Jun 14, 2013 9:26 pm    Post subject:
Reply with quote

kmk2mani,

You can determine, during installation or run-time, whether DFSORT writes messages to the message data set, to the master console, or to both. You can also direct an Extended Function Support program to write messages to the message data set. Messages written to the message data set can be either critical error messages, informational error messages, or diagnostic messages, as determined during installation or run-time. Messages written to the master console can be either critical error messages or informational error messages, as determined during installation.

You can set the Installation parameter MSGCON=ALL which specifies that all messages, except parameter-in-effect messages (ICE127I to ICE133I and ICE235I) and diagnostic messages (ICE800I to ICE999I) are written to the master console.

However I would caution you setting it up that way, because you will flooded with a ton of messages every time sort jobs are run.

You can set MSGCON=CRITICAL which specifies that only critical messages are written to the master console.

Search for MSGCON in this link and you can see ways to change it based on the time of the day (TD1 - TD4) via ICEPRMXX

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CI20/CCONTENTS
Back to top
View user's profile Send private message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Thu Jul 04, 2013 11:26 am    Post subject:
Reply with quote

Thanks to all your replies! Finally I ended up writing a COBOL pgm to send the messages to console.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jul 05, 2013 9:23 pm    Post subject:
Reply with quote

Good to hear you have a solution - thanks for the update icon_smile.gif

We really do like to hear how things work out icon_cool.gif

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

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Mon Jul 08, 2013 9:53 pm    Post subject:
Reply with quote

kmk2mani wrote:
Thanks to all your replies! Finally I ended up writing a COBOL pgm to send the messages to console.


I got to ask as to why you chose the COBOL program when all you need is just set a DFSORT parameter to send messages to the console.
Back to top
View user's profile Send private message
kmk2mani

New User


Joined: 08 Jul 2010
Posts: 12
Location: Coimbatore

PostPosted: Mon Jul 22, 2013 1:07 pm    Post subject:
Reply with quote

Hi Skolusu,

I have given both options but finally I was asked to go with COBOL.

Thanks,
Mani.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts SDSF REXX - Console command with ' vasanthz CLIST & REXX 2 Thu Feb 18, 2016 11:35 pm
No new posts ims program to put and get MQ messages fatenezzat COBOL Programming 1 Wed Feb 17, 2016 1:07 am
No new posts Regarding a Console Dump Dataset sakthikumarT ABENDS & Debugging 6 Mon Feb 01, 2016 11:12 am
No new posts REXX / CA TOP SECRET messages carlos fuentes CLIST & REXX 2 Tue Oct 27, 2015 11:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us