11-11-2010
View ouput as a file
Hi all ,
I have a view in teradata , the ouput of that view have to be stored as a file with delimitere as '|'.Is there any possibility of doing this in unix ?
Thanks in advance ,
Vinoth
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this one::) doing jstack on JVM proccess.
#!/bin/ksh
# ----------------------------------------------------
# capture_jstack.sh <INTERVAL> <COUNT>
# run jstack and capture output to a log file
#-----------------------------------------------------
#
# scripts and logs are stored... (3 Replies)
Discussion started by: pointer
3 Replies
2. Solaris
I am trying to view the files in /etc/security/audit/SERVERNAME/files, but when I gunzip them and then do a cat I get a bunch of garbage with some stuff that makes sense. I need to view this file without having all the garbage. I tried to cat it and vi it without any luck. Can someone show me an... (4 Replies)
Discussion started by: jastanle84
4 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am experiencing a strange and serious issue.
I can see, a file exist there inside a directory
while doing cat i can see the file exists, but while trying to view that its saying NO such File or Directory.
(ipbala01)/env/balast7/app/working/batch_loader/data/system_2/input>ll
total 12... (8 Replies)
Discussion started by: gotam
8 Replies
4. Red Hat
What is the command that can be used to open or view the .dat file in linux?
Unable to read the contents of .dat file. (7 Replies)
Discussion started by: Rupaa
7 Replies
5. Shell Programming and Scripting
Hi to all,
1- I'm trying to open a certain file in unix with the tool KEA!
2- i get to the correct folder with the CD command
3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z
4- Yes those files finish with a .Z
5 - I get something in the KEA!... (3 Replies)
Discussion started by: Sanchoniathon
3 Replies
6. Shell Programming and Scripting
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies
7. UNIX for Dummies Questions & Answers
Hi all
The following code will update the Dynamic DNS server at Namecheap.com.
wget -O 'https://dynamicdns.park-your-domain.com/update?host=www&domain=example.com&password=your DDNS password'Would like to append the output to a log file using >> /path/path/logfile at the end of the command.
... (7 Replies)
Discussion started by: CRChamberlain
7 Replies
8. Shell Programming and Scripting
Hallo Team,
I would like to redirect an output from a file into another file. Here are the two commands/files.
-bash-3.2$ cat lack.csv
lemontwistpax
-bash-3.2$ ll -ltr BW*|tail -1
-rw-r--r-- 1 mind mind 1844 Sep 25 12:06... (8 Replies)
Discussion started by: kekanap
8 Replies
9. UNIX for Beginners Questions & Answers
hello:
how could i view the file's flags? "ls -loa" doesn't seem to do the trick:
root@giraffe:/etc # ls -alo
total 820
drwxr-xr-x 23 root wheel - 2048 Oct 23 19:48 .
drwxr-xr-x 19 root wheel - 1024 Nov 16 15:01 ..
drwxr-xr-x 2 root wheel - 512 Nov 11 2014 X11... (6 Replies)
Discussion started by: ipfreak
6 Replies
10. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
catalyst::view::petal
Catalyst::View::Petal(3pm) User Contributed Perl Documentation Catalyst::View::Petal(3pm)
NAME
Catalyst::View::Petal - Petal View Class
SYNOPSIS
# use the helper
create.pl view Petal Petal
# lib/MyApp/View/Petal.pm
package MyApp::View::Petal;
use base 'Catalyst::View::Petal';
__PACKAGE__->config(
input => 'XML',
output => 'XML',
error_on_undef_var => 0
);
1;
# Meanwhile, maybe in an 'end' action
$c->forward('MyApp::View::Petal');
DESCRIPTION
This is the "Petal" view class. Your subclass should inherit from this class.
METHODS
process
Renders the template specified in "$c->stash->{template}" or "$c->request->match". Template variables are set up from the contents of
"$c->stash", augmented with "base" set to "$c->req->base", "c" to $c and "name" to "$c->config->{name}". Output is stored in
"$c->response->body".
config
This allows your view subclass to pass additional settings to the Petal config hash.
SEE ALSO
Petal, Catalyst, Catalyst::Base.
AUTHOR
Christian Hansen, "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2009-08-10 Catalyst::View::Petal(3pm)