Skip to content

Conversation

@chinmdas
Copy link

@chinmdas chinmdas commented Nov 28, 2025

This branch has the changes that is needed to facilitate invocation of User builds via DBB.

It is expected for the developer to have a proper DBB setup. I would request you to use my my DBB setup

  1. Configure following env variables in bashrc of your USS to align with my setup and assume it as global setup for time being. I have opened this location in my file system for everyone to use.

      #DBB
      export DBB_HOME=/u/in0050/etc
      export PATH=$PATH:$DBB_HOME/bin
      export DBB_BUILD=$DBB_HOME/build
    
  2. To build the complete application, Go to your USS -> Go to your Project and hit

       dbb build full --hlq <YOUR HIGH LEVEL QUALIFIER>
    
  3. To run User builds from your VSCode, configure the following on your settings:

Screenshot 2025-11-28 at 12 14 22 PM
Item Description Example
dbbWorkspace Required. The UNIX System Services location where all files get uploaded to. This folder might contain several application folders you are working on. /u/ibmuser/projects
dbbHlq Required. TSO high level qualifier(s) for your project. IBMUSER.SAMPLE
dbbDefaultZappProfile Optional. Name of the ZAPP profile to be used when you run a User Build. If not defined, User Build uses the 1st defined ZAPP dbb profile. dbb-profile-1
localLogDir Optional. Local directory where User Build logs is downloaded. Path can be absolute or relative to the workspace of the build file. If not defined, User Build downloads the logs into a directory in your local workspace called logs /Users/deb/dbb-logs

Once, this is setup, right click on the Cobol file that is opened via Z Open editor and Run IBM USER BUILD WITH FULL UPLOAD (if dbb-app.yaml is changed or running for the first time) or Run IBM USER BUILD (if you have already run a previous build)

Signed-off-by: Chinmay Das <[email protected]>
@JAMOGRAD
Copy link
Contributor

I shall have a look at this in the New Year as it seems OK at a first glance.

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