YouTube Icon

Interview Questions.

Top 100+ Ibm Mainframe Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Ibm Mainframe Interview Questions And Answers

Question 1. What Is Use Of Linkage Section?

Answer :

Linkage segment is used to simply accept facts from outdoor this system.Either it's parm a part of Jcl or Call from every other packages,they skip statistics into called software thru linkage section handiest.

Question 2. How To Get The Last Record In Vsam File In Cluster? And How Can U Get The Ksds File Records Into Ur Cobol Program?

Answer :

Move excessive values to the important thing of the VSAM document and the difficulty Readnext record command. Then supply Readprev command. This will read the last file. In VSAM, there is one command HURBA, Using that we will read the remaining document, If you need to recognize extra approximately visit IBM RED BOOKS. You will get the solution. Through using the HURBA we can get the max statistics with the aid of the usage of the CKD matter key data we can get the final report

IBM Lotus Notes Interview Questions
Question 3. What Is Difference B/w File-aid Tool And File-aid Utility?

Answer :

File-resource device is online device (utility) used for processing documents the use of online displays. File-aid utility is utilized in jcl for processing documents in batch.

Question 4. Suppose Oza017.Myorg.Emp Has one hundred Records ,oza018.Myorg.Body of workers Has two hundred Records But 50 Are The Common Records In Both Files Copy All The Common Records Into Oza017.Myorg.Xyz Dataset?

Answer :

IN SORT, YOU CAN USE JOINKEYS AND CAN TAKE 50 COMMON RECORDS IN B/W 2 I/P FILES AND WRITE TO O/P FILE.

IBM Lotus Notes Tutorial
Question five. What Are The Parameter We Cannot Use In Procedure? How Many Instream We Can Write In Single Jcl? Can We Call Instream To Catalog And Catalog To Instream?

Answer :

sysin dd * we can not use in method,15 instream proc we are able to code.We can name instream to catalog.But we cannot call catalog to instream

IBM-CICS Interview Questions
Question 6. While Creating A Table, By Mistake You Have Given Size Of One Field As 10. But As Per Requirement Size Should Be 8. What Is Your Next Step?

Answer :

If desk is empty then we modify this column to any period, however if some records get inserted into the desk then we can also decrease the column duration up to biggest statistics size to be had in that particular column.

Question 7. Suppose I Have Two Tables A And B. Both Tables Are Connected With Ssn Number As Foreign Key. I Want To Retrieve A Column Data From B Table. How Will You Write A Query?

Answer :

One can use Inner Join to get data from two tables

IBM-CICS Tutorial COBOL Interview Questions
Question 8. How Can We Increment Subscript And Index?

Answer :

SUBSCRIPT:
CAN BE INCREMENT OR DECREMENT USING ARITHMETIC OPERATIONS
INDEX:
CAN BE INCREMENT OR DECREMENT USING SET VERB

Question 9. We Have An Output Dataset In Job With Disp Parameter As Shr. Can We Write Data In That File Dataset?

Answer :

we cannot write when disp is proportion.

Linux Interview Questions
Question 10. How To Handle -911 (deadlock) Error In A Db2 Program So That The Program Will Never Abend?

Answer :

Dead lock timeout errors takes place inside the following case: If two or more packages acquired different lock at the facts,which may be wished for different programs with out that statistics which can't continue similarly.

Solution: You can roll back current unit of work for one of the packages after preset time c programming language for deadlocks and terminate that software.

COBOL Tutorial
Question eleven. Suppose I Have a thousand Rows In A Db2 Table. I Want To Update First 100 Records, How Do I Do It?

Answer :

is there identification column on this table, for instance, if there is a column indexnum int(intended begin from 1), you could use the Update Table Set XXX=XXX where indexnum < one hundred and one

IBM-JCL Interview Questions
Question 12. How Would Find Total Records In Files Using Sequential?

Answer :

We can increment the count number for every reading of report in a record.

Read document
count = count + 1
At cease
show rely

IBM Lotus Notes Interview Questions
Question 13. What Is Label Record Is Standard Or Omitted In File Description Of Data Division?

Answer :

Label document is standard means it'll use disk documents. But tape files will have preferred label too. If the label document is not noted it have to be a the tape report with none start and cease blocks at the tape.

