Interface IDcLaunchUtility


public interface IDcLaunchUtility
  • Method Details

    • assignLaunchArguments

      void assignLaunchArguments(DliBaseService service)
      The DliBaseService will require a number of PCB records to be passed to it (LINKAGE-SECTION in COBOL). This method allows a user defined class to add the PCB's using the following type of statements:
       
       service.addCallParameter(owner.getScreenPcb())
       service.addCallParameter(owner.getAltPcb())
       service.addCallParameter(Pcb1)
       service.addCallParameter(Pcb2)    
       
      Note: For Screen PCB's /AltPcb's - always use owner.getScreenPcb(). When present, this is always the first argument passed to the class
      Parameters:
      service -
    • getFullTransactionId

      String getFullTransactionId(String programName)
      Uses the program to construct the appropriate TRANSACTION-ID. The Transaction-ID's are then mapped to program-names in services.properties file
      Parameters:
      programName -
      Returns:
    • setDcAppLauncherService

      void setDcAppLauncherService(DcAppLauncherService owner)
      Used by framework. Should always contain
       public void setDcAppLauncherService(DcAppLauncherService owner) {
         this.owner = owner;
       }
       
      Parameters:
      owner -