View previous topic :: View next topic |
Author |
Message |
coolguy2005 Beginner
Joined: 22 Mar 2005 Posts: 22 Topics: 16
|
Posted: Thu Apr 28, 2005 1:05 pm Post subject: Read only first 10 characters from a record of a file in pli |
|
|
Hai,
Can anyone tell how can i read only first 10 bytes of a record from a file one by one and i am storing this 10 bytes into an array declared of 10 bytes.Since the record is too big i want to read only 10 bytes and record layout is declared as a PLI STRUCTURE
serial_array(1000) char(10);
read file(infile) input into(serial_array);
Thanks & Best Regards |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Apr 28, 2005 1:23 pm Post subject: |
|
|
coolguy2005,
Please do not open more than 1 topic for the same question. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Apr 28, 2005 1:27 pm Post subject: |
|
|
Yeah, or I'll come over there and slap you upside your head!  |
|
Back to top |
|
 |
|
|