CL Command Reference - ADDICFDEVE

CL Command List > ADDICFDEVE Reference

Description:

The Add Intersystem Communications Function Device Entry (ADDICFDEVE) command adds a program device entry to the specified intersystem communications function (ICF) file.


Examples:

Example 1: Using RECID Keywords for Record Selection

ADDICFDEVE FILE(ICFFILE1) PGMDEV(BSCEL2)
RMTLOCNAME(BSCNYC) FMTSLT(*RECID)

This command adds the program device entry named BSCEL2 with a corresponding remote location named BSCNYC for the ICF file ICFFILE1. The program device is added with the attributes of FMTSLT(*RECID).



Example 2: Using Remote Format Names for Record Selection

ADDICFDEVE FILE(QGPL/ICFTEST) PGMDEV(APPC1)
RMTLOCNAME(*REQUESTER)
FMTSLT(*RMTFMT) CNVTYPE(*SYS)

This command adds the program device entry named APPC1 with a remote location name of *REQUESTER for the ICF file ICFTEST in the QGPL library. This program device entry has the FMTSLT(*RMTFMT) and CNVTYPE(*SYS) attributes.



Example 3: Adding a Program Device Entry

ADDICFDEVE FILE(ICFLIB/TESTFILE) PGMDEV(JOE) RMTLOCNAME(LU0MPLS)

This command adds the program device entry named JOE with remote location named LU0MPLS for the ICF file TESTFILE in library ICFLIB.



Example 4: Adding a Program Device Entry

ADDICFDEVE FILE(TESTFILE) PGMDEV(APPC)
RMTLOCNAME(APPCMPLS) DEV(MPLSLINE2)

This command adds the program device entry named APPC with a remote location name of APPCMPLS using device MPLSLINE2 to the ICF file TESTFILE.