Default language.

A – Add Task


This section provides information about A-Add Task.

A – Definition

Click Add on the Tool Bar or type A on the Command line to add more entries to the Task List.

Purpose

Add Task is used to add entries to the Assignment Task List for processing within Code Pipeline. Once modules have been added to (that is, exist in) the Task List, they may be Checked out, Edited, and so on.

Adding Tasks to Releases

To add new Tasks to a Release, specify the Release on the Add Task screen (Add Task Input Screen). To add existing Tasks to a Release, use the Transfer operation. See T-Transfer-Task for more details.

Add Task Input Screen

Entries can be added to the Assignment Task List in the following four ways:

Add Task Input Screen

                    ADD TASK TO ASSIGNMENT PLAY000022                          
COMMAND ===>                                                                   
                                                                              
CHANGE CYCLE EXAMPLE 2                                                        
                                                                              
Type          ________     (See list of valid types below)                    
Name          __________________________________________________              
Action        _            (C-Compile, D-Delete, F-Fallback, H-History)       
Application   PLAY____     (Default=SITE)                                     
SubAppl       PLAY____     (Default=SITE)                                     
Stream        PLAY____     (Default=SITE)                                     
Path          DEV1         (DEV1 DEV2)                                             
                                                                              
Filter        ____         (PROD HOLD)                                        
                                                                              
Release       R5445_____   (Default= )                                        
Import        N            (Import From External Source Y/N)                  
                                                                              
CLST COB COPY H INCL JOB LKED PLI                                             
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
Plus module type DATA                                                          
                                                                              
Press ENTER to add entry, END to terminate                                       

Input Fields

Input fields on the Add Task Input screen are:

Field

Description

Type

The acronym for the type of component, such as COB for a COBOL program or COPY for a copybook. A list of valid Types for this Application is shown on the lower part of the screen. Leave Type and Name blank and press Enter to see the Repository list of every module in this application.

Name

Up to 64 character component name (or leave blank for a list).

Action

Special action code. Usually blank, but may be set to:

  • C to add a component for compile only, without going through the rest of the change cycle process.
  • D to trigger a Delete of the Production level source and executables from the Production environment.
  • F to trigger a Fallback (backout) operation.
  • H to indicate a Historical version of a module (for example, -1, -2, etc.) is requested for checkout.

Application

Defaults to the same Application as the Assignment, but can be overtyped with another Application code. Useful to package changes across Applications in the same Assignment. Modules can only be checked out and updated by staff having security access to their own modules, so security is still preserved.

SubAppl

Defaults to the same SubApplication as the Assignment, but it can be overtyped with another SubApplication code.

Stream

Defaults to the same Stream, but may be overtyped with another Stream which must also be associated with the Application code in the Application definition.

Path

Checkout Path or Signout Level. Defaults to Assignment’s Path/cycle, but may be overtyped to another Checkout level. Useful for database updates or where project team members may each have their own update libraries feeding into a common integration layer, for example.

Filter

When adding tasks from the Code Pipeline Repository, the Repository List is limited or filtered to those components currently at this Filter Level.

Release

Defaults to Assignment’s Release number (if the Assignment has one specified). If blank, and the Task should be associated with a Release, a valid Release number can be inputted. (An Assignment may have Tasks in different Releases).

Import

Set to Y if modules are to be added to the Assignment Task List from an external/foreign file outside of Code Pipeline (for example, a vendor file with modules for a new release of their software).

Types List

List of valid module Types for this Application. To see the valid Types for another Application, simply overtype the Appl code and press Enter to refresh the Type list (making sure the Name field is blank).

Plus module type DATA

This interesting feature allows test scripts, test data, etc. to be in the Task List with the actual components to be updated, for easy reference. Type DATA in the Type field and press Enter, then input the dataset name and type (for example, PDS or SEQ file).

Adding Tasks by Type and Name

Adding Tasks One by One 

Simply type the module Type and Name and press Enter. The message “Task added to Assignment” appears in the top right corner of the screen.

Adding Tasks One by One

                    ADD TASK TO ASSIGNMENT PLAY000022                          
COMMAND ===>                                                                   
                                                                              
CHANGE CYCLE EXAMPLE 2                                                        
                                                                              
Type          COB____     (See list of valid types below)                    
Name          TPROG10___________________________________________              
Action        _            (C-Compile, D-Delete, F-Fallback, H-History)       
Application   PLAY____     (Default=PLAY)                                     
SubAppl       PLAY____     (Default=PLAY)                                     
Stream        PLAY____     (Default=PLAY)                                     
Path          DEV1         (DEV1 DEV2 FIX)                                    
                                                                              
