Sunteți pe pagina 1din 10

What is the disposition of the temporary dataset?

&& Word prefixed with && is temporary dataset



//TMPDSN DD DSN=&&TEMP,DISP=(MOD,PASS)
OR
//TMPDSN DD DSN=&&TEMP,DISP=(NEW,PASS)


What should be the disposition of the temporary dataset in the last step?.

//LSTTMP DD DSN=&&TEMP,DISP=(OLD,DELETE)

What is the difference between JCLLIB and JOBLIB?

//MYPROC JCLLIB ORDER=KC03M18.PROCLIB (JCLLIB will have the PROC Library)
//MYPROC JOBLIB DD DSN=KC03M18.LOADLIB (JOBLIB will have the LOAD Libraries)


What is the difference between STEPLIB and JOBLIB.

Both are used to check the load libraries.
STEPLIB: It follows EXEC statement
JOBLIB : should be placed in the JOB

Load modules will be checked in the STEPLIB, if not found then they will be
checked in system load libraries. If not found in both places then the JOB
would ABEND with S806.

STEPLIB SYSTEM LOAD LIB -- (not found) S806

JOBLIB SYSTEM LOAD LIB -- (not found) S806

How many PROCS can be nested inside a PROC and what is the max. limit
on the number of STEPS can be used in the nested PROC?
Answer: Nesting of PROCS can be done up to 15 levels
Maximum 255 steps are allowed inside a nested PROC
Can you list out the KEYWORD parameters that are used on a STEP level?
Answer: PARM, COND,REGION,TIME
How to override/ADD/Nullify the PROC dataset name from the JCL?
Override/Add a PROC dataset from the JCL
//PROC-STEP-NAME.DD-NAME DD DSN=
Dummy out a PROC dataset from the JCL
//PROC-STEP-NAME.DD-NAME DD DUMMY,SPACE=(TRK,(1,1),RLSE),RECFM=FB,LRECL=80
How to override/ADD/Nullify PROC parameter mentioned on a
STEP from the JCL?
Override/Add a PROC dataset from the JCL
//JS01 TESTPROC,Parameter-name.Proc-step-name=value

Dummy out a PROC dataset from the JCL
//JS01 TESTPROC,Parameter-name.Proc-step-name= (value should be empty)











What is the meaning of the below ABENDS
ABEND Meaning
S0C1 Operation exception. Misspelled DD Names.
S0C4 Protection Exception trying to access a memory location for
which you dont have access
S0C7 Data Exception.
S322 TIME OUT
S806 Load module NOT found
S013 Dataset member is NOT found
S878 Memory issue
SB37 SPACE ABEND. (END of VOLUME).
Code Multi volume. VOL=(,,,3)
SD37 SPACE ABEND. Secondary space is NOT mentioned
SE37 SPACE ABEND (END OF VOLUME). Insufficient space in
PARTITIONED Dataset
SPACE ABENDS
SB37: End of volume. If the program tries to write more than the allocated
space or if the system could not find the requested primary or secondary space
even by joining 5 extents, then the step abnormally ends with SB37.
To solve this abend, increase the primary/secondary reasonably and if the job
again comes down, create the dataset as multi-volume by coding VOL=(,,,3). As
every volume will offer 16 extents, 48 extents in this case should be more than
enough.

SD37: If the primary space is filled and the program tries to write more but no
secondary is mentioned in the SPACE parameter, then the step will come down
with SD37.To solve this abend, provide secondary allocation in the SPACE
parameter.

SE37: End of Volume. This is same as SB37. You will get this ABEND usually for a
partitioned dataset. To solve this, compress the PDS by typing Z in ISPF 3.4
panel against the dataset or use IEBGENER. If again the job comes down,
rename the old one, reallocate the new dataset with more space and copy the
old members to here and delete the renamed dataset and restart the job.

What statements are NOT allowed in PROCEDURE?
1. The JOB Statement
2. The JOBLIB statement
3. An Instream procedure
4. SYSIN DD *, DATA statements
How many datasets can be concatenated?
16 PDS & 255 sequential dataset can be concatenated
Rules for concatenation:
LRECL and RECFM should be same
Largest Block size should be first in the concatenation

S-ar putea să vă placă și