|
eh... yeah. That is how the original design was conceived (although I was just a youngster -- er... not born yet, so I might be mis-stating it), one program, one file to churn through, and supporting files set up as secondary files. Input, processing, output. Of course, if I want to churn through a few files, perhaps in different dataset libraries, with the same name and format, well, I suppose I could er... well, that would be tough. But if I wanted to run through only one file each time the program was called, and the file was in one of 60 libraries, determinable at runtime I could do that by... er... well, AHHAH! I could write a driver CL program to do an OVRDBF -- but that's another thread. What's so bad about handling the record blocking? The formula I use is pretty simple -- I consider file size, average number of recs that might be read, and environment (interactive or batch), and make a judgement. In fact, I think there should be an H-Spec for the number of records read at each READ operation. Why make us do an override in a rather mysterious way, than just tell the machine what you want? On 9/2/05, rob@xxxxxxxxx <rob@xxxxxxxxx> wrote: > > Only one primary file? Isn't that what secondary files are for? (Other > than matching records.) > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > > > > > Tony Carolla <carolla@xxxxxxxxx> > Sent by: rpg400-l-bounces@xxxxxxxxxxxx > 09/02/2005 03:10 PM > Please respond to > RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> > > > To > RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> > cc > > Subject > Re: Using CL to call RPG pgms > > > > > > > On 9/2/05, rob@xxxxxxxxx <rob@xxxxxxxxx> wrote: > > > > What, you don't make the file a Primary file so you get the compilation > > message RNF7086-"RPG handles blocking for this file..."? > > > Sure! I would love to! As soon as I can specify a DS that the 'primary' > file > can be READ into by the hidden cycle details. Oh... wait... you can only > have one primary file, right? <vbg> hehe... no thanks. > > > -- > "Enter any 11-digit prime number to continue..." > "In Hebrew SQL, how do you use right() and left()?..." - Random Thought > "If all you have is a hammer, all your problems begin to look like nails" > -- > 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. > > > -- > 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 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.