I have a routine that creates a source file member for MMAIL to work with. It builds the email body. My steps are:
Has worked perfectly forever ... until I try and write more than 44 records. Then I get:
Shouldn't I be able to write as many records as I need?
Code:
fQTXTSRC o a e k disk usropn f extfile( 'QGPL/QTXTSRC' ) f extmbr( mbr ) f rename( QTXTSRC : ROW ) ADDPFM FILE(QGPL/QTXTSRC) MBR(MBRNAME) CLRPFM FILE(QGPL/QTXTSRC) MBR(MBRNAME) And then I WRITE records to the new member.
Has worked perfectly forever ... until I try and write more than 44 records. Then I get:
Code:
Additional Message Information Message ID . . . . . . : CPF5152 Severity . . . . . . . : 50 Message type . . . . . : Escape Date sent . . . . . . : 11/03/10 Time sent . . . . . . : 08:37:28 Message . . . . : Record format QTXTSRC not in member N608154. Cause . . . . . : The record format name, QTXTSRC, that was specified on the get interface is not in member N608154 file QTXTSRC in library QGPL. Recovery . . . : Specify the name of a record format that is used by member N608154 and try your request again. If the get interface is not available to you, there is no recovery. Report the problem (ANZPRB command).
Shouldn't I be able to write as many records as I need?
Comment