Thanks a lot Leland, Found that somewhere hidden in a format subroutine, the author set the numeric digits to 5 in order to get a 999V99 formatted output. Reset it to normal of 9 digits at end of the subroutine, Problem solved. I guess the author never expect to read a file with more than 99999 records. Ummm.... Seasons greetings!!! ....Roland
--- On Thu, 12/25/08, Leland Lucius <lluc...@homerow.net> wrote: From: Leland Lucius <lluc...@homerow.net> Subject: Re: VM/REXX question on index to an array To: IBMVM@LISTSERV.UARK.EDU Received: Thursday, December 25, 2008, 4:13 AM Roland P. Chung wrote: > Is there a numeric datatype of numeric has a maximum value of 99999 when > using it in as an index into an array? > > I have to break the file down into seveal files each on is smaller than > 99998 records. (yes, 99999 will loop too.) > > Any help is appreciated. TIA > What's your NUMERIC DIGITS setting? say digits() Leland