Skip to content

Commit

Permalink
Create rule S6938: Jobs number of steps should be below the hard limi…
Browse files Browse the repository at this point in the history
…t of 255 (#3730)

* Create rule S6938

* Add rule description

* Only display Implementation spec on GitHub

* Update rules/S6938/jcl/rule.adoc

Co-authored-by: Rudy Regazzoni <[email protected]>

* Change to bug version and remove parameter

* Changing rule title

* Address review comments

* fix impact

---------

Co-authored-by: sallaigy <[email protected]>
Co-authored-by: Gyula Sallai <[email protected]>
Co-authored-by: Rudy Regazzoni <[email protected]>
  • Loading branch information
4 people authored Mar 13, 2024
1 parent a1eebc5 commit efc6728
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
25 changes: 25 additions & 0 deletions rules/S6938/jcl/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "The number of steps in a job should be below 255",
"type": "BUG",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "1h"
},
"tags": [
"brain-overload"
],
"defaultSeverity": "Major",
"ruleSpecification": "RSPEC-6938",
"sqKey": "S6938",
"scope": "All",
"defaultQualityProfiles": ["Sonar way"],
"quickfix": "unknown",
"code": {
"impacts": {
"MAINTAINABILITY": "HIGH",
"RELIABILITY": "HIGH"
},
"attribute": "FOCUSED"
}
}
19 changes: 19 additions & 0 deletions rules/S6938/jcl/rule.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
== Why is this an issue?

JCL imposes a limit of a maximum of 255 steps in a single job, including steps executed within procedures called by EXEC statements. Going above this limit will result in a JCL error.

== Resources

=== Documentation

* https://www.ibm.com/docs/en/zos/3.1.0?topic=tasks-entering-jobs[IBM reference - Entering Jobs]


ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)
'''

endif::env-github,rspecator-view[]
2 changes: 2 additions & 0 deletions rules/S6938/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}

0 comments on commit efc6728

Please sign in to comment.