CL Command Reference - CHGICFDEVE
CL Command List > CHGICFDEVE Reference
Description:
The Change Intersystem Communications Function Device Entry (CHGICFDEVE) command changes the attributes of the program device entry in the specified ICF file.
Examples:
Example 1: Changing the Record Format Selection
CHGICFDEVE FILE(ICFTEST) PGMDEV(BSCEL2)
RMTLOCNAME(BSCNYC) FMTSLT(*RECID)
This command changes the program device entry named BSCEL2 in ICF file ICFTEST. The program device is changed to attributes of FMTSLT(*RECID). The remote location name is changed to BSCNYC.
Example 2: Changing the Conversation Type
CHGICFDEVE FILE(QGPL/ICF1) PGMDEV(APPC1)
RMTLOCNAME(*REQUESTER)
FMTSLT(*RMTFMT) CNVTYPE(*SYS)
This command changes the program device entry named APPC1 in ICF file ICF1 to have the remote location name *REQUESTER. This program device entry is changed to the FMTSLT(*RMTFMT) and CNVTYPE(*SYS) attributes.
Example 3: Changing the Communications Device
CHGICFDEVE FILE(ICFLIB/ICFAPPL1) PGMDEV(APPC)
RMTLOCNAME(APPCMPLS) DEV(MPLSLINE2)
This command changes the program device entry named APPC in file ICFAPPL1. The remote location name is changed to APPCMPLS and the device is changed to MPLSLINE2.