Linux Tutorial
Question 14. A Word In The Computer Memory Is Identified By_________

Answer :

word period

Question 15. In An Evaluate Statement, Can I Give A Complex Condition On A When Clause?

Answer :

Yes

IBM AIX Interview Questions
Question 16. What Is The Other Verb For Release And Write ?

Answer :

Rewrite and Read

IBM-JCL Tutorial
Question 17. How Could You Write A Program In A Structured Format?

Answer :

No go to's

IBM WAS Administration Interview Questions
Question 18. Which Is More Efficient, Level seventy seven Or 01?

Answer :

01

IBM-CICS Interview Questions
Question 19. Execution Of A Subordinate Module Is Caused By The Use Of The Cobol Verbs ------------in The Superior Module

Answer :

Perform

IBM Mainframe Tutorial
Question 20. Which Of The Following Is True About The File Which Is Referenced In A Delete Statement?

Answer :

Opened I/O mode

IBM Lotus Domino Interview Questions
Question 21. Can The Occurs Clause Be At The 01 Level?

Answer :

No

Question 22. How Many Sections Are There In Data Division?

Answer :

6

Question 23. How Is Sign Stored In A Comp Field ?

Answer :

In the maximum full-size bit. Bit is ON if -ve, OFF if +ve

IBM Integration Bus Interview Questions
Question 24. Indicate Which One Of The Following Is Not True About The Set Verb?

Answer :

The verb can be used to increment one or more identifiers via a fantastic quintessential fee.

COBOL Interview Questions
Question 25. Accept Ws-date From Date Will Return The Current Date?

Answer :

IN YYYYMMDD FORMAT

Question 26. Can You Rewrite A Record In An Esds File? Can You Delete A Record From It?

Answer :

Can rewrite (document duration have to be equal), but not delete.

Mainframe DB2 Interview Questions
Question 27. How Do We Describe Static Call And Dynamic Call?

Answer :

The difference between Static and Dynamic Call is that the primary has the invoking application name tough coded into the call statement while the second one has it in garage in an identifier. Also within the case of Static the invoking application is link edited with the invoked subroutine and in the case of Dynamic Callwe could have a different module for every: the primary application and the subroutine. IF we don’t use Initial or make a Cancel while we invoke the statically known as subroutine then it will not be discovered within the default nation; dynamically referred to as routine will be forever inside the default country.

Linux Interview Questions
Question 28. How Do We Describe Cataloged Procedure And An Instream Procedure?

Answer :

Cataloged techniques are invoked through a specification of the call of the technique over the Exec declaration and cataloged at the library of the manner. For verifying a technique previous to becoming a catalog procedure we will use an in-circulation technique. Instream tactics are similar to catalog tactics however there is a small distinction at their execution:for executing them there are required to be positioned among the Job assertion and the Exec assertion and they must be completed with a Pend statement.

Question 29. How Are Start And Xctl Different?

Answer :

Start is used for the start of recent transactions after which the XCTL takes the operations further , transferring the manage to a unique utility however with an identical transaction ID.

Unix Production Support Interview Questions
Question 30. What Is The Meaning, The Advantages And Which Are The Types Of Evaluate Statement?

Answer :

Evaluate statement is a distinctive way for the neste IF statements and it works via deciding on from a processing moves list. To update IF we will use When to find out if an motion could be taken. Like IF , When manipulate goes from evaluate to the following statement at the application. The varieties of compare statement are trues and variable-name.

Question 31. What Is The Meaning Of Notcat 2?

Answer :

NOTCAT 2 is a MVS message that indicates if two or greater entries of the identical catalog exist. If an access is already there the catalog would send us an errors message. The difficulty can be repaired by using uncataloging or deleting the number one facts set and we must find that volume which incorporates the brand new information set and we should catalog it.

Question 32. What Is The Role Of The Is Numeric Clause?

Answer :

IS NUMERIC will be to be had for alphanumeric, packed decimal, unsigned numeric and signed numeric objects. When an object is manufactured from 0 to nine the fee returned by IS NUMERIC is True, if the object is signed then it could have zero to nine however also + and -.

