JCL and Mainframe Programming Basics
Questions about JCL parameters, GDG, JCL to COBOL communication, and mainframe job control concepts
Questions
Question 1 Multiple Choice (Single Answer)
use of TYPRUN=SCAN and TYPRUN=HOLD
- Scan - check the syntax error and will hold the job, Hold - Checks the syntax error
- Scan - will hold the Job, Hold - check for the syntax error
- Scan - checks the syntax error, Hold - will hold the job if there is no error and will end with JCL error if there is syntax error
- Scan and Hold both will check the syntax error and none of them will hold the job
Question 2 Multiple Choice (Single Answer)
use of TYPRUN=SCAN and TYPRUN=HOLD
- Scan - check the syntax error and will hold the job, Hold - Checks the syntax error
- Scan - will hold the Job, Hold - check for the syntax error
- Scan - checks the syntax error, Hold - will hold the job if there is no error and will end the job with JCL error if there is syntax error
- Scan and Hold both will check the syntax error and none of them will hold the job
Question 3 Multiple Choice (Single Answer)
what character should be typed infront of the Job in spool to release from HOLD?
- A
- B
- C
- D
Question 4 Multiple Choice (Multiple Answers)
how to pass the value from JCL to COBOL
- VALUE
- PARM
- SYSOUT
- SYSIN
Question 5 Multiple Choice (Single Answer)
What is the maximum characters/bytes that can be send from JCL to COBOL
- 255
- 80
- 100
- 72
Question 6 Multiple Choice (Multiple Answers)
The GDG is created in the first step and it is used in the second step. What are all changes we should do if the job abended in the 2nd step?
- Restart parameter should be used
- Have to start from the 1st step again to get the GDG to be created again
- The GDG version should be changed from (+1) to (0)
- None of the above
Question 7 Multiple Choice (Multiple Answers)
Two types of characters are allowed in the Name field
- Alphanumeric
- Numeric
- National
- all of the above
Question 8 Multiple Choice (Single Answer)
National Characters are:
- *, &, %
- @, $, #
- (, ), &, *
- %, @, #
Question 9 True/False
If the Name field is not coded then the operand field can start at Column 4 itself
- True
- False
Question 10 Multiple Choice (Single Answer)
what TYPRUN=JCLHOLD will do?
- checks for the syntax error and will hold the job
- checks for the syntax error
- will hold the Job
- will hold the job and after the job is released it wil check for the syntax error