Create & Push Module
#!/bin/bash
echo "Creating a module"
ol create module account-cics --connector mf-cics-cobol
cd ./account-cics
# Test Connection
ol test connection --base-url http://mainframe.openlegacy.com --uri-map /ol/demos
echo $PWD
# add all assets
ol add --source-path ../resources/RACTCS9.cbl --verbose #reset
ol add -i ../resources/LACTCS9I.cpy -o ../resources/LACTCS9O.cpy --program-path LACTCS9 #list
ol add --source-path ../resources/OACTCS9.cbl # creat
ol add -i ../resources/GACTCS9I.cpy -o ../resources/GACTCS9O.cpy --program-path GACTCS9 # get
ol add --source-path ../resources/UACTCS9.cbl #update
ol add -i ../resources/DACTCS9I.cpy -o ../resources/DACTCS9O.cpy --program-path DACTCS9
# Push Module To The HUB
ol push module
#!/bin/bash
echo "Creating a module"
ol create module account-cics --connector mf-cics-cobol
cd ./account-cics
# Test Connection
ol test connection --base-url http://mainframe.openlegacy.com --uri-map /ol/demos
echo $PWD
# add all assets
ol add --source-path ../resources/RACTCS9.cbl --verbose #reset
ol add -i ../resources/LACTCS9I.cpy -o ../resources/LACTCS9O.cpy --program-path LACTCS9 #list
ol add --source-path ../resources/OACTCS9.cbl # creat
ol add -i ../resources/GACTCS9I.cpy -o ../resources/GACTCS9O.cpy --program-path GACTCS9 # get
ol add --source-path ../resources/UACTCS9.cbl #update
ol add -i ../resources/DACTCS9I.cpy -o ../resources/DACTCS9O.cpy --program-path DACTCS9
# Push Module To The HUB
ol push module
Create Module
<!-- shell@3-4 -->Creating 'account cics' Module using connector 'mf-cics-cobol'
Test Connection
<!-- shell@7 -->Add Assets
<!-- shell@10-16 -->Add account assets by COPYBOOKS
Push Module
<!-- shell@18-19 -->Push Module to the OL Hub