SET EXPORT or SET IMPORT commands apply until another SET command of the same type replaces the value with a new one. In this example, the SET EXPORT SYSTEM command sets $ID as the default system for all entities. The command SET EXPORT VERSION 002 specifies the version of the entities to export until the SET EXPORT VERSION 001 command changes that default. The summary report that follows shows the result.
SET EXPORT SYSTEM $ID } SET EXPORT VERSION 002 } EXPORT PGM WHO } EXPORT PNL WHOPNL } select entities with ver 2 } EXPORT PNL WHOPGM } } SET EXPORT VERSION 001 } } select entities EXPORT PGM @I$INQU1 } } with $ID EXPORT PGM @I$INQU2 } select entities with ver 1 } Summary of EXPORT operations: PROGRAM WHO SYSTEM $ID VERSION 002 Successfully EXPORTed PANEL WHOPNL SYSTEM $ID VERSION 002 Successfully EXPORTed PANEL WHOPGM SYSTEM $ID VERSION 002 Successfully EXPORTed PROGRAM @I$INQU1 SYSTEM $ID VERSION 001 Successfully EXPORTed PROGRAM @I$INQU2 SYSTEM $ID VERSION 001 Successfully EXPORTed
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|