Filter        ____         (PRD HLD QA STG1 STG2)                             
                                                                              
Release       __________   (Default= )                                        
Import        N            (Import From External Source Y/N)                  
                                                                              
CLST COB COPY H INCL JOB LKED PLI                                             
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
Plus module type DATA                                                          
                                                                              
Press ENTER to add entry, END to terminate                                     

Add More Tasks

To add more Tasks to the Assignment Task List, overtype the module Type and/or Name and press Enter again. When complete, End to return to the Task List display. The new rows appear, sorted by Type, then Name.

Add Tasks belonging to other Applications/SubApplications

If the security behind Code Pipeline allows, Assignments can contain Tasks from other Applications/SubApplications so a change request that affects more than one Application/SubApplication can be coordinated and managed easily. Overtype the Application code and/or SubApplication code with another valid Application code or SubApplication code and press Enter to see the list of valid Types appear for that Application and SubApplication (making sure the Name field is blank). Add tasks for that Application/SubApplication.

Add Tasks for a Different Path

It is possible to add Tasks in different Change Cycle paths or legs to the same Assignment. The various “Checkout Paths” defined for this Application are displayed on the panel, so the Default Path can be overtyped. This may be useful to add “fix” or “emergency” changes to a development Assignment, so they are clearly visible and obvious to the development team.

Add Tasks with Special Actions

Code Pipeline can be used to clean up obsolete components in Production. To do this, type D (for Delete) in the Special Action field, and the component will be added with a D displayed in the Action column. The Promote process then deletes the component and its executables from Production, at the time the module is promoted to Production.

Add DATA References to the Task List

For ease of reference, it is convenient to have all the modules pertaining to a change package in one list. This useful feature is for developers to add literally any type of file reference to the Task List, so all the program and Data components are visible.

Type DATA as the Module Type and press Enter to be prompted with an input screen so Code Pipeline will know the dataset name and file type.

The example in the following figure shows a pointer to a DATA file containing test data.

Add DATA References

                        ADD TASK TO ASSIGNMENT PLAY000016
COMMAND ===>

  USER01 DEMO ASSIGNMENT

  Data set Name ===> Name.of.test.datafile.goes here
  Data set Type ===> PDS       (PDS,SEQ)

  Module Name   ===> Testdata     (blank for all orname*for pattern)

Press ENTER to see the module list or overtype the dataset name as required.

Adding Tasks from the Code Pipeline Repository

The Code Pipeline Repository is an inventory of every module in every Application. To see all modules that belong to an Application, use the R Repository option from the Code Pipeline Main Menu, or the RL repository list command, or leave module Type and Name blank on the Task Add panel, as shown in the subsequent sections.

Adding Tasks by Selecting From the List

From the Add Task screen (Selecting from List):

  1. Leave the module Type blank, or enter the Type, or just ABC*.
  2. Leave the module Name blank or enter the Name, or just ABC*.
  3. Press Enter.

Adding from List

                    ADD TASK TO ASSIGNMENT PLAY000022                          
COMMAND ===>                                                                   
                                                                              
CHANGE CYCLE EXAMPLE 2                                                        
                                                                              
Type          COB____     (See list of valid types below)                     
Name          __________________________________________________              
Action        _            (C-Compile, D-Delete, F-Fallback, H-History)       
Application   PLAY____     (Default=PLAY)                                     
SubAppl       PLAY____     (Default=PLAY)                                     
Stream        PLAY____     (Default=PLAY)                                     
Path          DEV1         (DEV1 DEV2 FIX)                                    
                                                                              
Filter        ____         (PRD HLD QA STG1 STG2)                             
                                                                              
Release       __________   (Default= )                                        
Import        N            (Import From External Source Y/N)                  
                                                                              
CLST COB COPY H INCL JOB LKED PLI                                             
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              
Plus module type DATA                                                          
                                                                              
Press ENTER to add entry, END to terminate                                     

List COB Types Only

In this example, only COBOL module types will appear on the Repository List.

Filters on Type and Application

As in other Code Pipeline list displays, the columns shown in pink are filters, which may be overtyped to see different views of the Repository information.

In the following figure, the list is filtered for Type COB and Application PLAY. It could be further filtered on module names beginning with TSUBR* for example, if TSUBR* is typed in the Name filter.

Filter on Type and Application

