![]() |
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 |
| get integer part | ericaworld | Shell Programming and Scripting | 3 | 05-29-2007 03:16 PM |
| how to pass integer | ramneek | IP Networking | 1 | 08-25-2005 08:40 AM |
| awk or grep for integer only | apalex | UNIX for Dummies Questions & Answers | 5 | 09-01-2004 01:38 PM |
| integer arrays | primal | High Level Programming | 4 | 03-09-2002 05:40 PM |
| How to get a rodom integer | toddor | High Level Programming | 2 | 10-10-2001 07:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Cannot store integer value
Hi ,
I have code like below in my ksh script, but getting an error as SP2-0253: data item 1 ("SAMPLE_ID") will not fit on line , pls help me. thanks. if (( CHECKS == 0 )) || (( CHECKS == 1 )) then V_SAMPLE_ID=$( $ORACLE_HOME/bin/sqlplus -S / <<EOF whenever sqlerror exit 1 rollback; whenever oserror exit 1 rollback; --Set up pagesize parameters. set newpage 0; set space 0; set echo off; set pagesize 0; set heading off; set verify off; set feedback off; set trimspool off; set termout on; set colsep ""; set linesize 5; select SAMPLE_ID from sample_m where NAME=$MFGLBL and TVALUE=$C_SAMPLE; exit; EOF ) v_count=$? print "V_SAMPLE_ID: $V_SAMPLE_ID" >> $LOG_FILE fi |
|
||||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|