force jcl filename to upper case
This commit is contained in:
parent
3dd0b5e96c
commit
21cfed2478
@ -80,7 +80,7 @@ def upload_source(local_file, dataset_name, member_name, mvshost=MVSHOST):
|
|||||||
|
|
||||||
def submit_jcl(job, mvshost="oldcomputernerd.com"):
|
def submit_jcl(job, mvshost="oldcomputernerd.com"):
|
||||||
"""Submit JCL job from local directory"""
|
"""Submit JCL job from local directory"""
|
||||||
subjcl = os.path.join(JCLLIB, f"{job}.jcl")
|
subjcl = os.path.join(JCLLIB, f"{job.upper()}.jcl")
|
||||||
|
|
||||||
if not os.path.exists(subjcl):
|
if not os.path.exists(subjcl):
|
||||||
print(f"JCL file {subjcl} not found")
|
print(f"JCL file {subjcl} not found")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user