![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use system function in awk | srikanth_ksv | Shell Programming and Scripting | 3 | 06-18-2009 05:38 AM |
| shell function, system, awk | jkl_jkl | Shell Programming and Scripting | 5 | 06-02-2008 08:46 AM |
| System() function in <stdlib.h> | someone33 | UNIX for Dummies Questions & Answers | 0 | 05-03-2005 10:11 AM |
| system function in c | collins | High Level Programming | 1 | 11-07-2004 05:48 AM |
| system() function call... | Vishnu | High Level Programming | 1 | 10-15-2002 11:36 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to use ${?} and system() function???
Hi All,
I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode' commands for the same and those worked fine. Please find below the same. X " ( cat /sastemp/body.txt; uuencode test.xls test.xls ) | mailx -s 'testing' 'abcd.gef@yahoo.com' " Instead using the X command in the above code, I want to use 'system()' function which needs to pick up the return code from the mailx command and return it to SAS and '${?}' to access the mailx return. Could anyone let me know the syntax of system() function and '${?}' commands?? Thanks in advance. Thanks for your time, Manas |
| Bookmarks |
| Tags |
| mailx, mailx attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|