|
I have not seen CA create the file automatically with a predefined INITIAL NUMBER OF RECORDS, unless you change the CRTPF's default value. If you do not want to do that, and you say that the application creates the file each time the transfer runs, I presume that the file is moved or renamed after you upload the data. If that is the case, you can create a permanent physical file on the AS400 with an INITIAL NUMBER OF RECORDS of *NOMAX. Then, use CRTDUPOBJ to copy this file to the LIBRARY/FILE you are using today for your process. Your process will be like this: 1) Run your Full Data Upload Process in the normal way. 3) Automate the execution of using the CRTDUPOBJ every time your Full Data Upload Process is completed. In theory, by doing this you will be able to have a file that will be capable to receive any file size and you will not have to change the CRTPF command. I hope this will help you somehow. Best regards!! Peter Vidal /******************************************************************************/ Good morning-- We are trying to determine if it's possible to upload a file from a PC that contains more than 13000 records. I know we can create the file up on the host first and change the file size, but this application creates the host file each time the transfer is run. Is there a setting in Client Access to specify the host file size? Does the transfer process use the standard CRTPF command? If so, I suppose we can change the command default, but that's not the preferred solution. TIA- Terry Richardson Vermont Information Processing, Inc. terry@vtinfo.com
As an Amazon Associate we earn from qualifying purchases.
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.