PDA

View Full Version : Maximum file



Guest.Visitor
11-04-2002, 06:17 AM
Whats the maximum number of files can we defined on F-Spec on single rpg program and on CL Program (V4.5). Thanks a lot Sky

D.Handy
11-04-2002, 06:17 AM
Skywalker Whats the maximum number of files can we defined on F-Spec on i single rpg program and on CL Program (V4.5)  CL programs have a maximum of one file each, regardless of release. This may be a display or database file, but only one or the other in any given program. For RPG/400, the maximum is 50 files. Of these, no more than 8 can be PRINTER files. No more than one should be a primary DISK file. No more than one can be a record address file. See the limits here. (http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QBKAQV00/A.0?DT=19940325191514) For RPG IV, the 50 file limit is lifted. I don't think there even is a documented limit. The other limits still apply: no more than 8 printer files, no more than one primary, no more than one record address file. Of course, I don't think I'd want to be the one to maintain a program which had over 50 files in it... Doug