![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about formatting the output | chris1234 | UNIX for Dummies Questions & Answers | 1 | 07-07-2008 06:17 AM |
| Question about output to file | beeloo | Shell Programming and Scripting | 1 | 04-25-2008 03:20 PM |
| wget output question | sertansenturk | UNIX for Dummies Questions & Answers | 1 | 04-19-2008 12:01 PM |
| A question about output. | HOUSCOUS | High Level Programming | 2 | 04-18-2003 12:48 PM |
| Further question on 'ifconfig' output | mint1981 | UNIX for Dummies Questions & Answers | 1 | 09-10-2002 11:49 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Output file question
I am running a shell script which executes a bteq script and the output of the BTEQ script is dumped in the standard output file. The output of the bteq execution is a table with 30 columns and the width of the output would be about 800 characters for each record.
My current output only shows 3 columns and i do not see the remaining 27 columns (I guess because the length of the record is above the limit). How do i increase the width of the output file so that i see all the columns in a record? Thanks in advance. |
|
||||
|
Script
The script is very simple....I am running a sql script rec_dly_clms.txt on bteq and the standard output is captured in rec_out file. My output has long fields with 30 columns. This data does not fit in my output file and the data I see in my output file is truncated (only 3 columns, instead of 30).
Code:
echo "Script On" bteq < rec_dly_clms.txt > rec_out .set errorout STDOUT .set width 600$ Last edited by Yogesh Sawant; 07-05-2009 at 09:51 AM.. Reason: added code tags |
![]() |
| Bookmarks |
| Tags |
| file width, standard output |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|