YouTube Icon

Interview Questions.

Ibm-jcl Placement Papers - Ibm-jcl Interview Questions and Answers - Jul 28, 2022

fluid

Ibm-jcl Placement Papers - Ibm-jcl Interview Questions and Answers

Q1. What Is A Rlse?

RLSE releases all unused area when the data set is closed. It lets in you to allocate more area than possibly, it wanted without losing area. Space is launched only if the statistics set is not empty and if the records set is closed after being opened.

Q2. Why Do You Want To Specify The Region Parameter In A Jcl Step?

To override the REGION defined on the JOB card stage REGION specifies the max vicinity size REGION=0K or 0M or omitting REGION me no restriction could be applied

Q3. What Are The Kinds Of Job Control Statements?

The JOB, EXEC and DD assertion

Q4. What Is A Temporary Data Set?

Temporary facts units are used for garage wanted handiest throughout the activity. If the DISP parameter doesn’t delete the statistics set by using the end of the activity, the system will delete it. Deleting a tape records set dismounts the tape, while deleting a dataset on an immediate-access quantity release the garage. A statistics set is marked transient by using omitting the DSN parameter or by coding DSN=&&dsname. The gadget assign a unique name to the information set when the DSN parameter is not noted, and any next steps using the dataset refer back to the DD assertion.

Q5. What Is Disp=mod ?

DISP=MOD modifies a sequential facts set. It is a handy manner to add information to the end of sequential dataset. If the information set doesn’t exist, the device modifications MOD to NEW except the VOL parameter request particular volume. When VOL is coded, the stem expects to locate data set on the required extent and terminates the step if it can not discover it. MOD is the same old manner of extended information sets in to several direct-access volumes.

Q6. What Is The Difference Between Specifying Disp=vintage And Disp=shr For A Data Set?

A DISP=OLD denotes extraordinary control of the Data Set; DISP=SHR me there may be no exclusivity.

Q7. What Is Steplib, Joblib? What Is It Used For?

Specifies that the non-public library (or libraries) designated must be searched earlier than the default system libraries a good way to find a software to be finished.

STEPLIB applies best to the particular step, JOBLIB to all steps within the activity.

Q8. What Is A Proc? What Is The Difference Between An In Stream And A Catalogued Proc?

PROC stands for technique It is 'canned' JCL invoked with the aid of a PROC assertion an in circulate PROC is presented in the JCL; a catalogued PROC is referenced from a proclib partitioned Data Set.

Q9. What Is The Meaning Of Data Definition Name (dd Name) And Data Set Name (dsn Name) In The Dd Statement?

Data definition call is the 8 person designation after the // of the DD assertion It fits the inner call specific within the steps executing software In COBOL it truly is the call exact after the ASSIGN within the SELECT ASSIGN announcement Data Set call is the running machine (MVS) call for the File.

Q10. What Is A Priority?

It is a keyword parameter which specifies a job initiation priority within its process magnificence. When the task is initiated, the gadget will convert the activity’s priority into a dispatching priority in order that activity’s venture can whole with other responsibilities for use of fundamental storage and CPU assets.

Q11. What Is The Improvement To Cond= In The Latest Version Of Mvs?

MVS now permits for an IF bracketed via an END IF around any task step to replace the COND= syntax Again, if the IF announcement is actual, the step is bypassed.

Q12. What Is Primary Allocation For A Data Set?

The space allotted when the Data Set is first created.

Q13. What Are The Keywords Associated With Dcb? How Can You Specify Dcb Information? What Is The Os Precedence For Obtaining That Dcb Information, Ie Where Does The System Look For It First?

The key phrases related to the DCB parameter are LRECL, RECFM, BLKSIZE and DSORG The DCB facts may be supplied within the DD announcement The machine seems for DCB information inside the application code first

Q14. What Are Sd37, Sb37, Se37 Abends?

All indicate dataset out of space. SD37 - no secondary allocation was distinct. SB37 - stop of vol. And no in addition volumes specified. SE37 - Max. Of sixteen extents already allocated.

Q15. What Is A Proc?What Is The Difference Between An Instream And A Catalogued Proc?

PROC stands for technique It is 'canned' JCL invoked with the aid of a PROC assertion An instream PROC is presented inside the JCL; a catalogued PROC is referenced from a proclib partitioned Data Set.

Q16. What Is The Meaning Of The Exec Statement Keyword, Cond? What Is Its Syntax?

