11-27-2009
Is it possible to change isql command .. Which will better that a shell script ..
Check with
SyBooks Online
-w columnwidth
Default= 80 characters
meaning = Changes the line width
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using the following script
#!/bin/ksh
/usr/sybase/bin/isql -SXYZ -UABC -PXYZ -b <<EOF >temp
select A.host,A.server,B.db,A.status from dbo.server as A,dbo.db as B where A.product in (XX,YY) and A.server=B.server
go
EOF
Result:
Results:
host1 server1 ... (1 Reply)
Discussion started by: siquadri
1 Replies
2. Shell Programming and Scripting
Using a ksh script, I'm dumping the data from our sybase database into an output file. This output file is for what ever reason cut at 2GB.
There is enough space on the unix machine and as there is no error message is received I have no clue to start looking for a solution.
#!... (1 Reply)
Discussion started by: bereman
1 Replies
3. Shell Programming and Scripting
hi all
i m running following code
# set up environment
. /u/pimms/pimms_global.ksh
echo "Get record from database"
#echo ${PIMMS_ID}
#echo ${PIMMS_PWD}
#echo "1"
isql -U${PIMMD_ID} -P${PIMMS_PWD} -S$SRV << eof > /sybase/applications/pimms/bin/automate1.txt
use pimms
... (6 Replies)
Discussion started by: d_swapneel14
6 Replies
4. Shell Programming and Scripting
Hi folks,
Please help me with csv file formatting which needs to be done in horizontal fashion.
I have data coming in separate files every hour. What I need to do is extract three values into csv file. In the next hour, I need to extract the new values beside the three values which were... (1 Reply)
Discussion started by: vharsha
1 Replies
5. Shell Programming and Scripting
I am getting a no of fields from a SQL session (e.g. select a,b,c from table). How do I convert the output values into CSV format .
The output should be like this 'a','b','c', (4 Replies)
Discussion started by: mady135
4 Replies
6. Shell Programming and Scripting
The input file contains 4 bytes per row
1 2 3 4
5 6 7 8
9 10 11 12
* * * 108
1 2 3 4
5 6 7 8
9 10 11 12
* * * 108
I need to put them in a horizontal manner and this need to repeat after every 108 lines lso the output comes as
1 2 3 4 5 6 7 8 9 10 11 12 ..... 108
1 2... (4 Replies)
Discussion started by: necro98
4 Replies
7. Shell Programming and Scripting
Need perl or shell script to sort vertical lines to horizontal line in csv format
My file like below
-------------------------
================================================================================
PATH PINKY1000#I1-1-ZENTA1000-2#I7-1-ASON-SBR-UP-943113845 ... (4 Replies)
Discussion started by: sreedhargouda.h
4 Replies
8. Shell Programming and Scripting
// AIX 5.3 & 6.1
This command
powermt display dev=all
returns the output of
Pseudo name=hdiskpower50
Symmetrix ID=000190101757
Logical device ID=05F0
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================... (2 Replies)
Discussion started by: Daniel Gate
2 Replies
9. Shell Programming and Scripting
Hi All,
please help to achieve the desired output
Example: I have a file which contains the below data
empname
robert
empid
787
design
consultant
empname
alex
empid
898
design
advocate
Desired output should be
empname empid design
robert 787 consultant (19 Replies)
Discussion started by: rocky2013
19 Replies
10. Shell Programming and Scripting
I feel bad for posting so much lately. I've just been working on a project for fun to force myself to learn Python better. Recently I decided to incorporate this ping.py script on github found here. I'm not going to bore you with all the changes I made, but the problem now lies in this function... (8 Replies)
Discussion started by: Azrael
8 Replies
LEARN ABOUT REDHAT
qt2kdoc
QT2KDOC(1) KDOC Documentation System QT2KDOC(1)
NAME
qt2kdoc -- Generates cross-reference file suitable for use with KDOC from Qt Toolkit HTML documentation.
SYNOPSIS
qt2kdoc [-u URL] [-o <destdir>] [-z] <path to qt html>
DESCRIPTION
qt2kdoc generates a kdoc(1) cross-reference file from the classes.html file that is included with the Qt GUI Toolkit HTML documentation.
The resulting file can be used to cross-reference documentation generated with KDOC for other classes with the Qt HTML documentation.
OPTIONS
--url <url>, -u <url>
The URL by which the Qt documentation can be accessed. This will allow other libraries to link to the Qt documentation.
--outdir <path>, -o <path>
The directory where the generated index file will be written.
--compress, -z
Compress the generated index with gzip. KDOC can read these compressed index files.
EXAMPLES
qt2kdoc -u "http://www.mydomain/src/qthtml/"
$HOME/web/src/qthtml
ENVIRONMENT
KDOCLIBS
If set, it is used as the default output path. It is overridden by the --outdir option.
FILES
classes.html, functions.html
The files from which information about the Qt library is read. They are parsed by qt2kdoc.
qt.kdoc
A kdoc(1) cross-reference file that will be generated by qt2kdoc and can be used to link documentation generated by kdoc with the Qt
documentation.
SEE ALSO
This script is a utility for kdoc(1).
BUGS
Dependent on format of Qt documentation.
AUTHOR
Sirtaj S. Kang <taj@kde.org>, 1998.
2.0a54 2002-03-18 QT2KDOC(1)