Question 33. What Sorting Order Does Search All Have?

Answer :

The sorting order of SEARCH ALL can be Descending or Ascending, the preliminary value is Ascending. When we want to exchange to Descending we have to offer the Descending Key clause inside the time we outline the array with a view to be taken care of; the desk must be loaded within the order stated.

IBM-JCL Interview Questions
Question 34. What Is The Right Time For Using In-line Perform?

Answer :

The right time is when the perform body isn't used. If it's miles a type of code that has trendy means, being applied in numerous places within the program, the code need to be met in a one-of-a-kind para and not use in-line carry out, however perform paraname instead.

Question 35. How Can We Repair A Soc-7 Error?

Answer :

The predominant element to do is repairing the difficult statistics, typically the purpose for problems with SOC-7 is a numeric object this is un-initialized, this is the primary situation. Some of the setups supply us dumps for run-time abends, this will additionally be made with the aid of invoking OS offerings or subroutines through the meeting language. The dumps are beneficial as thei deliver us the closing instruction’s offset wherein the abend occurred. The output XREF list of the compilation must be verifiedfor obtaining the road wide variety and the verb of this offset’s supply code. After that the computer virus may be determined in the source code. For capturing the runtime dumps, we must define datasets like as an example Sysabout in JCL. When these strategies are not running we need to discover the mistake supply with judgement and Display. If the setup has debugging utilities, we ought to make use of them.

Question 36. How Can We Describe Comp Sync?

Answer :

COMP SYNC aligns an item to the herbal boundaries, it is going to be synchronized right and left. If we use binary gadgets which might be found at the boundaries of phrases in memory, those ones have a more speedy cope with decision. The size of phrase from mainframe reminiscence is four bytes. So every word has to start from an cope with that's divisible by means of four. When the number one variable is x(3) and the following one is s9(four) comp if the Sync clause is not designated, the second one variable will begin from byte 3. When Sync is distinctive the beginning cope with might be 4; this extra fast, even supposing we may observe a little waste of reminiscence.

IBM AIX Interview Questions
Question 37. What Is The Meaning Of Ssrange And Nossrange?

Answer :

These  are options of the compiler for verifying the out of range nation for the subscript. The default will be NOSSRANGE and it implies no flagging of run-time mistakes whilst the subscript or index is exceeding the approved range.

Question 38. What Difference Exists Between Control Area And Control Interval?

Answer :

A Control Area is a hard and fast of Control Intervals and it works all through allocation. The length of the Control Area depends on the sort of allocation (cyl, tracks, records) and ots most reaches 1 cylinder. The Control Interval is something like a block for QSAM files, its size is ranged between 512 bytes and 32 kilobytes, generally 2 or 4 kilobytes. If the Control Interval is larger the performance will also boom on the subject of sequential processing.

Question 39. What Optimum Values Can We Find For Freespace, Ci Etc?

Answer :

The size of CI has to rely on the duration of the record and the processing kind. The ordinary cost is four kilobytes however while the length of the report is larger than 1 kilobyte we must pick 6 kilobytes or 8 kilobytes. The regular values for FREESPACE are (20 20), whilst many insertions are made it should be bigger.

Question 40. Can We Describe The Results Of Opening For Input Empty Vsam Files In A Cobol Program?

Answer :

If the VSAM document didn’t have a document before it will likely be visible as unavailable and if we strive to open it the operation will not be triumphant. Empty files can just be opened for output, case wherein a dummy record can be written by using COBOL and the report may be erased.

IBM WAS Administration Interview Questions
Question forty one. How Can We Define A Gdg?

Answer :

GDG approach GenerationDataGroup, for defining it we are able to write the command DEFINE GENERATION DATA GROUP. In the IDCAMS step, a distinctive information set has to be defined and its DCB parameters can be used at the time whilst new generations are made. This is what we name a version dataset, whose ds call needs to be similar to the one of the GDG.

Question forty two. What Is The Meaning Of A (new, Catlg, Keep) Disposition Mean?

Answer :

The which means is that we have a clean datasheet and it needs to be allotted, the datasheet need to be CTLG if all went right but to KEEP and not CTLG the datasheet when all is abended.

IBM Lotus Domino Interview Questions




CFG