How to declare an array to take more than 10,000 characters


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to declare an array to take more than 10,000 characters
# 1  
Old 01-15-2008
Data How to declare an array to take more than 10,000 characters

Hi Guys
Need some help

I am reading the string values from the text files into the shell script and had them feed into array
I have declared an associative array as
TYPE t_user_id_tab IS TABLE OF VARCHAR2(3000);\n
my_user_id t_user_id_tab;\n
varchar2 is limiting me to take only 32760 characters
but I have a text files which has more than 1100 users with length of each user id is 8
1100* 8 = 8800 + the '',sapces

so I am looking around 10,000 characters is there a way that I can declare the array of string to take 10,00 characters

Thanks in advance
Pinky
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Programming

How to Declare an array of function pointers?

I am attempting to create an array of function pointers. The examples I follow to do this are from: support.microsoft.com/en-us/help/30580/how-to-declare-an-array-of-pointers-to-functions-in-visual-c ... (3 Replies)
Discussion started by: spflanze
3 Replies

2. UNIX for Dummies Questions & Answers

How to declare an array in UNIX and print the elements with tab delimits?

Hello, In a shell script, I want to declare an array and subsequently print the elements with tab delimits. My array has the following structure and arbitrary elements: myArray=('fgh' 'ijk' 'xyz' 'abc'); Next, I would like to print it with a '\n' at the end. Thanks for your input! ... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

3. Shell Programming and Scripting

create array holding characters from sring then echo array.

Hi, I wish to store $string1 in $string1array a character in each array element. Then i wish to echo the entire array to the screen so that it reads as the normal string again. I have been trying with the code below but does not work. Please help... To put string into array: ... (5 Replies)
Discussion started by: rorey_breaker
5 Replies

4. Shell Programming and Scripting

declare, assign variables using array, counter, loop

using bash Tru64... converting DCL to shell... any tips to make this work would be greatly appreciated. Below is my failed attempt to assign command line input to variables by first declaring an array. I use a counter to create unique variables in a loop through the array. I need to call... (3 Replies)
Discussion started by: egkumpe
3 Replies

5. News, Links, Events and Announcements

Microsoft "Donates" $3,000,000,000 to Feds

Surreal quote from the news link below: http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question
wcstombs(3int)															    wcstombs(3int)

Name
       wcstombs - converts a string of type wchar_t into a multibyte character string

Syntax
       #include <stdlib.h>

       int wcstombs (s, pwcs, n)
       char *s;
       const wchar_t *pwcs;
       size_t n;

Arguments
       s       The s argument is a pointer to the resulting multibyte character string.

       pwcs    The pwcs argument is a pointer to the source array of wide characters.

       n       The n argument is the maximum number of resulting bytes in the array pointed to by s.

Description
       The  function converts a sequence of character codes of type from the array pointed to by pwcs into a sequence of multibyte characters. The
       function stores the multibyte characters in the array pointed to by s, stopping if a multibyte character would exceed the limit of n  total
       bytes  or  if a null character is stored. Each character is converted as if by a call to the function. No more than n bytes are modified in
       the array pointed to by s.  This function is affected by the LC_CTYPE category of the current locale.

Return Values
       If a character is encountered that does not correspond to a valid multi-byte  character,  the  function	returns  Otherwise,  the  function
       returns	the  number  of  bytes	modified, not including a terminating null character, if any. The array will not be null-terminated if the
       value returned is n.

See Also
       mblen(3int), mbtowc(3int), mbstowcs(3int), setlocale(3int), wctomb(3int)

																    wcstombs(3int)