Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike: automatic security product detection #37

Open
Martin-Zeithaml opened this issue Aug 31, 2023 · 3 comments
Open

Spike: automatic security product detection #37

Martin-Zeithaml opened this issue Aug 31, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Martin-Zeithaml
Copy link

Same flavor as #36:

/* REXX */
CVT = Storage('10', 4)                                    
SecurityManager = Storage(d2x(c2d(CVT)+x2d('3E0')), 4)    
SecurityManagerID = Storage(c2x(SecurityManager), 4)      
                                                          
say SecurityManagerID                                     

Will return RCVT, RTSS or ACF2.

@1000TurquoisePogs
Copy link
Member

would love to see this in zowe-install-packaging/bin/utils so people could call it for any reason.

@Martin-Zeithaml
Copy link
Author

I already have it in c (appox 50 lines, also with the help). Is the zowe-common-c the right repo for that? Because zowe-install-packaging-tools seems to include only JavaScript (non-C) tools.

Example of output & help:

/u/userid/: ./getsp
TSS
/u/userid/: ./getsp -h
getsp - gets the security product name and returns RACF, TSS, ACF2 or Unknown
  Format: getsp [-h]
  Options:
    -h  This help
  Exit values:
    0 for succesful detection
    1 otherwise

@jp669844 jp669844 added the enhancement New feature or request label Oct 25, 2023
@Martin-Zeithaml
Copy link
Author

Executable in zowe-common-c: PR415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants