× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Glen

I get a ) error running the command.

The files are all created so re-use is yes.

It looks like splitting the file is dropping records.

Sent from my iPad

On Apr 17, 2015, at 5:26 PM, Glenn Gundermann <glenn.gundermann@xxxxxxxxx> wrote:

Hi Darryl,

Using the DELETE command doesn't necessarily mean the system will do a FAST
DELETE, a.k.a. RGZPFM. It might just delete all the records. Resetting
the RRN will then depend on whether you have REUSE DELETED RECORDS. If you
DSPFD on the table, what does it show for REUSE DELETED RECORDS and TOTAL
DELETED RECORDS?


Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (416) 675-9200 ext. 89224
Cell: (416) 317-3144




On 17 April 2015 at 17:12, Darryl Freinkel <dhfreinkel@xxxxxxxxx> wrote:

The big file was cleared before writing to it using the delete command.

Sent from my iPad

On Apr 17, 2015, at 4:57 PM, Alan Shore <ashore@xxxxxxxx> wrote:

Deleted records?


Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Darryl Freinkel
Sent: Friday, April 17, 2015 4:56 PM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: Splitting a big file into smaller files

I am splitting large files of 400,000 plus records into files of 10,000
each.



I am using SQL to create the records using the create table command. I
split the file using

FROM RRN(A) between 1 and 10,000

FROM RRN(A) between 10,001 and 20,000

FROM RRN(A) between 20,001 and 30,000

.



Problem:

Why would the system not copy exactly 10,000 records. I have several
files that have a few records less than the 10,000 I should have in each
file.



Has anyone seen this problem before?

If you have, what is the reason?



This is a V5R4 system.



TIA



Darryl Freinkel

Assignment 400 Group, Inc.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.