Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Init MVS could skip some steps #4192

Open
wants to merge 2 commits into
base: user/markackert/feat-v3-jcl-rebase
Choose a base branch
from

Conversation

Martin-Zeithaml
Copy link
Contributor

Migrate to JCL

An attempt to solve comment in #4180:

Maximal Init MVS Scenario

All datasets are created and all members were copied.

Minimal Init MVS Scenario

If all parmlib, authLoadlib, authPluginLib not set, do nothing and ends with success.

Signed-off-by: Martin Zeithaml <[email protected]>
Copy link

github-actions bot commented Feb 12, 2025

build 7010 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/13282872183

Signed-off-by: Martin Zeithaml <[email protected]>
Copy link

github-actions bot commented Feb 12, 2025

build 7011 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/13284721240

//PARMOUT DD DISP=OLD,
// DSN={zowe.setup.dataset.parmlib}(&OUTPARM)
//SYSIN DD *
REPRO INFILE(PARMIN) OUTFILE(PARMOUT)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@1000TurquoisePogs Would this help for zwe init stc? ZWEMCOPY is using repro and I think (but I am not sure), IDCAMS is after all using TSO commands anyway. If ZWEMCOPY is better solution, then the "IDCAMS JCL" might be also better solution.

@@ -111,7 +111,7 @@ When the JCL is prepared, the following jobs can be submitted to perform the fol

|Task|Description|Sample JCL|
|---|---|---|
|Create Instance Datasets|**Purpose:** Create datasets for Zowe's PARMLIB content and non-ZFS extension content for a given Zowe Instance<br><br>**Action:**<br>1) Allocate PDSE FB80 dataset with at least 15 tracks named from Zowe parameter `zowe.setup.dataset.parmlib`<br>2) Allocate PDSE FB80 dataset with at least 30 tracks named from Zowe parameter `zowe.setup.dataset.authPluginLib`<br>3) Copy ZWESIP00 member from `zowe.setup.dataset.prefix`.SZWESAMP into `zowe.setup.dataset.parmlib`|[ZWEIMVS](https://github.com/zowe/zowe-install-packaging/tree/feature/v3/jcl/files/SZWESAMP/ZWEIMVS)|
|Create Instance Datasets|**Purpose:** Create datasets for Zowe's PARMLIB content and non-ZFS extension content for a given Zowe Instance<br><br>**Action:**<br>1) Allocate PDSE FB80 dataset with at least 15 tracks named from Zowe parameter `zowe.setup.dataset.parmlib`<br>2) Allocate PDSE FB80 dataset with at least 30 tracks named from Zowe parameter `zowe.setup.dataset.authPluginLib`<br>3) Copy ZWESIP00 member from `zowe.setup.dataset.prefix`.SZWESAMP into `zowe.setup.dataset.parmlib`|[ZWEIMVSP](https://github.com/zowe/zowe-install-packaging/tree/feature/v3/jcl/files/SZWESAMP/ZWEIMVSP)<br/><br/>[ZWEIMVSZ](https://github.com/zowe/zowe-install-packaging/tree/feature/v3/jcl/files/SZWESAMP/ZWEIMVSZ)|
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

links should be relative directories? (./files/SZWESAMP/ZWEIMVSP)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I see this is for every link here...

@@ -50,7 +50,9 @@
++SAMP(ZWEIKRT1) SYSLIB(SZWESAMP) DISTLIB(AZWESAMP) RELFILE(2) .
++SAMP(ZWEIKRT2) SYSLIB(SZWESAMP) DISTLIB(AZWESAMP) RELFILE(2) .
++SAMP(ZWEIKRT3) SYSLIB(SZWESAMP) DISTLIB(AZWESAMP) RELFILE(2) .
++SAMP(ZWEIMVS) SYSLIB(SZWESAMP) DISTLIB(AZWESAMP) RELFILE(2) .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC we need to keep the old members around, or the SMP/e upgrades will fail. We can remove these with a clean fmid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants