ACF2 commands for z/OS Container Extensions and Docker
search cancel

ACF2 commands for z/OS Container Extensions and Docker

book

Article ID: 249843

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

Are there ACF2 commands for configuration of IBM z/OS Container Extensions and Docker ?

 

 

Environment

Release : 16.0

Component : ACF2 for z/OS

Resolution

Here are the ACF2 equivalent commands based on the IBM Getting started with z/OS Container Extensions and Docker.

The commands are suitable the ACFBTACH processing.

//ACFBATCH EXEC PGM=ACFBATCH                                    
//SYSPRINT DD SYSOUT=*                                          
//SYSIN    DD *                                                 
*
* Create three ACF2 groups
*
* Note: The AUTOGID requires that there is an active GSO AUTOIDOM 
*       record with ASSIGNG specified. 
*       If there is no active GSO AUTOIDOM record with ASSIGNG 
*       specified, use example 2.
* Example 1 AUTOGID active
ACF
SET PROFILE(GROUPR) DIV(OMVS)
INSERT ZCXPRVG AUTOGID
INSERT ZCXSTCG AUTOGID
INSERT ZCXADMG AUTOGID
* Example 2 No AUTOGID active
* gidx specifies a numeric field that accepts values from 
* zero to 2,147,483,647. 
ACF
SET PROFILE(GROUPR) DIV(OMVS)
INSERT ZCXPRVG GID(gidx)
INSERT ZCXSTCG GID(gidx)
INSERT ZCXADMG GID(gidx)
*
* ACF2 commands to define the user IDs
*
* Note: The AUTOUGID requires that there is an active GSO AUTOIDOM 
*       record with ASSIGNU specified. 
*       If there is no active GSO AUTOIDOM record with ASSIGNU 
*       specified, use example 2.
* Example 1 AUTOGID active
ACF
SET LID
INSERT ZCXPRV1 PASSWORD(NEW2DAY) NAME(zCX Provision User 1) -
GROUP(ZCXPRVG) TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) - 
TSOSIZE(0) AUTOUID HOME(/u/zcxprv1) OMVSPGM(/bin/sh)
*
INSERT  ZCXSTC1 NAME(zCX STC User 1) GROUP(ZCXSTCG) + AUTHORITY(JOIN) -  
STC TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) TSOSIZE(0) - 
AUTOUID HOME(/u/zcxstc1) OMVSPGM(/bin/sh)
*
INSERT  ZCXADM1 PASSWORD(NEW2DAY) NAME(zCX Admin User 1) -
GROUP(ZCXADMG) TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) - 
TSOSIZE(0) AUTOUID HOME(/u/zcxprv1) OMVSPGM(/bin/sh)
* Example 2 No AUTOUID active
* uidx specifies a numeric field that accepts values from 
* zero to 2,147,483,647.
SET LID
INSERT ZCXPRV1 PASSWORD(NEW2DAY) NAME(zCX Provision User 1) -
GROUP(ZCXPRVG) TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) - 
TSOSIZE(0) UID(uidx) HOME(/u/zcxprv1) OMVSPGM(/bin/sh)
*
INSERT  ZCXSTC1 NAME(zCX STC User 1) GROUP(ZCXSTCG) + AUTHORITY(JOIN) -  
STC TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) TSOSIZE(0) - 
UID(uidx) HOME(/u/zcxstc1) OMVSPGM(/bin/sh)
*
INSERT  ZCXADM1 PASSWORD(NEW2DAY) NAME(zCX Admin User 1) -
GROUP(ZCXADMG) TSOACCT(ACCNT#) TSOPROC(IKJACCNT) TSORGN(2096128) - 
TSOSIZE(0) UID(uidx) HOME(/u/zcxprv1) OMVSPGM(/bin/sh)
/*
//