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
ID3_SET_TAG(3)								 1							    ID3_SET_TAG(3)

id3_set_tag - Update information stored in an ID3 tag

SYNOPSIS
bool id3_set_tag (string $filename, array $tag, [int $version = ID3_V1_0]) DESCRIPTION
id3_set_tag(3) is used to change the information stored of an ID3 tag. If no tag has been present, it will be added to the file. PARAMETERS
o $filename - The path to the MP3 file Instead of a filename you may also pass a valid stream resource o $tag - An associative array of tag keys and values The following keys may be used in the associative array: Keys in the associative array +--------+--------------------------------------+---+ | key | | | | | | | | | possible value | | | | | | | | available in version | | | | | | +--------+--------------------------------------+---+ | title | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | |artist | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | | album | | | | | | | | | string with maximum of 30 characters | | | | | | | | v1.0, v1.1 | | | | | | | year | | | | | | | | | 4 digits | | | | | | | | v1.0, v1.1 | | | | | | | genre | | | | | | | | | integer value between 0 and 147 | | | | | | | | v1.0, v1.1 | | | | | | |comment | | | | | | | | | string with maximum of 30 characters | | | | (28 in v1.1) | | | | | | | | v1.0, v1.1 | | | | | | | track | | | | | | | | | integer between 0 and 255 | | | | | | | | v1.1 | | | | | | +--------+--------------------------------------+---+ o $version - Allows you to specify the version of the tag as MP3 files may contain both, version 1.x and version 2.x tags RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 id3_set_tag(3) example <?php $data = array( "title" => "Re:Start", "artist" => "Re:Legion", "comment" => "A nice track" ); $result = id3_set_tag( "path/to/example.mp3", $data, ID3_V1_0 ); if ($result === true) { echo "Tag successfully updated "; } ?> If the file is writable, this will output: Tag successfully updated NOTES
Note Currently id3_set_tag(3) only supports version 1.0 and 1.1. SEE ALSO
id3_remove_tag(3), id3_get_tag(3), id3_get_version(3). PHP Documentation Group ID3_SET_TAG(3)