Sponsored Content
Operating Systems AIX Short Message Service from AIX Post 302406603 by smdasim on Wednesday 24th of March 2010 07:00:25 AM
Old 03-24-2010
SMS in AIX

1.Send mail is configured properly to reach outside world.
------------------------------------------------------
2.The Below commands are not working fine as far as SMS to the UK phone's is concerned.Please help
Code:
 
echo "this is my message" | /usr/lib/sendmail -v npanxx####@sms.provider.com

If you have a Cingular (formerly Southwestern Bell) phone, that would be;
Code:
echo "this is my message" | /usr/lib/sendmail cellnumber@email.swbw.com

If you want to send a flat file named my_file;
Code:
cat my_file | /usr/lib/sendmail cellnumber@email.swbw.com

The -v used in the first example will simply show you what is going on when sending from the command line and is not necessary. I would omit it in a script.

---------- Post updated 03-24-10 at 04:30 PM ---------- Previous update was 03-23-10 at 08:49 PM ----------

I am getting the below error response .
550 RCPT TO:<0-uk-mobilenum@o2.co.uk> User unknown.
please advice.

Last edited by zaxxon; 03-23-2010 at 12:26 PM.. Reason: use code tags please, ty
 

10 More Discussions You Might Find Interesting

1. AIX

Aix - Service Pack

I've recently installed ServicePack1 for Tecnology_Level 9 of AIX 5.2 . The result of installation is "OK" but with oslevel -s i dont see the service pack installed .... after many research i try (with many luck!!) instfix -i|grep SP and the result : All filesets for 5200-08-01_SP... (1 Reply)
Discussion started by: BabylonRocker
1 Replies

2. AIX

AIX Welcome Message

Hi guys, How can I changed or modified the AIX welcome message which appeared after login, like below: **************************************************************************** * * * ... (2 Replies)
Discussion started by: aldowsary
2 Replies

3. AIX

Debugging a service in AIX 5.3

Hi, I am a newbie on the AIX front....I am at present faced with a problem of a service eating up my client's CPU. To be more specific....My client uses backup exec for backing up (v 12.0). The moment I start a backup the beremote.exe (backup exec remote agent for unix, RALUS) service uses... (4 Replies)
Discussion started by: dkn1979
4 Replies

4. AIX

Latest AIX Service Pack

Hello, I am trying to install Oracle 11g on my AIX server and it requires at a minimum OS level 5300-05-06. I am currently at 5300-05-01. What do I need to upgrade this? Where can I get this sp? What are the step to install this? I am a DBA not sysadmin. We no longer have a sysadmin. Lucky... (4 Replies)
Discussion started by: dkranes
4 Replies

5. AIX

AIX Service Packs

Can anyone out there let me know what is the *common* Technology Level and Service Pack that everyone is at? I am at 5300-06-04-0748 on all of my LPARs. Also- does anyone have any guidelinies to rolling out new TL and Sps? Thanks (4 Replies)
Discussion started by: seacros
4 Replies

6. 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

7. UNIX Desktop Questions & Answers

Script that will display a short message

Can anyone point me to the right direction on how to write a simple script that will display a message on any terminal when implemented? Basically I need it so the script runs at a certain time, say April 30, 2010 and that the message will be displayed to me no matter which terminal I am logged... (2 Replies)
Discussion started by: jmack123
2 Replies

8. AIX

service status in AIX

good afternoon to all hay i m new in AIX. my problem is that.....plz tell me how to see " service status" in AIX Becoz i run /etc/rc.d/rc.2/Sbesclientd so its show below like this bash-3.2$ sudo /etc/rc.d/rc2.d/SBESClientd status Usage: /etc/rc.d/rc2.d/SBESClientd { start | stop } I... (2 Replies)
Discussion started by: life008
2 Replies

9. AIX

Help activating http service on AIX

Am new to AIX 5.1 and we have our production database running on it. I need to activate HTTP service so that i can connect to the database's Enterprise manager from my workstation's web browser. can anyone help me with how to activate HTTP service on AIX 5.1 (9 Replies)
Discussion started by: reachay
9 Replies

10. UNIX for Beginners Questions & Answers

Script to automate a service message

