This example will add application 'CCCCCCCC' to ACT 'ACTNEW'.
- If ACTNEW does not already exist, it will be created.
Then use UPDATE to set the specific application values.
//SYSIN DD *
C
C ADD to ACT
C
ADD ACTAPPL (ACTNEW CCCCCCCC)
UPDATE ACTAPPL (ACTNEW CCCCCCCC(ACTSESS(SESSIDC)
ACTKEY (04 )) )
Alternatively, you can copy an existing ACT Session to create one or more new sessions in the same or another ACT.
//SYSIN DD *
C
C COPY to ACT ACTGV01 Session CICSB to new sessions
C
COPY ACTAPPL ACTGV01 CICSB TO (ACTGV02 CICSA
ACTGV02 CICSB
ACTGV02 CICSC)