Generating and modifying code
Generate and modify COBOL, JCL, PL/I, REXX, and Assembler programs.
IBM® Bob Premium Package for Z also supports the development of applications for key middleware environments, including CICS, MQ, IMS, and DB2/SQL.
How to generate code
To create a new program, complete the following steps:
- Open IBM Bob workspace with all extensions installed and select the Z Code mode.
- In the IBM Bob chat window, select the prompt or type
your request. For example:
Create a program to process customer records - The system activates the
z-coding-standards-skill-builderskill. - It searches for existing documentation and standards, and then gathers necessary requirements for the task.
- It generates the program according to established coding standards.
- The system verifies the generated code against those coding standards and creates program documentation.
Tools
To know about the tools used by IBM Bob Premium Package for Z to generate code, see Using workflows, skills, tools, and commands.
Sample prompts
You can use the following sample prompts to generate code:
- Create a COBOL program to process customer records
- Generate JCL to run a batch job
- Write a CICS transaction handler
- Generate IMS database calls
- Create a DB2 stored procedure