If you're looking for MainFrames Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research MainFrames has a market share of about 1.8%. So, You still have opportunity to move ahead in your career in MainFrames Developer. Mindmajix offers Advanced MainFrames Interview Questions 2018 that helps you in cracking your interview & acquire dream career as MainFrames Developer.
Q1) Define DRDA?
DRDA means Distributed Relational Database Architecture. It is a connection protocol that is used for local database processing. IBM and other vendor database use it. It contains a set of rules which is used for communication between an application and a DBMS distant relation.
Q2) Define WHERE and its usage?
The clause "WHERE" isolates a row or an element during the usage of a related system.
Q3) Define how the LIKE table could be created?
The usage of LIKE parameter could create the LIKE table by the CREATE statement. These tables are usually required during the testing of the production environment.
Q4) Define the necessity of runstats among the environment test?
It is used for the clearing of the different values of the catalog columns. Since this column is already equipped with default values, the end result may not be as expected.
Q5) What is the utilization of Linkage area in COBOL?
Linkage area is utilized as a part of COBOL if the program needs to speak with JCL by means of PARM parameter or program needs to speak with another program.
Q6) What is the utilization of COPYBOOK in COBOL? Would we be able to utilize a similar?
COPYBOOK for various records in a similar program?
COPYBOOK spares the format of any record and uses a similar design over any program. Indeed, we can elude the same copybook for various documents if the format is same and REPLACING choice is to be utilized alongside COPYBOOK for that.
Q7) What is the distinction amongst INCLUDE and COPY?
A minimal distinction is there in the way they work. They both help to extend design in a program. The central contrast is INCLUDE gets extended at PRE-COMPILATION organize itself and is the motivation behind why all DCLGEN individuals are extended utilizing INCLUDE.
Q8) How to characterize tables in COBOL?
Happens condition is utilized to characterize tables or exhibits in COBOL. Table components can be eluded by utilizing either SUBSCRIPT or INDEX.
Q9) How do COMP fields help in COBOL?
COMP fields, for the most part, utilized for ideal utilization of room and for speed handling of arithmetic activities.
Q10) Where do you utilize 88 level things in COBOL?
88 levels are uncommonly implied for restrictive factors and take choices in view of specific conditions in a program. We can utilize SET to dole out an incentive to 88 level variables.
Q11) Can we move Alphanumeric incentive to the Numeric field?
Indeed, we can move, and it won't make any issue as long it is just a MOVE statement. But the program may bomb some of the time in case the field is in utilized as a part of number-crunching computations.
Q12) How EVALUATE helps in COBOL?
Assess is utilized as a part of restrictive preparing, and it disentangles the way we compose IF – ELSE explanations.
Q13) How to distinguish whether a CALL proclamation is a STATIC or DYNAMIC call?
On the off chance that the program name is eluded explicitly in the CALL articulation then it is considered as a Static call and if a working stockpiling variable alludes in the CALL explanation then it is considered as a Dynamic call.
Q14) How TEST BEFORE/AFTER works with PERFORM UNTIL explanation in COBOL?
With TEST AFTER, Perform articulations are handled and after that condition are checked. With TEST BEFORE, Condition is checked first and afterward in light of the outcome Perform explanations are prepared.
Q15) When is INSPECT verb is utilized as a part of COBOL?
Investigate is utilized to know a number of times a particular character happens or to supplant some bit of information.
Q16) How number juggling tasks are performed in COBOL?
We can do a wide range of number juggling activities in COBOL.
Q17: State the difference between GOBACK, STOP RUN and EXIT PROGRAM in COBOL?
The fundamental differences between GOBACK, STOP RUN, and EXIT PROGRAM in COBOL are:
Q18 What is the contrast between Delimited by Space and Delimited by Size?
Answer: In delimited by Space, Space is considered as a delimiter. In delimited by measure, add up to the size of information thing is considered as delimiter
Q19) Define COMP - 3 fields and its utilization?
COMP-3 is pressed decimal portrayal of information and is utilized to spare space.
Q20) Can the values of alphanumeric be moved to variable numeric?
Truly, it can be done. May confront particular information case (S0C7) blunder in the event that if the field is utilized as a part of any computation. This data answers COBOL inquiries questions identified with information development of various sort of factors.
Q21) Define INSPECT along with its utilization?
Investigate is a characterized COBOL verb, and it is utilized to discover number per times a specific string or character shows up or to supplant some segment of any information thing. For finish data on the best way of working with INSPECT and COBOL inquiries on INSPECT in COBOL,
Q22) Can we utilize Min or Max along with the alphanumeric information?
Yes, MAX or MIN can be utilized with alphanumeric information.
Q23) How to discover when COBOL program was gathered?
We can discover by utilizing WHEN-COMPILED work or via looking through the library LOAD. There is a characterized work in COBOL that can be utilized to discover the arrangement of the date and the time of any given program. The capacity is utilized during WHEN-COMPILED while it returns the 21 characters.
Technique division proclamation:
Show 'PROGRAM COMPILED ON FUNCTION WHEN-COMPILED
PROGRAM COMPILED ON 2013122412433857+0000
This data answers COBOL inquiries questions identified with program assemblage.
Q24) Define the procedure to pass an incentive from JCL to COBOL?
We can go by utilizing RETURN-CODE.
There’s a characterized word RETURN-CODE in COBOL that can be utilized to pass information from the program to the JCL. This is particularly valuable when some particular return code is accounted for in an occupation. Typically the activity returns 0 or 4 or on some case 8 or 12 return code if any irregularity happens. This can be changed by utilizing RETURN-CODE of the program. This data answers COBOL inquiries questions identified with passing information from COBOL to JCL.
Q25: Define DELIMITED BY SPACE and DELIMITED BY SIZE along with there utilization?
DELIMITED BY SPACE or DELIMITED BY SIZE will be utilized alongside the STRING for controlling the information in case it is replicated.
Q26) What are the situations which can bring about Infinite circle by utilizing PERFORM?
With PERFORM TIMES and PERFORM UNTIL a large circle can be created.
Q27) Define the utilization of TEST BEFORE as well as TEST AFTER in the PERFORM explanations?
TEST BEFORE and TEST AFTER are utilized to characterize when the condition to be checked.
28) Define deadlock in DB2?
When there is an independent process gets contended for a same or reserved resource of one another, that is when it is called deadlock. The SQL codes for deadlock are -911 and the -913.
Q29) Define the function of the DBCTL?
DBCTL is used for accessing the IMS filed for the CICS transactions, and they are fixed in the DBTCL for accessing files. Now in case, it is an IMS call that is generated by the CICS programs, then the processing is transferred to be carried by the DBCTL and a reply is sent as an outcome.
Q30) Differentiate Between HDAM and the HIDAM databases?
HIDAM is a separated index file that is based on the segmented root. The HIDAM is equipped with the information of the pointers that are based on the marks of the position of the data. While on the other hand, the HDAM has separated index files, but, all the key fields of the very records that are passed through a random which places the records of a particular position of the databases.
Q31) Clarify bolt dispute?
The DBD enables passage to one question at a specific time. Bolt conflict is said to happen when in excess of one protest looks for consent for execution at the same time.
Q32) Define SPUFI?
SPUFI is an abridged-type of SQL Processing Using File Input. It's a menu-driven instrument which the designer uses for making objects in the database.
Q33: Define Alias?
It is auxiliary to an equivalent word. Nom de plumes are produced for appropriated situations in order to maintain a strategic distance from the utilization of area frontrunner of a view or table. It isn't released when the table is erased.
Q34) Define the place of a VSAM KSDS?
The place of a VSAM is in the BSDS.
Q35) Name and clarify the sort of locks?
Typically, there are 3 sorts of the LOCKS in particular:
Q36) Clarify confinement level?
Confinement level is how much the initiation assembles in the center if it is disconnected from the actuation bunches executing in the meantime.
Q37) Define NOTCAT2?
It remains a VMS note that demonstrates the nearness of a copy inventory in the database. This issue can be settled by evacuating one of the passages and after that including another one.
Q38) What will happen if both STEPLIB and JOBLIB are determined?
JOBLIB is a Data Definition proclamation. It decides the area of the database, which is called the EXEC articulation. JOBLIB is applicable to all means introduce in that entire employment. It isn't conceivable to utilize it for detailed methodology. STEPLIB is fundamentally the same as JOBLIB. It decides the dataset within which this program exists. It applies to just one stage, not the total employment. STEPLIB could be utilized in any situation in the action step and also can likewise be utilized for detailed methodology.
In a circumstance when both the STEPLIB and JOBLIB are indicated, the JOBLIB will be overlooked by the framework.
Q39) Express the distinction amongst JES2 and JES3?
In the JES3, the distribution of informational indexes for the means happens prior to the activity is planned for executing. While in the JES2, this assignment happens prior to the execution of each progression.
Q40) Express all of the OPEN file modes?
The 4 File Open strategies are:
Q41) Is the request of the WHEN clause critical in an EVALUATE proclamation?
Truly, the request is critical as the assessment happens in the through and through way and, hence, the request has a vast effect on the assurance of results.
Q42: At what point are extension eliminators mandatory?
They are obligatory for EVALUATE articulations along with the in-line PERFORMS. Extension eliminators are announced continuously unequivocally to enhance intelligibility.
Q43) Define linkage segment?
It is a piece of the program which is being called and also maps to information things in the program's (calling) working stockpiling. Linkage Sections are the places where shared things are pronounced and characterized.
Q44) Define NEXT SENTENCE and the CONTINUE unique?
The NEXT SENTENCE handles the stream of control into the statement that takes the following time frame. Then again, CONTINUE handles the stream of control of the following articulation after the extension eliminator.
Free Demo for Corporate & Online Trainings.