Skip to content

Commit

Permalink
Updates for Z Open Editor v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phaumer committed Nov 21, 2022
1 parent d88b4c2 commit 4bda4c1
Show file tree
Hide file tree
Showing 6 changed files with 236 additions and 183 deletions.
78 changes: 0 additions & 78 deletions .vscode/settings.json

This file was deleted.

11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ These two branches represent a before and after view of working sample applicati

You can use these branches with IBM Z Open Editor and Zowe Explorer installations on MacOS or Windows, as well as on [Eclipse Che](https://github.com/IBM/zopeneditor-about/tree/master/che).

### Branches for IBM Wazi Developer
### Branches for IBM Wazi for VS Code and IBM Wazi for Dev Spaces

The following branches provide additional sample code for Wazi Developer and its integrations with other zDevOps products:
The following branches provide additional sample code for Wazi for VS Code and IBM Wazi for Dev Spaces and its integrations with other zDevOps products:

- `wazi-main` branch: sample application
- `wazi-tutorial-complete` branch: extended sample application
- `wazi-main` branch: sample applications
- `wazi-tutorial-complete` branch: extended sample applications
- `analyze-sidecar` branch: sample applications for Wazi Analyze
- `analyze-sidecar-complete` branch: extended sample applications for Wazi Analyze

These branches represent two different states of development in the same application, and include the following samples:

Expand All @@ -39,6 +41,7 @@ These branches represent two different states of development in the same applica
- User Build configuration files to be used with IBM Dependency Based Build
- Groovy-based set-up scripts that build and deploy the COBOL sample application to a fresh Wazi Sandbox or any other z/OS system
- Ansible set-up scripts that build and deploy the COBOL sample application to a fresh Wazi Sandbox or any other z/OS system
- Wazi Analyze configuration files that can be used to scan all source code files (except REXX) in the entire branch
- A GitLab CI sample to build and run the application as part of a GitLab pipeline

**Note:** The automation scripts currently cover the COBOL samples `SAM1` and `SAM2` only, but you can easily copy and adjust them for the PL/I and Assembler samples. To learn more about how to use these scripts, check the [Section "Building and running the COBOL example"](#building-and-running-the-cobol-example) in this file for the Bash with Zowe CLI scripts, and in the `wazi-main` branch for the Groovy and Ansible variants.
Expand Down
22 changes: 7 additions & 15 deletions multiroot/sam/zapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,16 @@

name: sam
description: Wazi's multi-root workspace code sample for COBOL
version: 2.1.1
version: 3.0.0
author:
name: IBM CORPORATION

property-groups:
- name: sam-local
propertyGroups:
- name: cobol-copybooks
language: cobol
type: local
syslib:
- cust
- trans
- name: zowe-mvs-cbl
language: cobol
type: mvs
system: zos1000.example.com
syslib:
- IBMUSER.SAMPLE.COBCOPY
libraries:
- name: MYLIB
- name: syslib
type: local
locations:
- IBMUSER.SAMPLE.COPYLIB
- cust
- trans
89 changes: 89 additions & 0 deletions zapp-2.2.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
################################################################
# LICENSED MATERIALS - PROPERTY OF IBM
# "RESTRICTED MATERIALS OF IBM"
# (C) COPYRIGHT IBM CORPORATION 2020, 2022. ALL RIGHTS RESERVED
# US GOVERNMENT USERS RESTRICTED RIGHTS - USE, DUPLICATION,
# OR DISCLOSURE RESTRICTED BY GSA ADP SCHEDULE
# CONTRACT WITH IBM CORPORATION
################################################################

name: sam
description: For IBM Z Open Editor 2.2.0 or earlier. Wazi's code samples with COBOL, PL/I, and HLASM applications
version: 2.2.0
author:
name: IBM CORPORATION

property-groups:
- name: cobol-local
language: cobol
type: local
syslib:
- "**/COPYBOOK"
libraries:
- name: MYFILE
locations:
- "**/COPYLIB"
- name: pl1-local
language: pl1
compilerOptions: not(!)
type: local
syslib:
- "**/INCLUDES"
libraries:
- name: MYFILE
locations:
- "**/INCLUDELIB"
- name: hlasm-local
language: hlasm
type: local
syslib:
- "**/ASMCOPY"
- name: rexx-local
language: rexx
type: local
syslib:
- "**/REXXINC"
libraries:
- name: REXXLIB
locations:
- "**/REXXLIB"
- name: zowe-mvs-cbl
language: cobol
type: mvs
system: zos1000.example.com
syslib:
- IBMUSER.SAMPLE.COBCOPY
libraries:
- name: MYLIB
locations:
- IBMUSER.SAMPLE.COPYLIB
- name: zowe-mvs-pl1
language: pl1
type: mvs
system: zos1000.example.com
syslib:
- IBMUSER.SAMPLE.PLINC
libraries:
- name: MYLIB
locations:
- IBMUSER.SAMPLE.PLI.INCLLIB

# Mappings example using US defaults. Adjust to your code pages.
profiles:
- name: RSE-Mappings
type: rseapi
settings:
mappings:
- resource: "**.SAMPLE.COB**"
extension: cbl
transfer: text
encoding: IBM-037
memberMappings:
- extension: dat
transfer: binary
resource: "*DAT"
- resource: "**PLI*"
extension: pl1
transfer: text
encoding: IBM-037
default.encoding: IBM-037
Loading

0 comments on commit 4bda4c1

Please sign in to comment.