If there was a business requirement to list this information,the data would be in a file. The informaton for a person would be in a record. The file would be opened and read in the code and the output written as needed.
Sorry, but no. . .In batch processing these are the two methods used
1.Passing through jcl
2.using file handling concepts