Q1). We have created a Proc. But, we need to put it this in SYS.PROCLIB. How to do this?
A). use IEBUPDTE utility //Step01 Exec Pgm=Abcd //Filein DD //
Q2). If we do not give DSN name, what will happen?
A). MVS will treat this as temporary data set. The other way is //Filein DD DSN=&&tttttt
Q3). FORCE along with DELETE in GDG?
A3). will remove the GDG from catalogue
Q4). REGION=50K, I was given in the JOB statement. What is the meaning of it?
A4).Then memory of 50K will be distributed to each step
All about JCL as per IBM- Job control language (JCL) is a set of statements that you code to tell the z/OS® operating system about the work you want it to perform. Although this set of statements is quite large, most jobs can be run using a very small subset.
Q5). DFSORT JOINKEYS- What does it do?
A5). we can use it for paired, unpaired, with or without duplicates
Q6). SE37 and SB37 and SD37 – Differences between these?
A6). SB37 and SD37 => Space related to PDS SE37=> Volumes related to Tape dataset
Q7). What parameters we cannot code in the PROC?
A7). we cannot code the following in the PROC JOB EXEC JES2, JES3 Statements JOBLIB
Q8). How many steps we can code in a PROC?
A8). Maximum of 255 job steps we can code in a PROC.
Q9). GDG is created in before step, and if we give OLD, in next step for the same GDG, what we need to change?
A9) We need to change version number
Q10). MSGLEVEL If we do not give, what will happen?
A10). by default all the statements and messages, will be written to the SPOOL
Q11). LIKE=TEST.DATA , what is the meaning of it?
A11). we will use this parameters we want the same PDS parameters (TEST.DATA)
- 10 soft skills you need to be successful
- Best Job serach guide to get job in an easy way
- Become a UX Designer | Learn the Skills & Get the Job
The CNTL statement in JCL
Program control statements supply control information for a subsystem. A subsystem can require one or more program control statements. The one or more statements must be immediately preceded by a CNTL statement and immediately followed by an ENDCNTL statement.
//STEP1 EXEC PGM=PRINT //ALPHA CNTL * PROGRAM CONTROL STATEMENT FOLLOWS //PRGCNTL PRINTDEV BUFNO=20,PIMSG=YES,DATACK=BLOCK //OMEGA ENDCNTL //AGAR DD UNIT=3800-3,CNTL=*.ALPHA