Skip to content

init apf support authLoadlib only with a reasonable default #4180

Open
@MarkAckert

Description

Apfauth

Help:

  • zowe.setup.dataset.authLoadlib is the user custom APF LOADLIB. This field is
    optional. If it's not defined, SZWEAUTH from zowe.setup.dataset.prefix data
    set will be APF authorized.
  • zowe.setup.dataset.authPluginLib is the user custom APF PLUGINLIB.
    You can install Zowe ZIS plugins into this load library.

zowe.setup.dataset.authLoadlib and zowe.setup.dataset.authPluginLib omitted in config and this is generated by ZWEGEN00:

//STDPARM DD *                                          
SH cd '/zowe/' &&                       
cd bin/utils &&                                         
export LOADLIB='CFG.ZOWE.SETUP.DATASET.AUTHLOADLIB' &&  
export LOADLOC=SMS &&                                   
export PLUGLIB='CFG.ZOWE.SETUP.DATASET.AUTHPLUGINLIB' &&
export PLUGLOC=SMS &&                                   
./opercmd.rex "SETPROG APF,ADD,DSN=$LOADLIB,$LOADLOC" &&
./opercmd.rex "SETPROG APF,ADD,DSN=$PLUGLIB,$PLUGLOC"   
//*                                                     

When trying zwe init apfauth -c ./zowe.yaml:

ERROR: Error ZWEL0157E: zowe.setup.dataset.authLoadlib is not defined in Zowe YAML configuration file.

Expectation:
If zowe.setup.dataset.authLoadlib and zowe.setup.dataset.authPluginLib omitted, the JCL will authorize only zowe.setup.dataset.prefix.SZWEAUTH.

Originally posted by @Martin-Zeithaml in #4107 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

  • Status

    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions