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)
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)
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)
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)
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)
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)
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)
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)
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)
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
pop3browser
pop3browser(1)pop3browser(1)NAME
pop3browser -- small perl script to access POP3 mail accounts
DESCRIPTION
pop3browser is a perl script that uses libnet-perl to give access to POP3 mail accounts without fetching the messages.
pop3browser can be used to delete unwanted mails (SPAM), especially when they come with large attachments, before downloading them over
low-bandwidth connections. The --limit option of fetchmail is very useful to filter such large mails which can then be inspected with
pop3browser.
The program supports normal POP3 authentication and APOP.
USAGE
pop3browser welcomes you with a short copyright note and a command line prompt. The settings for a mailbox (host, password etc.) have to be
specified in a configuration file (similar to fetchmail). pop3browser understands the following commands:
hosts list available hosts specified in .pop3browserrc
login n
log into host no. n, use 'hosts' to get a list of available hosts
o(pen) n
same as login
apop n same as login but uses APOP
c(lose)
delete messages marked for deletion and close current connection
list list sizes and message numbers of the mails on the account
s(how) n
show header and some body lines of mail number n
m(ailbox)
list message number, size, sender and subject for each mail
d(elete) n
delete mail number n
undel(ete) n
undelete mail number n
k(ill) expr
delete mails matching expr in header
u(nkill) expr
undelete mails matching expr in header
q(uit) delete messages marked for deletion and quit program
exit same as quit
help print a command summary
CONFIG FILE
The definitions for a mailbox are specified in ~/.pop3browserrc. One line per mailbox. Lines starting with # are ignored. Each definition
must be in the following form:.br hostname <tab or space> userid <tab or space> password <tab or space> protocol (optional)
For example:
#definition for bar@pop.foo.com
#pop-server UID passwd protocol
pop.foo.com bar s3cr3t apop
#end of definition
Recognised options for the protocol are pop3 and apop. If no protocol is specified the command login/open assumes pop3. The command apop
ignores the protocol option.
To override the default header-filter of the show command you can specify a custom set of keywords in ~/.pop3browserrc. Lines starting
with "@headpattern" or "@bodylines" are parsed by pop3browser. Settings for the header-filter must be in the following form:
@headpattern <tab or space> = <tab or space> "<keyword1>","<keyword2>",....
The filter keywords are matched against the start of a header line.
Settings for the number of body lines to show, have to be in the following form:
@bodylines <tab or space> = <tab or space> <Number>
Example:
@headpatterns = "From:","To:","Subject:","Date:","CC"
@bodylines = 10
The file ~/.pop3browserrc must only be readable for the owning user. pop3browser corrects other file modes automatically.
SEE ALSO fetchmail(1)AUTHOR
Christoph Baumann <cgb@debian.org>
THANKS
Jorrit 'J"o' Fahlke, for his overhaul of the config file parser
Takeshi Hamasaki, for the headpattern patch
Debian/GNU Linux Nov. 2003 pop3browser(1)