I modified the CL to change the logical (there was only 1) to be Maint(*Dly). Looking at I/O for the job, it was still record by record. This is how I changed the CL:
CHGLF FILE(FILEAL1) MAINT(*DLY)
CALL PGM(PROGRAM)
CHGLF FILE(FILEAL1) MAINT(*IMMED)
For a test I changed the PF as well (although I didn't think I'd need to), but that didn't' make the I/O blocked either.
Thanks for all the help. I've learned a lot through all of this.
-Kurt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Tuesday, June 08, 2010 3:20 PM
To: 'RPG programming on the IBM i / System i'
Subject: RE: RPG Blocked Writes
I'll give that a try, thanks.
-Kurt
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Voris, John
Sent: Tuesday, June 08, 2010 2:39 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG Blocked Writes
Try changing all the Logicals over the physical before the process
begins using CHGLF from MAINT(*IMMED) to MAINT(*DLY). The OS is trying
to maintain the indices. After the process, change it back to
MAINT(*IMMED)
from: Kurt Anderson
subject: RE: RPG Blocked Writes
I did some testing, and as it stands, my results show that when the PF
(keyed or not) has a LF, output writes to the PF
are not blocked. If the PF (keyed or not) does not have a logical,
the output writes are blocked.
-Kurt
As an Amazon Associate we earn from qualifying purchases.