Close

CPYSRC2IFS

CPYSRC2IFS, utility, command, projex4i, ibmi, iseries, as400

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.

copy as400 source to pc

an example of a TXT member might look like this:

as400 iseries program source code RPG example


Some Bloke

Projex dot com is the cyber home of Nick Litten an AS400 IBMi developer, RPG programmer, SOA code enthusiast, website tinkerer, information technology evangelist, early adopter, proponent of open source and hopeless technology addict...

Nick Litten looking dazed while refactoring some RPG2 code to kick it into this century

Born and raised in Rainy England, now enjoying programming in the sunshine of Southern USA. Founder of SOFTWARE PROJEX.

Clustermap

Locations of visitors to this page

glqxz9283 sfy39587stf02 mnesdcuix8
sfy39587stf03
sfy39587stf04