-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JCL header in SZWESAMP templates #3934
Comments
@jordanfilteau1995 Do you (or Judy) know any way to allow subsititution into fixed-80 languages (like JCL, REXX) to properly handle line wrap? |
Implementation idea:
The default behavior is the same, without any additional changes to |
Ok, so we are NOT doing multiline. |
Hi. I think there's an easier solution. You can:
pseudo code below read YAML job card into for all members: |
I like the array of fixed-length strings representing multiple header lines, however, I think we should leave out the |
Good point! Should not include it and then skip the first line after reading the file to not overwrite it. |
I have this working POC and it is just couple lines added to #3951
Templates remain the same:
|
Adding another potential requirement: while using the z/OSMF configuration workflow, can we pass the job card defined in z/OSMF to the templates? |
Problem: my ESM does not allow me to run a job without an account number.
Simple
JOB
statement1 line
JOB
statement could be done with combination ofdefaults.yaml
and templating:defaults.yaml
zowe.environments.jcl1LineHeader=''
//ZWEJOB JOB {zowe.environments.jcl1LineHeader}
And user can specify or omit the variable:
zowe.yaml
zowe.environments.jcl1LineHeader="123456,'My name'"
When processed by
ZWEGENER
, the result will be one of://ZWEJOB JOB
//ZWEJOB JOB 123456,'My name'
But how to do multiline?
What if I want to have this:
or this?
Note: This feature depends on #3718.
Another limitation:
Varibale names in
ZWEGEN00
must be unique comparing to zowe config, e.g:was resolved to:
Because the rexx variable
jcl
exists and points tojcllib
dataset. 😄The text was updated successfully, but these errors were encountered: