Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.52 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.52 KB

Zowe Assembler Example

Newer Metal C Template

https://github.com/dkelosky/metal-template

Setup

  1. git clone this project
  2. npm install
  3. Create a file config/local.json with your project settings, e.g.:
{
    "settings": {
        "hlq": "KELDA16.TEMPLATE",
        "name": "KELDA16$",
        "account": "105300000"
    }
}

Usage

  • npm run allocate -> Allocate your project data sets
  • npm run delete -> Delete your project data sets
  • npm run genjcl -> Generate JCL from template (see advanced upload)
  • npm run genjcl:convert -> Generate JCL to convert assembler DSECTs to C structures
  • npm run upload -> Upload source to data sets (see advanced upload)
  • npm run submit -> Run JCL and download output
  • npm run submit:convert -> Run JCL to convert assembler DSECTs to C structures
  • npm run build -> Build scripts

Advanced Usage

Gen JCL

  • npm run genjcl -- compile -> build JCL for compilation only
  • npm run genjcl -- compile assemble/template bind execute -> build JCL for compile, assemble template, bind, and execute

Upload

  • npm run upload -- cpgm -> upload cpgm folder
  • npm run upload -- cpgm chdr/ams.h upload cpgm folder & ams.h from chdr

Reference

https://medium.com/@dkelosky/zowe-and-hlasm-hello-world-build-deploy-695be1eb13dc https://medium.com/@dkelosky/how-to-automate-z-os-data-set-allocation-using-zowe-json-30e70fb960d8 https://medium.com/@dkelosky/building-mainframe-metal-c-and-testing-with-jest-and-zowe-cli-1ee19bf3cf02