× 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.



After getting a severe knee in the groin by CPY...IMPF when we upgraded to 
V5R3 we developed our own tools to do so using Scott Klement's IFS api's. 
Block and run much faster, and give you any flexibility that you want.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Paul Morgan" <pmorgan@xxxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
05/09/2005 09:21 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Re: Import taking over 24 hours






Suggestions:

1) Try using the CPYFRMIMPF command using FLDDLM(*TAB) instead of writing
custom programs to convert from the tab delimited format.  Try this 
command
to see if will actually work with your data.  If it'll convert the data
correctly then check the performance of the command against these custom
programs your vendor has written.
2) If your target files have an index then modify the access path
maintenance on the target files from *IMMED to *REBLD or *DLY during the
load [CHGPF MAINT(*DLY)].  After you've loaded the data then change the 
file
back to *IMMED to cause an index rebuild to occur on the files.  If these
files have any logical files then just delete those logicals until after 
the
conversion or do the same access path maintenance modification on them.
3) Use blocking on the input and output files with the OVRDBF command 
using
the NBRRCDS and SEQONLY parameters on this command.
4) Make sure the conversion programs don't have some stupid coding like
declaring the input file as keyed when it's being processed sequentially.
5) General performance of the job.  Try bumping up the timeslice on the 
job
and not just the priority to give the job more system resources.  Maybe 
run
the job in a separate subsystem with memory allocated to that subsystem so
it gets some dedicated memory.

Paul

-- 
Paul Morgan
Senior Programmer Analyst - Retail
J. Jill Group
100 Birch Pond Drive, PO Box 2009
Tilton, NH 03276-2009
Phone: (603) 266-2117
Fax:   (603) 266-2333

> We had an outside vendor actually write the code for us which as I said
> before does work, but it is taking a very long time to process.
>
> If anyone has any ideas or thoughts on how we can speed this process up 
I
> would love to hear those ideas.  I need to check with the legal 
department
> before posting the code since I am not sure what contractual obligations
we
> are under as far as the code goes.
>
> I do know that he is splitting the fields up by checking for the tab and
> then writing the data to the file. the header file has quite a few 
fields
in
> it, and if anyone wants to know the number of fields I can verify that 
and
> re-post.



-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.