How to use programs without menus

This section describes ho to use programs such as CFTUTIL, CFTINIT, CFTMI, etc. For example, to migrate Transfer CFT you cannot use the standard Transfer CFT IBM i menus and require the following steps.

  1. Enter: CALL and press F4.
  2. In the Program field, enter the name of binary (CFTUTIL in the example).
  3. In the Library field, enter your program library (*LIBLby default, CFTPROD in the example).
  4. In the Parameters field you can enter an argument. CFTUTIL requires at least one argument (CFTEXT in the example).
  5. Call Program (CALL)

     

    Type choices, press Enter.

     

    Program . . . . . . . . . . . . > CFTUTIL Name

    Library . . . . . . . . . . . CFTPROD Name, *LIBL, *CURLIB

    Parameters . . . . . . . . . . . > CFTEXT

    + for more values > type=all,fout=CFTPROD/cft_ext

    The first argument is a CMD and the second argument is an OFORMAT. Here is an example command:

    "CFTUTIL CFTEXT type=all, fout=CFTPROD/cft_ext"

    Program : "CFTUTIL

    CMD : "CFTEXT"

    OFORMAT : "type=all, fout=CFTPROD/cft_ext"

    The command executed is:

    CALL PGM(CFTUTIL) PARM(CFTEXT 'type=all,fout=CFTPROD/cft_ext')

 

Related Links