COND specifies the situations for executing the subsequent process step the cost after the COND= is in comparison to the go back codes of the previous steps and if the evaluation is actual, the step is bypassed

Q17. What Is Jcl ?

JCL stands for Job Control Language

Q18. Can You Code Instream Data In A Proc ?

No.

Q19. What Is The Difference Between The Positional And Keyword Parameters? Give Examples?

Positional Parameters are located in a particular function.

It wishes to be located inside the operand field.

Example: Employee call inside the Job card is a positional parameter on the Job stage.

Keyword Parameters are not placed in a specific role or order.

Example: MSGLEVEL=(X,Y)

Q20. How Do You Skip A Particular Step In A Proc/process?

Can use either situation codes or use the jcl manipulate assertion IF (simplest in ESA JCL)

Q21. How Many Extents Are Possible For A Sequential File ? For A Vsam File?

Sixteen extents on a quantity for a sequential record and 123 for a VSAM report.

Q22. What Does A Disposition Of (new,catlg,preserve) Mean?

That this is a brand new dataset and needs to be allocated, to CATLG the dataset if the step is successful and to KEEP however not CATLG the dataset if the step abends. Thus if the step abends, the dataset could no longer be catalogued and we would want to deliver the vol. Ser the subsequent time we confer with it.

Q23. What Is Job Control Language?

A language for job description to MVS, OS/390 and VSE Operating Systems that run on IBM S/390 servers.

A set of statements that required for going for walks a selected application is referred as a task step.

Without consumer interplay, task runs in background.

The OS manages the user requests to initiate the gadgets of labor.

Input statistics units, such as files are the unique JCL statements to get admission to. Once the assets are allocated for the activity, the output information set is to be created or updated.

A set of JCL statements are stored as records set and might be began interactively.

A menu-like interface is supplied via MVS and OS/390, referred to as ISPF to initiate and control jobs.

Q24. How Do You Access A File That Had A Disposition Of Keep?

Need to supply quantity serial no. VOL=SER=xxxx.

Q25. What Is A S0c4 Error ?

Storage violation mistakes - can be because of numerous reasons. E.G.: READING a file that isn't open, invalid address referenced because of subscript errors.

Q26. What Are The Keywords Associated With Dcb? How Can You Specify Dcb Information? What Is The Os Precedence For Obtaining That Dcb Information, I.E. Where Does The System Look For It First?

The keywords related to the DCB parameter are LRECL, RECFM, BLKSIZE and DSORG The DCB statistics may be supplied in the DD declaration The gadget looks for DCB information in the application code first.

Q27. What Are The Valid Dsorg Values ?

PS - QSAM, PO - Partitioned, IS - ISAM

Q28. What Are Hierarchy Levels In Jcl?

Level describes the JCL statements. According to every motion performed via every declaration. Each announcement of JCL encompass following keywords—

NAME.

FIELDS.

OPERATIONS.

OPERANDS.

PARAMETERS.

POSITIONAL.

KEYWORD.

COMMENTS IF ANY.

Eg. //STEP007 EXEC PGM=JAMES BOND

Here stepoo7 is the call,

pgm is the key-word parameter,

exec is the command,

assign is the operation,

jamesbond is the operand.

Q29. What Are The Parameters That Have To Be Coded On A Dd Statement In Order To Retrieve A Cataloged Data Set?

The minimum parameters needed are DSN and DISP.

Q30. What Are The Maximum Number Of In-move Procedures You Can Code In Any Jcl?

15.

Q31. How Is Gdg Base Created?

A GDG base is created in the device catalog and continues music of the technology numbers used for datasets within the organization. IDCAMS software is used to define the GDG base for MVS/XA, and MVS/ESA. Older systems required that the IEHPROGM application be used.

Q32. What Is 's0c7' Abend?

Caused through invalid data in a numeric area.

Q33. How Do You Override A Specific Ddname/sysin In Proc From A Jcl?

// DSN=...

Q34. What Does Cond=even Mean ?

It me that this jobs step might be finished even though a preceding step abnormally terminated.

Q35. What Is Disp=shr ?

DISP=SHR allows antique facts units to be shared. SHR is same to OLD besides that numerous jobs may additionally examine the dataset simultaneously in multiprogramming environments. SHR ought to be used simplest for enter information sets; use OLD or MOD if statistics set is changed. Sharing statistics set is important because public libraries like SYS1.LINKLIB or the subroutine libraries must be available to every task inside the device.

