Hello all,
On VSCODE/ ZMF Explorer, I'm trying to do the parametrization in order to be able to expand/see the INCLUDES and COPY's.
For the one's that are on BASELINE I can see them because I've done the parametrization on the zapp.yaml file (the name do not change). But for those that are only inside the Package, VSCODE/ZMF Explorer is not able to find them.
Can someone help me with the parametrization ?
Thank you in advance,
Joao
------------------------------
Joao Carvalho
Systems Engineer
SILCA
------------------------------
Hello Joao
We are starting with the ZMF Explorer, we are downloading the copybooks on the local machine and map the yaml file to the local folder
This is only a work arround, we are looking into a way of creating a script that executes the package syslib list service and map the yaml file to the outcome of this
Best regards
Johan
I quickly wrote a rexx that generates the yaml file, we willm do the same in python using the rest sercvices
The rexx gets three parameters : subsystem,packageId,windowsUserid
It then creates the following :
name: zapp.yaml file for package CFRA000019
description: must reside in the root of the package folder
author: ZMF utility VCCRYAML
propertyGroups:
- name: pl1-includes
language: pl1
compilerOptions: not(!)
libraries:
- name: syslib
type: local
locations:
- 'C:/Users/TBEJJAC/.zmf/ZMF_EOCA.CHGMANT/packages/CFRA000019/**
- name: syslib
type: mvs
locations:
- 'CMAN.T.STG.CFRA.#000019.CPI'
- 'CMAN.T.STG.CFRA.#000019.CPO'
- ...
This file is then put in the root of the package folder
In python we will use the REST API :
http://lpar:port/zmfrest/package/syslib?package=CFRA000019&libraryType=SRC
And from there parse the JSON
I hopes this helps
------------------------------
Johan Jacob
Euroclear
Brussels BE
------------------------------