I want to create a pgm in any of the high level language supported by AS400. I want that when this program is run, an XL sheet is created and all the data in a specified PF should come in this XL sheet. If I am right, then every XL sheet has a limit on the number of rows it can accomodate. If number of rows in PF are greater than what an XL sheet can accomodate, then remaining data should be put in a new XL sheet. This process of creation of new XL sheets should continue till all the records are fetched into the XL sheet. Name of PF should be a parameter for this program.