Skip to content

zowe/zowe-native-proto

Repository files navigation

zowe-native-proto

Setup

create your own config.local.json adjacent to config.default.json with something like:

{
    "host": "my.mainframe.net",
    "username": "ibmuser",
    "password": "ibmpass",
    "deployDirectory": "/u/users/ibmuser/zowe-native-proto"
}

Build Tool

cd tools/build && npm install && npx tsc

Deploy & Build

node tools/build/lib init (once) node tools/build/lib/main.js deploy-build node tools/build/lib/main.js deploy-build c/zds.cpp to deploy one file

Test

On remote system, cd to deploy dir and run test.sh (or run zowex)

Troubleshooting

Client connection error - Error: All configured authentication methods failed

Check that your username and password are correct.
For private keys, confirm that you can ssh into the LPAR/zVDT using it.

FSUM9383 Configuration file `/etc/startup.mk' not found

You should be able to find the startup.mk file in /samples

Building zut.o - FSUM3221 xlc++: Cannot spawn program /usr/lpp/cbclib/xlc/exe/ccndrvr

The only way we (DKelosky) knew how to fix this is via SYSVIEW commands.

⚠️ These commands could ruin your system. ⚠️

linklist
linkdef zowex from current
linklist zowex
add CBC.SCCNCMP
linkact zowex
set asid 1
linkupd *

Note 1: You may need to run linkact zowex after an IPL.
Note 2: You may need to replace * with your mask character. For example, linkact zowex =