22.01                    ADD TASK TO ASSIGNMENT PLAY000002  Row     1 of    20
Command ===>                                                  Scroll ===> CSR  
                                                                     More -->
   Show Deleted: N  Checkout Path: DEV1  Action:     Level Filter:            
                                                                              
    Type     Name     Appl     SubAppl  Status                                
    COB_____ ________ PLAY____ PLAY____ ________                              
__   COB      TPROG01  PLAY     PLAY                                           
__   COB      TPROG02  PLAY     PLAY                                           
__   COB      TPROG03  PLAY     PLAY                                           
__   COB      TPROG04  PLAY     PLAY                                           
__   COB      TPROG05  PLAY     PLAY                                           
__   COB      TPROG06  PLAY     PLAY                                           
__   COB      TPROG07  PLAY     PLAY                                           
__   COB      TPROG08  PLAY     PLAY                                           
__   COB      TPROG09  PLAY     PLAY                                           
__   COB      TPROG10  PLAY     PLAY                                           
__   COB      TSUBR01  PLAY     PLAY                                           
__   COB      TSUBR02  PLAY     PLAY                                           
__   COB      TSUBR03  PLAY     PLAY                                           
__   COB      TSUBR04  PLAY     PLAY                                           
__   COB      TSUBR05  PLAY     PLAY                                           
__   COB      TSUBR06  PLAY     PLAY                                           
__   COB      TSUBR07  PLAY     PLAY                                           
__   COB      TSUBR08  PLAY     PLAY                                           
__   COB      TSUBR09  PLAY     PLAY                                           
__   COB      TSUBR10  PLAY     PLAY                                           

Valid Operations

Valid line commands from the Repository list are:

Command

Description

B (Browse module)

The B (Browse) line command may either invoke Browse directly, or it may also display the version list (if there is more than one component version in the change cycle and Code Pipeline is not sure which version to pick).

M (Modify component description)

The M line command allows you to modify the component description on the Repository List screen, providing additional information about a component.

S (Select/Add the module to the Task List)

Type S to Add the module to the Task List. A Status of Added will be displayed to indicate that it has been successful.

V (View the version list)

The V (Versions) line command will display the Component Version List (V Line Command Displaying Component Version List) if more than one component version exists in the change cycle. The CM Compare can then be invoked from the version list to see the differences between modules.


V Line Command Displaying Component Version List

22.01                   COMPONENT VERSION LIST              Row     1 of     3
Command ===>                                                  Scroll ===> CSR  
                                                                     More -->
  Inactive: N                                                                 
                                                                              
   Appl: PLAY     SubAppl: PLAY     Type: COB      Name: TPROG02               
                                                                              
   Lev  iVer bVer rVer Op A User     Date MM DD Time  Status                   
   ____ ____ ____ ____ __ _ ________ __________ _____ ____________________     
__ DEV1 0    6    6    S    USER003  2022-05-14 13:43 => Check Versions        
__ STG1 6    4    4    P    USER002  2022-05-14 13:19                          
__ PRD  4    3    3    P    USER001  2022-05-11 14:02                          
------------------------------- Bottom of List -------------------------------

Inactive Versions

Type Y in the Inactive field to view Inactive Tasks, as shown in the following figure.

Inactive Versions

22.01                   COMPONENT VERSION LIST              Row     1 of     7
Command ===>                                                  Scroll ===> CSR  
                                                                     More -->
  Inactive: Y                                                                 
                                                                              
   Appl: PLAY     SubAppl: PLAY     Type: COB      Name: TPROG02               
                                                                              
   Lev  iVer bVer rVer Op A User     Date MM DD Time  Status                   
   ____ ____ ____ ____ __ _ ________ __________ _____ ____________________     
__ DEV1 0    6    6    S    USER003  2022-05-14 13:43 => Check Versions        
__ QA   6    5    5    G    USER002  2022-05-14 13:19                          
__ QA   5    4    4    G    USER002  2022-05-14 13:19 => Superseded Backup     
__ PRD  4    3    3    P    USER001  2022-05-11 14:02                          
__ PRD  3    2    2    P    USER001  2022-05-11 14:00 => History               
__ PRD  2    2    2    P    USER001  2022-05-11 14:00 => History               
__ PRD  1    0    0    TL   USER001  2022-05-09 13:58 => History               
------------------------------- Bottom of List -------------------------------

Adding Tasks From an External/Foreign File

In the context of Code Pipeline, an External or Foreign file is a dataset or file outside of Code Pipeline’s control or management. Two of the main reasons to add tasks from an External/Foreign file are:

  • To perform the initial definition of an Application to Code Pipeline.
  • To bring in a new release of vendor software.

