HOME JCL COBOL DB2 VSAM CICS


JCL Interview Questions

21. What is a S0C4 error?
Storage violation error - can be due to various reasons. e.g.: READING a file that is not open, invalid address referenced due to subscript error.

22. What are SD37, SB37, SE37 abends?
All indicate dataset out of space. SD37 - no secondary allocation was specified. SB37 - end of vol. and no further volumes specified. SE37 - Max. of 16 extents already allocated.

23. What is S322 abend?
Indicates a time out abend. Your program has taken more CPU time than the default limit for the job class. Could indicate an infinite loop.

24. Why do you want to specify the REGION parameter in a JCL step?
To override the REGION defined at the JOB card level. REGION specifies the max region size. REGION=0K or 0M or omitting REGION means no limit will be applied.

25. What does the TIME parameter signify ? What does TIME=1440 mean ?
TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time. TIME=1440 means no CPU time limit is to be applied to this step.

26. How do you check the syntax of a JCL without running it?
TYPERUN=SCAN on the JOB card or use JSCAN.

27. Can you code instream data in a PROC?
No

28. What is STEPLIB, JOBLIB? What is it used for?
Specifies that the private library (or libraries) specified should be searched before the default system libraries in order to locate a program to be executed. STEPLIB applies only to the particular step, JOBLIB to all steps in the job.

29. What is order of searching of the libraries in a JCL?
First any private libraries as specified in the STEPLIB or JOBLIB, then the system libraries such as SYS1.LINKLIB. The system libraries are specified in the link list.

30. What happens if both JOBLIB and STEPLIB is specified ?
STEPLIB override JOBLIB. JOBLIB is ignored.

1 2 3 4 5
Copyright 2020 by ibmmainframer. All Rights Reserved.