def METHOD_NAME(job, jobname, case, ensemble):
    env_batch = case.get_env("batch")
    batch_system_type = env_batch.get_batch_system_type()
    batchsubmit = env_batch.get_value("batch_submit")
    submit_args = env_batch.get_submit_args(case, job)
    case_path_string = cylc_get_case_path_string(case, ensemble)
    return (
        """
    [[{jobname}<member>]]
    script = cd {case_path_string} ./case.submit --job {job}
    [[[job]]]
      batch system = {batch_system_type}
      batch submit command template = {batchsubmit} {submit_args}  '%(job)s'
    [[[directives]]]