In <[log in to unmask]> [log in to unmask] writes: > Query's save command makes a pretty good 'DB2DISK' utility (followed by a > delete if needed), while if you have MPEX and are dealing with a dataset > record size that is less than 255 characters the following command file can > be used for the 'DISK2DB' function. > > Of course the above are NOT 'production grade' utilities but for one time, > quick and dirty tasks they are very handy. > > Cut and paste into your favorite editor, save as DISK2DB, type "DISK2DB ?" > for instructions. For another option, the DBCOPY program (available in the public domain soft- ware area of www.3k.com) will extract datasets to disc files and vice versa. It also copies database to database, and allows selective extracts (i.e. only extract records where key xxx=whatever). It's also pretty fast as it'll automatically use output-deferred mode when copying to another database if it can obtain the proper access. -Chris (remove nospam) Bartram