Hi I am trying to figure out, on how to automate whether in a simple script or using awk/sed/grep commands to automate a "service.message" file which has tag separated message stating as; "There is currently no outage or system is unavailable for duration of change....", therefore, when... (14 Replies)
Discussion started by: Gamma
14 Replies
PERLOS400(1)						 Perl Programmers Reference Guide					      PERLOS400(1)

NAME
README.os400 - Perl version 5 on OS/400 DESCRIPTION
This document describes various features of IBM's OS/400 operating system that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. By far the easiest way to build Perl for OS/400 is to use the PASE (Portable Application Solutions Environment), for more information see http://www.iseries.ibm.com/developer/factory/pase/index.html This environment allows one to use AIX APIs while programming, and it provides a runtime that allows AIX binaries to execute directly on the PowerPC iSeries. Compiling Perl for OS/400 PASE The recommended way to build Perl for the OS/400 PASE is to build the Perl 5 source code (release 5.8.1 or later) under AIX. The trick is to give a special parameter to the Configure shell script when running it on AIX: sh Configure -DPASE ... The default installation directory of Perl under PASE is /QOpenSys/perl. This can be modified if needed with Configure parameter -Dprefix=/some/dir. Starting from OS/400 V5R2 the IBM Visual Age compiler is supported on OS/400 PASE, so it is possible to build Perl natively on OS/400. The easier way, however, is to compile in AIX, as just described. If you don't want to install the compiled Perl in AIX into /QOpenSys (for packaging it before copying it to PASE), you can use a Configure parameter: -Dinstallprefix=/tmp/QOpenSys/perl. This will cause the "make install" to install everything into that directory, while the installed files still think they are (will be) in /QOpenSys/perl. If building natively on PASE, please do the build under the /QOpenSys directory, since Perl is happier when built on a case sensitive filesystem. Installing Perl in OS/400 PASE If you are compiling on AIX, simply do a "make install" on the AIX box. Once the install finishes, tar up the /QOpenSys/perl directory. Transfer the tarball to the OS/400 using FTP with the following commands: > binary > site namefmt 1 > put perl.tar /QOpenSys Once you have it on, simply bring up a PASE shell and extract the tarball. If you are compiling in PASE, then "make install" is the only thing you will need to do. The default path for perl binary is /QOpenSys/perl/bin/perl. You'll want to symlink /QOpenSys/usr/bin/perl to this file so you don't have to modify your path. Using Perl in OS/400 PASE Perl in PASE may be used in the same manner as you would use Perl on AIX. Scripts starting with #!/usr/bin/perl should work if you have /QOpenSys/usr/bin/perl symlinked to your perl binary. This will not work if you've done a setuid/setgid or have environment variable PASE_EXEC_QOPENSYS="N". If you have V5R1, you'll need to get the latest PTFs to have this feature. Scripts starting with #!/QOpenSys/perl/bin/perl should always work. Known Problems When compiling in PASE, there is no "oslevel" command. Therefore, you may want to create a script called "oslevel" that echoes the level of AIX that your version of PASE runtime supports. If you're unsure, consult your documentation or use "4.3.3.0". If you have test cases that fail, check for the existence of spool files. The test case may be trying to use a syscall that is not implemented in PASE. To avoid the SIGILL, try setting the PASE_SYSCALL_NOSIGILL environment variable or have a handler for the SIGILL. If you can compile programs for PASE, run the config script and edit config.sh when it gives you the option. If you want to remove fchdir(), which isn't implement in V5R1, simply change the line that says: d_fchdir='define' to d_fchdir='undef' and then compile Perl. The places where fchdir() is used have alternatives for systems that do not have fchdir() available. Perl on ILE There exists a port of Perl to the ILE environment. This port, however, is based quite an old release of Perl, Perl 5.00502 (August 1998). (As of July 2002 the latest release of Perl is 5.8.0, and even 5.6.1 has been out since April 2001.) If you need to run Perl on ILE, though, you may need this older port: http://www.cpan.org/ports/#os400 Note that any Perl release later than 5.00502 has not been ported to ILE. If you need to use Perl in the ILE environment, you may want to consider using Qp2RunPase() to call the PASE version of Perl. AUTHORS
Jarkko Hietaniemi <jhi@iki.fi> Bryan Logan <bryanlog@us.ibm.com> David Larson <larson1@us.ibm.com> perl v5.12.1 2010-04-26 PERLOS400(1)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy