Batch program functional specification

Any thoughts on methods to create a functional requirement specification from an existing batch program, or perhaps a 3rd party service provider.  I can export it to an FHX file as a start but doesn't get me what I need.

Thanks in advance for any help.

Gilbert Montes