Annotation Interface ZosProgram


@Retention(RUNTIME) @Target(FIELD) public @interface ZosProgram
z/OS Program
See Also:
Annotation:
Description:
The @ZosProgram annotation requests the z/OS Program Manager to Compile and Bind a program on a z/OS image. The test can request multiple z/OS Program instances
Examples:
@ZosImage(imageTag="A")
public IZosImage zosImageA;
@ZosProgram(imageTag="A")
public IZosProgram zosProgramA;
Extra:
The IZosProgram interface has a number of methods to manage the zOS Program.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Enumeration of supported languages
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The programming language.
    The program name
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Is a CICS program and requires the CICS translator.
    boolean
    Compile this zOS program.
    The imageTag is used to identify the z/OS image.
    The load module data set name
    Path to the location of the program source in the Galasa test bundle.
  • Element Details

    • name

      String name
      The program name
    • location

      String location
      Path to the location of the program source in the Galasa test bundle. This can be either the full path including the file name or the directory containing the source with the name specified in the name attribute with the extension specified in the language attribute.
      Default:
      "resources"
    • language

      The programming language. See ZosProgram.Language.

    • cics

      boolean cics
      Is a CICS program and requires the CICS translator.
      Default:
      false
    • loadlib

      String loadlib
      The load module data set name
      Default:
      ""
    • imageTag

      String imageTag
      The imageTag is used to identify the z/OS image.
      Default:
      "primary"
    • compile

      boolean compile
      Compile this zOS program.
      Default:
      true