CPYSRC2IFS
Copy Source to IFS Documents
This command takes any source files and copies the source code into the IFS in various formats:
Copy *SRC to IFS (CPYSRC2IFS)
Type choices, press Enter.
Source File to be copied . . . . File Name
Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Source Member Name . . . . . . . *ALL Name, generic*, *ALL
Type of document to create . . . *TXT Required document format
Path Name ie:/HOME/usrprf . . . *HOME
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
This is one my most used commands. It simply takes any source member and converts it to a flat file and then copies it into an IFS folder. Its a simple way of backing up source code, or sending source code to a PC, or storing source code versions when doing major upgrades.
It has an added benefit of storing the source code in the following formats: plain TXT, PDF, XML or HTML.

an example of a TXT member might look like this:







