View previous topic :: View next topic
|
Author |
Message |
sandeep4u
New User
Joined: 12 Aug 2005 Posts: 32
|
|
|
|
Hi,
I am having one problem while reading the file.
How the following file will be read..
00001290DAILY
*********************************
*------**-----**--------*NORMALLY BLANK
| | |OVERRIDE DATE FOR DAILY RUN(COL 16-25)
| | |E.G. '2002-01-31' (DEFAULT IS SYSTEM DATE)
| |
| |RUN TYPE = 'DAILY ' OR 'REFRESH' (COL 9-15)
|
RUN NUMBER (COL 1-8) AUTOMATICALLY INCREMENTED
I am using first row and date only. What about rest information. will it also be read?
thanks,
sandy |
|
Back to top |
|
|
gowtham_1982 Warnings : 1 Active User
Joined: 02 Dec 2005 Posts: 109
|
|
|
|
hi sandy,
it depends how you read the file. i assume your file name as INFILE. If you've coded this way...
READ INFILE INTO WS-INFILE-REC(1:10)
then only 10 bytes of INFILE will be available. Else you'll have entire record read.
suggestions or corrections welcomed...
gowtham |
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
Perform the read 2 times but not untill eof |
|
Back to top |
|
|
|