Example browser-UI to z/OS sdsf using local Node.js http, Zowe CLI and remote z/OSMF-TSO-REXX-SDSF.
Prerequisites: Local: zowe-cli (see https://zowe.org) daemon version https://medium.com/zowe/zowe-cli-daemon-mode-29c0dc29c22f Remote: Mainframe z/OS + z/OSMF TSO Rest interface active
This example consists of following parts:
- Browser page 'sdsfTutosys.html' using bootstrap 4, jQuery and datatables (https://github.com/DataTables/DataTables)
- Local node http server 'sdsfTutosysserver.js'
- Serves the html 'sdsfTutosys.html' file + eventual 'favicon.ico' file + eventual sdsfTutosys.css file
- starts tso session + keeps it alive
- Receives 'button-click-triggered' requests from 'sdsfTutosys.html', translates them into zowe cli commands, executes these in 'child_process' and finally creates the response using zowe-cli stdout contents
- Rexx in pds 'Z40275.CLIST(PANELSRV)' on IBM's zowe tutorial system.
- PDSE to contain output from sdsf panels
- Data Set Name : Z40275.SDSFSERV.OUTPUT.PDSE
- Organization : PO, Record format : VB, Record length : 27644, Block size : 27648, 1st extent tracks : 15, Secondary tracks : 5, Data set name type : LIBRARY
( .sh files contain local start command )