As discussed in the previous two sections, modules can be added to the Assignment Task List one at a time with the module Type and Name, or be added from the Repository List. A third method is by picking modules from a PDS or Librarian member list.

Specifying Import

  1. On the Add Task screen (Set Import Flag to Y), specify the module Type.
  2. Leave the module Name field blank.
  3. Specify Y for the Import flag, then press Enter.

    Set Import Flag to Y

                        ADD TASK TO ASSIGNMENT PLAY000022                          
    COMMAND ===>                                                                   
                                                                                  
    CHANGE CYCLE EXAMPLE 2                                                        
                                                                                  
    Type          COB____     (See list of valid types below)                     
    Name          __________________________________________________              
    Action        _            (C-Compile, D-Delete, F-Fallback, H-History)       
    Application   PLAY____     (Default=PLAY)                                     
    SubAppl       PLAY____     (Default=PLAY)                                     
    Stream        PLAY____     (Default=PLAY)                                     
    Path          DEV1         (DEV1 DEV2 FIX)                                    
                                                                                  
    Filter        ____         (PRD HLD QA STG1 STG2)                             
                                                                                  
    Release       __________   (Default= )                                        
    Import        Y            (Import From External Source Y/N)                  
                                                                                  
    CLST COB COPY H INCL JOB LKED PLI                                             
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
    Plus module type DATA                                                          
                                                                                  
    Press ENTER to add entry, END to terminate                                       

    File Name Input Screen

    The next screen (File Name Input Screen) shows a dataset/file name and file type already filled in with the file name and type for COBOL programs (for example), but those fields can be overtyped to point to any other file. The module name field allows a filter, such as ABC* to restrict the displayed list.

  4. Overtype the dataset name, optionally enter a pattern filter for the module name, and press Enter. The PDS module list is displayed.
    File Name Input Screen

                           ADD TASK TO ASSIGNMENT PLAY000022                       
    COMMAND ===>                                                                   
                                                                                  
     CHANGE CYCLE EXAMPLE 2                                                       
                                                                                  
     Data set Name ===> ISPW.PLAY.PRD.COB                                         
     Data set Type ===> PDS       (PDS)                                           
                                                                                  
     Module Name   ===>              (blank for all or "name*" for pattern)       
                                                                                  
    Press ENTER to see the module list or overtype the dataset name as required.   

Valid Primary and Line Commands

The valid primary (Command line) commands on the PDS module list are:

  • L—Locate a module
  • *—Add all the modules in the dataset to the Assignment Task List
  • S ab*—Add modules starting with “ab” only.

Valid line commands from the PDS module list are:

  • B—Browse the module
  • S—Add the module to the Assignment Task List.
Error
Warning

Modules are not added to the Assignment Task List unless Enter is pressed. Scrolling up and down does not add the entries. Enter must be specifically pressed.

Warning

Important

Though Code Pipeline copies the modules in from the external/foreign file, it promotes them to the Application’s correct Production source and executable libraries.

Adding Tasks With the A Line Command

Adding Duplicate Tasks

The A (Add) Line command is an easy way to add a duplicate row to the Task List for parallel or concurrent development situations.

You may want to add a task that is already at the production level or has had a Fallback command issued against it. In either case, the starting level may be invalid. You will receive an error message if you try to add a task that is already at the production level. You can define the new External Reference variable, ADFLTLVL, which enables you to add a task that is already at the production level. Additionally, this enhancement allows you to add a task that has had a Fallback command issued against it. In either case, the default assignment level of the container is used as the starting level.

You can assign the External Reference variable ADFLTLVL, a value of Y or N. If the value is Y, the default assignment level is used when adding a task.

Useful for Parallel Development

Sometimes when testing, it is useful to have two entries for the same component, with different versions, in the Task List at the same time. Consider the example of COBOL program ABC being tested at INT (the integration test environment) when a problem is found.

There are two ways to fix this problem:

  • Use the X (Regress) operation to delete the source and executables at INT, copy the module back down to the update level, fix it, and P (Promote) again. In the meantime, however, testing at the INT level has been disrupted.
  • Use the A (Add) line command beside COBOL program ABC to add a duplicate row, with the same attributes, to the Task List. Then you would Check it out, Edit, Generate, and Promote again, overlaying the version at INT. In the meantime, because the A line command was used, the INT level has not been disrupted.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI DevX Code Pipeline 22.01