Q36. What Is The Purpose Of The Parm Keyword In The Exec Statement?

The value after the PARM= specifies manipulate facts to be handed to the executing application of the process step

Q37. What Is Notcat ?

This is an MVS message indicating that a replica catalog entry exists. E.G., if you have already got a dataset with dsn = 'xxxx.Yyyy' and u attempt to create one with disp new,catlg, you will get this error. The program open and write might go through and on the quit of the step the machine would try to positioned it within the system catalog. At this factor due to the fact an access already exists the catlg would fail and provide this message. You can repair the problem by using deleting/uncataloging the first records set and going to the quantity in which the new dataset exists(this information is inside the msglog of the activity) and cataloging it.

Q38. What Is A Disp?

DISP is a keyword parameter that's defined on the DD statement and which encompass the subsequent positional subparameters: DISP=(Status, Normal Disp, Abnormal Disp). The DISP parameter describes the modern-day fame of the dataset (old, new, or modified) and directs the gadget on the disposition of the information set (bypass, keep, catalog, uncatalog, or delete) both on the cease of the step or if the step abnormally terminates. DISP is always required unless the information set is created and deleted within the identical step.

Q39. When You Specify Mutiple Datasets In A Joblib Or Steplib, What Factor Determines The Order?

The library with the largest block length must be the primary one.

Q40. What Does The Keyword Dcb Mean And What Are Some Of The Keywords?

Associated IT DCB stands for records manipulate block; it's far a keyword for the DD assertion used to explain Data Sets Keywords associated with it are BLKSIZE, DEN, LRECL and RECFM.

Q41. Differentiate Between Addressing Mode And Run Mode?

Addressing mode or Access Mode:

AMODE(24) shows 24-bit addressing within the reminiscence underneath the line.

AMODE(31) indicates 31-bit addressing in the memory above and underneath the line.

AMODE=ANY shows either 24-bit or 31-bit addressing techniques. Run Mode or Residency Mode:

RMODE(24) shows this system need to be loaded into the reminiscence under the road.

RMODE(31) indicates this system want to be loaded into the reminiscence both underneath or above the line.

RMODE=ANY indicates the program to load both in 24 bit or 31 bit reminiscence.

Q42. How Do You Restart A Proc From A Particular Step?

In process card, specify RESTART=procstep.Stepname

where procstep = name of the jcl step that invoked the proc

and stepname = name of the proc step wherein you need execution to start

Q43. How Do You Check The Syntax Of A Jcl Without Running It?

TYPERUN=SCAN on the JOB card or use JSCAN.

Q44. What Is The Difference Between * And Data?

DD * and DD DATA describe the input data which follows the above mention playing cards. If the input information contains file transfer // in col 1 and a pair of then DD Data must be used.

Q45. What Is Jcl

It is an interface between operating device (MVS) & the utility application. When  related applications are combined together on manage statements, it's far known as process control language

Q46. What Is The Purpose Of The Job Statement?

The motive of the JOB declaration is to tell the operating device of the start of a process, provide vital accounting facts and supply run parameters. Each task need to begin with a single JOB announcement.

Q47. When Should Be Nl Be Specified As A Type Of Label Processing?

NL have to be specified whilst a software wishes to technique unlabeled tapes NL also can be detailed whilst this system desires to create unlabeled tape due to the fact the machine’s default action, in instances when parameter is not distinctive, will create IBM widespread label. Non categorized tapes are regularly used for sending tapes to any other set up. That manner you don’t must fear about the tape label similar to the requirements at the opposite set up or approximately by accident matching the volume serial range of an existing tape at the installation.

Q48. What Is A Msgclass Parameter?

It is a key-word parameter which specifies the output magnificence to which gadget messages to your process are to be routed. Output magnificence is an alphabetic (A through Z) or numeric (zero via nine) character. The default for MSGCLASS parameter will be A. System messages and output facts sets can be routed to the equal output elegance. You can code the MSGCLASS parameter inside the Job assertion and the SYSOUT parameter on the DD assertion.

Q49. What Is The Purpose And Meaning Of The Time Keyword And What Jcl Statement Is It Associated With?

TIME specifies the most CPU time allocated for a specific job or task step if TIME is inside the JOB card, it relates to the whole task; if in the EXEC declaration, it relates to the activity step.

Q50. What Is S322 Abend ?

Indicates a time out abend. Your software has taken more CPU time than the default limit for the activity elegance. Could indicate an countless loop.




CFG