I think your best bet is to use System i Navigator. Right-click the file, select Generate SQL, and copy that source to your source member.
From: Jerry Draper <midrangel@xxxxxxxxxxxxx>
Sender: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Date: Thu, 29 May 2014 09:59:07
To: Midrange Systems Technical Discussion<midrange-l@xxxxxxxxxxxx>
Reply-To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: build LF source from what
We are missing source for some 75 logical files (don't ask).
We can do a wrkf on each LF and take option 8 to see what the LF source
should look like.
Is there a command with a *outfile option we could use?
Like DSPFFD but that isn't it.