Skip to content

IfCollectionZOS #121

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

Open
jfink5 opened this issue Mar 24, 2025 · 1 comment
Open

IfCollectionZOS #121

jfink5 opened this issue Mar 24, 2025 · 1 comment

Comments

@jfink5
Copy link

jfink5 commented Mar 24, 2025

I'm trying create some If..Reruns for a zos Job. Either I can't figure it out or maybe some part is not supported yet.

I believe that it must be done with the IfCollectionZOS class.

It implements ifs=[ IfZOs ], but I don't see that class.

Here is an example of the json that needs to be produced by the python client.

"IfCollection:zOS_8": { "Type": "IfCollection:zOS", "Ifs": [ { "Type": "If:zOS:AnyProgramStep", "ReturnCodes": [ "NOTOK" ] } ], "Action:Rerun_1": { "Type": "Action:Rerun" } }, "IfCollection:zOS_9": { "Type": "IfCollection:zOS", "Ifs": [ { "Type": "If:zOS:OutputPattern", "ToColumn": "132", "OutputPattern": "*rerun me please*", "FromColumn": "1" } ], "Action:Rerun_1": { "Type": "Action:Rerun" } }

@jfink5
Copy link
Author

jfink5 commented Mar 24, 2025

adding json again...trying to get a readable format...

"IfCollection:zOS_8": {
"Type": "IfCollection:zOS",
"Ifs": [
{
"Type": "If:zOS:AnyProgramStep",
"ReturnCodes": [
"NOTOK"
]
}
],
"Action:Rerun_1": {
"Type": "Action:Rerun"
}
},
"IfCollection:zOS_9": {
"Type": "IfCollection:zOS",
"Ifs": [
{
"Type": "If:zOS:OutputPattern",
"ToColumn": "132",
"OutputPattern": "rerun me please",
"FromColumn": "1"
}
],
"Action:Rerun_1": {
"Type": "Action:Rerun"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant