04-02-2012
Quote:
Originally Posted by
thangaga
Please send us sample code for CODE TAGS.
Just click on the link in the moderator comments in post #1
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to change permissions on an output file from an sqr. The file is pushed out into a directory on the unix box. I am using the following code in the sqr to accomplish this.
if $OUTPUT <> ''
let $unix_call = 'chmod 664 '||$OUTPUT
show $unix_call
CALL SYSTEM Using... (1 Reply)
Discussion started by: evengetsteven
1 Replies
2. Shell Programming and Scripting
Hi ,
I came along a command sqr in shellcscript.
It was
sqr process_name parameters.
Could you please tell me what does it mean.
Regards
Ashish Malviya :) (1 Reply)
Discussion started by: Ashishm
1 Replies
3. UNIX for Dummies Questions & Answers
UNIX script running a SQR program.... passing values to SQR program... trying to pass values back to UNIX....
I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value....
Is there an easier way to pass the values back from... (0 Replies)
Discussion started by: seeuinoz
0 Replies
4. UNIX for Advanced & Expert Users
UNIX script running a SQR program.... no problem passing values to SQR program... trying to pass values back to UNIX....
I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value....
Is there an easier way to pass the... (2 Replies)
Discussion started by: seeuinoz
2 Replies
5. Gentoo
I am profoundly new to *nix, but had a project dropped in my lap that has sparked an interest, leading me here.
I was tasked with daily sending one of our customers a listing of all the spam our filter blocked that was heading for them.
Between Google and I;
I discovered the Server is running... (3 Replies)
Discussion started by: GrendelPrime
3 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to execute a script which calls a SQR.
The SQR is throwing an error
SQR 5528-sybase ct_connect error in cursor 0
Login falied
SQR 4701-Cannot connect to the database
I'm not sure where is the id/password specified as this is an existing script.
Any idea as where is... (1 Reply)
Discussion started by: autosys_nm
1 Replies
7. Shell Programming and Scripting
Hi,
My requirement is to generate a single text output which fetches data from two different databases. I have two different sqrs to generate text file1(data from db1) and file2(data from db2). can I execute both the sqrs from a single shell script? If yes, pls let me know how to connect to db2... (1 Reply)
Discussion started by: vimalr
1 Replies
8. SuSE
Guys
I have not much idea on suse or any other linux flavour.
This is what i have:
cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).
ps -ef |grep postfix |grep -v grep
root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master
postfix ... (0 Replies)
Discussion started by: ak835
0 Replies
9. Shell Programming and Scripting
hi this is naga,
i had created one SQR , but i didnt include the code to get the notification(failure or success ) thats way every time its returning the status=0 SQR was went to success(if it failed also), without touching the code of the SQR can any one help to write script in unix to get... (4 Replies)
Discussion started by: nagavenkatesh
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to run an SQR from unix shell script. but the SQr errored out with the following message
SQR (1201) Cannot open argument file (2) No such file.
Can anybody help me ragrding this.
I m using this to run the SQR. $2 is the sqr name and $3 is the parameter file name.
sqrun... (1 Reply)
Discussion started by: Aswathy88
1 Replies
LEARN ABOUT DEBIAN
jifty::plugin::comment::notification::commentneedsmoderation
Jifty::Plugin::Comment::Notification::CommentNeedsModeraUser(Contributed Perl DocJifty::Plugin::Comment::Notification::CommentNeedsModeration(3pm)
NAME
Jifty::Plugin::Comment::Notification::CommentNeedsModeration - new comments made, but not published
SYNOPSIS
To activate this notification, you must override the notification in your application.
use strict;
use warnings;
package MyApp::Notification::CommentNeedsModeration;
use base qw/ Jifty::Plugin::Comment::Notification::CommentNeedsModeration /;
sub setup {
my $self = shift;
# Limit to users that have a "moderator" column set to 1
my $users = MyApp::Model::UserCollection->new;
$users->limit( column => 'moderator', value => 1 );
$self->to_list(@{ $users->items_array_ref });
$self->SUPER::setup(@_);
}
sub url {
my $self = shift;
return Jifty->config->framework('Web')->{'BaseURL'}
. $self->parent->permalink
. '#comment-'.$self->comment->id;
}
1;
DESCRIPTION
This notificaiton (when properly configured) is sent out to any who need to know when a comment has been created, but not published because
Net::Akismet has marked it as spam.
METHODS
setup
This method sets up the notification. This method should be overridden to setup "to_list" in Jifty::Notification to select who will receive
this message. See the "SYNOPSIS".
comment
This will contain the Jifty::Plugin::Comment::Model::Comment that has been published.
parent
This will contain the object that the comment has been attached to.
url
THis returns the URL that the message will link to. This should be overridden to provide application-specific URLs. The default
implementation returns the BaseURL setting for the application.
SEE ALSO
Jifty::Notification, Jifty::Plugin::Comment::Notification::CommentPublished
AUTHOR
Andrew Sterling Hanenkamp, "<hanenkamp@cpan.org>"
COPYRIGHT AND LICENSE
Copyright 2008 Boomer Consulting, Inc. All Rights Reserved.
This program is free software and may be modified and distributed under the same terms as Perl itself.
perl v5.12.4 2009-03-09 Jifty::Plugin::Comment::Notification::CommentNeedsModeration(3pm)