View previous topic :: View next topic |
Author |
Message |
nadh Intermediate
Joined: 08 Oct 2004 Posts: 192 Topics: 89
|
Posted: Thu Aug 30, 2007 6:04 am Post subject: Opening Huge data set in edit mode |
|
|
Hi,
I have a dataset which contains 4 lac records. If I try to open it browse is substituted. Is there any way to open it in edit mode. I need to update the record count in trailer record. We do not have a file-aid in out shop.
Thanks in advance
Cheers!!!
Nadh |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Aug 30, 2007 6:31 am Post subject: |
|
|
You are limited by the space set by your session. You can not use ISPF to edit large files.
1) You can use sort to modify the trailer record.
2) you can use sort to drop the original trailer and add a new trailer record.
3) If you know exactly how many records are in the DS, and know exactly what you want to change in your trailer record, you can use 3.3, and copy all but the last record (trailer record) to a new DS. use 3.3 to copy only the last record to a another new DS. Edit the second dataset and modify the trailer record. Then use 3.3 to copy the concatenated new DSs over the original.
I would only use method 3 if you can't get a sort solution from someone. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
|
|