Script to automate a service message

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Script to automate a service message
# 15  
Old 11-02-2017
They never had to modify the script to modify the message in the first place, so I'm not sure what your point or question is.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

automate the script

Dear all, I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 Replies

2. AIX

Short Message Service from AIX

Hi AIX Guru's, I am a bit new to this AIX stuff . Does anyone of you know how to send SMS messages from an AIX box. We are able to send emails to the internet from this AIX box , and I was hoping sending SMS's would be something similar Any help would be greatly appreciated . Please... (4 Replies)
Discussion started by: smdasim
4 Replies

3. Shell Programming and Scripting

mail script to automate

Hi, Here below the logs from the mail server: less /var/log/messages: Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1 Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1 Sep 6 04:03:35 server-59... (8 Replies)
Discussion started by: gsiva
8 Replies

4. Shell Programming and Scripting

How can I automate a script?

Hi All, Can I automate a script when some one trying to 'vi' (open) a file. For Example, I am having a file named 'SecuredShell.sh'. when a user types " vi SecuredShell.sh " in unix command prompt a script named secure.sh needs to be automated. Can this be possible. if Yes please guide... (2 Replies)
Discussion started by: little_wonder
2 Replies

5. UNIX for Dummies Questions & Answers

Message Service Using kannel

Any body having idea or implemented SMS service with kannel..? Please help... (1 Reply)
Discussion started by: noufal
1 Replies

6. Shell Programming and Scripting

Automate Script ***V. Urgent

Hi All, ./procdure.ksh which opens the below the menu, I want to build a script which will press 4 and run the Sector Data Automatically (instead of pressing option 4 manually) Is there any way for this, please let me know... 1) FX Rates MDU 9) Fidessa Cash... (7 Replies)
Discussion started by: niceboykunal123
7 Replies

7. Shell Programming and Scripting

Automate shell script

I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote #!/bin/bash cd /var/tmp /home/server/steve/pca --askauth -idx /opt/app/bin/expect <<EOF expect... (3 Replies)
Discussion started by: sam786
3 Replies

8. UNIX for Advanced & Expert Users

Shell Script to Automate

I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote #!/bin/bash cd /var/tmp /home/server/steve/pca --askauth -idx /opt/app/bin/expect <<EOF expect... (1 Reply)
Discussion started by: sam786
1 Replies

9. Shell Programming and Scripting

here document to automate perl script that call script

I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript. here is my script $ cat test.sh #ksh for testcase do program <<-EOF | tee -a funcscnlog.log y... (3 Replies)
Discussion started by: hogger84
3 Replies

10. UNIX for Dummies Questions & Answers

automate the input in a script

I have a program that i have to run by cron. The program needs user input. So i have to automate that in a littke script. start of script program.sh: result=program.log; export result echo Program starting : `date` >> $result /usr/local/program >> $result echo Program running : `date` >>... (11 Replies)
Discussion started by: erwinspeybroeck
11 Replies
Login or Register to Ask a Question
tt_message_fail(library call)											     tt_message_fail(library call)

NAME
tt_message_fail -- indicate a message cannot be handled SYNOPSIS
#include <Tt/tt_c.h> Tt_status tt_message_fail( Tt_message m); DESCRIPTION
The tt_message_fail function informs the ToolTalk service that the process cannot handle the request just received. This function also informs the ToolTalk service that the message is not be offered to other processes of the same ptype. The ToolTalk ser- vice will send the message back to the sender with state TT_FAILED. The m argument is the opaque handle for the message involved in this operation. RETURN VALUE
Upon successful completion, the tt_message_fail function returns the status of the operation as one of the following Tt_status values: TT_OK The operation completed successfully. TT_ERR_NOMP The ttsession(1) process is not running and the ToolTalk service cannot restart it. TT_ERR_NOTHANDLER This application is not the handler for this message. TT_ERR_POINTER The pointer passed does not point to an object of the correct type for this operation. The status value must be greater than TT_ERR_LAST to avoid confusion with the ToolTalk service status values. APPLICATION USAGE
To distinguish this case from the case where a message failed because no matching handler could be found, the application should place an explanatory message code in the status attribute of the message with tt_message_status_set(3) and tt_message_status_string_set(3) before calling tt_message_fail. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_message_status_set(3), tt_message_status_string_set(3). tt_message_fail(library call)