Jean:
When a file fills up (reaches maximum # of records), the CPF5305 message is
sent to the QSYSOPR message queue that indicates
' Record not added. Member FXXXXX is full. (C I 9999)
Reply . . : __________________
If the system operator replies with 'C' to this message, the program will
cancel and the WW will end abnormally. If answered with 'I', the file will
be extended one increment, or if you answer with 1 - 9999, the file will be
extended by 1 to 9999 increments, depending on the number that you enter...
There are two ways to handle this situation:
1) The default file size on the AS/400 is 10000 records, with three
increments of 1000, totalling 13,000 records. You can see this by prompting
the CRTPF command and viewing the values in the SIZE parameter. This can be
changed by changing the default value using CHGCMDDFT on the CRTPF command
to specify a different values for the SIZE parameter, but this applies
globally to all files created by using CRTPF (Dangerous!)
2) If you add a reply list entry (see ADDRPYLE, WRKRPYLE) to automatically
reply to this message, then your WW won't bomb. If you specify 'I' as the
default answer for CPF5305, it will continue expanding the file, one
increment at at time, until the WW is finished. You can also tailor the
responses for this msgid
based on the file name that it occurred on. Your operations department may
assert their responsibility about making these changes. If you allow a
runaway WW to create a file that fills up the disk, then you could take the
system down. You most definitely need to manage this properly.
Search all books at
http://as400bks.rochester.ibm.com for 'system reply
list'. I used the V4R5 books for my search.
Here is a link from the V4R5 OS/400 CL Programming Guide (if the link
doesn't post properly, use EVERYTHING between the "<" and the ":
<
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/qb3auo03/8.6?ACTION=MATC
HES&REQUEST=system+reply+list&TYPE=FUZZY&SHELF=QB3AYC08&DT=19991014091328&se
archTopic=&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FI
RSTHIT
HTH
----- Original Message -----
From: "Jean_Driscoll" <
[email protected]>
To: <
[email protected]>
Sent: Thursday, October 17, 2002 11:22 AM
Subject: Re: WW sending result to output file?
I tried it, it created a file, but then it dumped and ended abnormally
because the file created had a initial#records = 10000 with only 3 1000
increments to add and my WW was querying more than 13000 records. Is there
anyway to set the initial # records for a WW output file. I tried changing
the file and running again, but the WW deleted the previous file and added
another.What's the specific error in the joblog that you are getting?
Jean Driscoll
AS/400 Co-existent Xe 17.1, Update 4/A73Cum12
--------------------------
To view this thread, go to:
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=W&Number=43584
+ - - - - - - - - - - - - - - - - - - - - - - - -+
This is the JDEList WorldT mailing list/forum.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found on the JDEList Forum at
http://www.JDEList.com
JDEList is not affiliated with JDEdwards®
+ - - - - - - - - - - - - - - - - - - - - - - - -+
Steve Landess
V4R4 A7.3 cume9
EDI
(512) 423-0935