September 8

CPYSRC2IFS

CPYSRC2IFS – Copy Source to IFS (Integrated File System)

The CPYSRC2IFS command allows you to quickly grab a copy of a specific source member, or a generic range of members, and copy them to an IFS location:

CPYSRC2IFS

The default IFS file type is TXT

Default IFS storage locations are:

  1. *HOME = /home
  2. *PROJEX = /projex
  3. *PUBLIC = /public

Backup Source Code – take a snapshot of source code at anytime

Using CPYSRC2IFS is very easy to use for quick source code backups. For example to take a backup of an RPG source member called “rpgpgm”, appending the date/timestamp to the IFS file name you could enter a command like:

CPYSRC2IFS FILE(library/qrpglesrc) MBR(rpgpgm) DOCTYPE(*TXT) IFSDIR(*HOME) TIMESTAMP(*YES)

Or you could easily add this to a PDM option like this:


Tags

CPYSRC2IFS


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch

Name*
Email*
Message
0 of 350
>