YouTube Icon

Interview Questions.

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

fluid

Top 100+ Ibm - Rpg Interview Questions And Answers

Question 1. What Is Rpg?

Answer :

RPG is a high-level programming language (HLL) for enterprise applications, initials which stand for Report Program Generator.

Question 2. What Is Data Area And How It Is Used In Rpg Program ?

Answer :

Data vicinity is a kind of an item that is used for storing data. It is defined the use of opcode *NAMVAR. The information is study by way of "IN" and written with the aid of "OUT" opcode.

IBM-ILE Interview Questions
Question three. Which Program Rpg Or Cl Is Efficent To Update A Transaction Onto A Database File And Why ?

Answer :

CL program cannot update/write onto a statistics base record and subsequently, preference is RPG application.

Question four. What Is The Purpose Of Indicators In Rpg?

Answer :

It is commonly used to indicate the end result of an operation or to condition (or control) the processing of an operation. Indicators are described both by using an access at the specification or by means of the RPG IV software itself. The positions on the specification in that you define an indicator determine how the indicator is used. An indicator that has been defined can then be used to condition calculation and output operations. An indicator may be manage degree indicator, resulting, record figuring out and many others.

IBM-ILE Tutorial
Question five. Describe The Function Of Setll Operation In Rpg Language?

Answer :

The SETLL operation positions a report at the next file with a key or relative record number this is more than or same to key or relative document variety laid out in factor1.

IBM Informix Interview Questions
Question 6. What Is The Rpg System?

Answer :

The RPG System is one of the interactive features of this web page, it is a graphical illustration of the user's activities and contribution to the web site and boards. It is only for display/appears and has no effect of something what-so-ever.

Question 7. Is This A Rpg Channel?

Answer :

No. This is a channel for communique. No one actively roleplays in #Vampire, even though many do frequent channels that DO roleplay, the most distinguished one being #VampireHall. Check them out.

IBM DB2 Tutorial IBM DB2 Interview Questions
Question 8. What Is A 'sim / Rpg'?

Answer :

A Sim is a simulation. In this example, kind of a writers' collective where a diverse organization of people all collaborate on testimonies set in a commonplace idiom. It is likewise referred to as a Role-Playing Game (RPG), because of the similarity to games like Dungeons and Dragons, or even Worlds of Warcraft (technically a MMORPG). However, Borderlands and other similar 'games' have nowhere close to the level of shape or regulations that authentic RPG's do.

Question nine. What Is An Online Rpg?

Answer :

on line RPG connects to a network server. Like former comparable RPGs, your man or woman will develop and improve inside the international. Players from around the arena are united, letting them shape events and experience thrill and journey together.

SQL Database Interview Questions
Question 10. How Can You Display Specific Subfile Page On The Screen In Unequal Subfile?

Answer :

• If CURSOR is certain for the SFLRCDNBR the cursor is placed within the subfile report whose relative record quantity is diagnosed by the contents of this discipline.

• SFLRCDNBR (Subfile Record Number) - Displays the web page of the subfile containing the document whose relative file quantity is in this area.

SQL Database Tutorial
Question eleven. What Are The Array Operations?

Answer :

• The LOKUP operation reasons a seek to be made for a particular detail in an array or table.
• The MOVEA operation transfers character or numeric values from issue 2 to the end result subject. (Certain regulations follow while transferring numeric values.) Factor 2 or the result subject have to include an array. Factor 2 and the result discipline cannot specify the identical array even though the array is listed.
• SORTA (Sort an Array)
• XFOOT (Summing the Elements of an Array)

IBM AIX Interview Questions
Question 12. Can You Debug Ile Rpg Program Using Isdb?

Answer :

No. However we are able to debug RPG application the usage of STRDBG.
Compile RPG the use of with Source listing alternatives . . . *SRCDBG.
STRDBG PGM(PH0040DCL) OPMSRC(*YES)
OPM stands for original software version
Same technique for CLP additionally.

IBM-ILE Interview Questions
Question 13. How Do You Use Commitment Control In Rpg?

Answer :

With commitment manage, you make sure one among  consequences for the document operations:

both all the document operations are a success or not one of the report operations has any impact. In this way, you procedure a group of operations as a unit. To use commitment control, you do the subsequent:

• Use the CL instructions CRTJRN (Create Journal), CRTJRNRCV (Create Journal Receiver) and STRJRNPF (Journal Physical File) to put together for the usage of dedication manipulate, and the CL commands STRCMTCTL (Start Commitment Control) and ENDCMTCTL (End Commitment Control) to notify the machine while you need to begin and stop commitment manage.

• Specify dedication control on the record-description specifications of the documents you need under dedication manage.

• Use the COMIT (Commit) operation code to use a collection of adjustments to files under commitment control, or use the ROLBK (Roll Back) operation code to get rid of the pending institution of changes to files under commitment control.

Question 14. How Do You Code File Field Renames In Ile Rpg?

Answer :

•The PREFIX keyword is used to partially rename the fields in an externally defined document. The characters detailed as prefix string are prefixed to the names of all fields described in all facts of the record particular.
•You can also explicitly rename a field on enter specification on discipline description entries.

Question 15. Do You Use Message Subfiles? What Are The Necessary Keywords Required Coding A Message Subfile?

Answer :

• Specifying the SFLMSGRCD (24) key-word on the subfile document format identifies this subfile as a message subfile. The parameter price particular causes the subfile to appear on-line 24 of the display.

• The fields MSGKEY and PGMQ are user-defined names given to the two fields required for the subfile report layout for a message subfile. The only specifications allowed for them are their names and the SFLMSGKEY and SFLPGMQ keywords.

• This subfile is built through a series of output operations to SFL that location messages in the subfile as subfile facts. Messages are truncated to suit single lines (seventy six characters or 128 characters, relying on show length), and second-level assistance is available. This subfile is displayed by way of an output operation to SFLCTL.

• The OS/four hundred application while the display station consumer presses a Page Up or a Page Down key pages this subfile. The SFLEND key-word permits the OS/four hundred software to show a plus sign each time the subfile may be paged up.

SQL Interview Questions
Question sixteen. What Is The Necessary Keyword Needed To Scroll Subfile Records?

Answer :

•Pg/Up & Pg/Dn.

•SFLSCROLL (Subfile Scroll) - Returns the relative file wide variety of the subfile file this is on the top of the subfile when manipulate is given to the application.

Question 17. Can More Than One Subfile Record Be Displayed On One Line?

Answer :

•Yes, the usage of SFLLIN (Subfile line).

AS400 Interview Questions
Question 18. What Happens When Sflsiz = Sflpag? What Are The Advantages And Disadvantages?

Answer :

•It results in equal subfile. Loads handiest one web page of records at a time. Can take care of any number of information. But programming becomes a whole lot greater worried.

•The different case is that of Expanded subfile where in best Pg/Dn has to be programmed. It is displayed in a solid quantity of time, depending on how many information this system masses.

IBM Informix Interview Questions
Question 19. What Do You Mean By An Input Subfile, What Are The Keywords Required?

Answer :

•The enter information is first loaded to subfile and after doing interactive statistics validation they're added to physical document. The new keywords required encompass SFLNXTCHG, SFLINZ, and SFLRNA.

•SFLNXTCHG - It enables a READC coaching to process all of the subfile information as modified. To enable READC on the identical document, which become already study by way of READC, set on SFLNZTCHG and replace subfile.

•SFLINZ - Initializes alphanumeric fields to blanks and numeric fields to zeros. When enter information are introduced to a subfile initialized through an SFLINZ operation, they're flagged as modified.

•SFLRNA - Initializes the subfile with no lively statistics.

Question 20. Explain Sflclr, Sflend, Sfldlt, And Sflcsrrrn?

Answer :

•SFLCLR - Clears subfile location before the subfile is created.

•SFLEND - Displays + signal to the right of the final subfile record on the cutting-edge web page, indicating that greater statistics are to be had.

•SFLDLT - Deletes a subfile. Used while the program controls a couple of subfile. Max. Active subfiles (24)

•SFLCSRRRN - RRN of the subfile record wherein the cursor turned into placed, is returned.

DB2 SQL Programming Interview Questions
Question 21. What Is The Difference Between Non-show Attribute & Hidden Fields?

Answer :

•Non-show - Causes the records inside the discipline to be invisible to the operator. The display positions for the fields seem like blank. Use this characteristic for passwords or other safety-touchy records. Non-display fields do not print.

•Hidden - Type H to signify a hidden subject (one this is used for each enter and output however now not displayed).

Question 22. What Would Be The Effect On The Field Where Reverse Image, Underline, And High Intensity?

Answer :

•The subject will no longer be displayed i.E. Will become non-display.

Question 23. How Can A Screen Field That Has Changed Since The Last Output Operation Be Detected?

Answer :

•Using CHANGE key-word e.G. CHANGE (25).
•BLANK for numeric discipline.

IBM Integration Bus Interview Questions
Question 24. What Are The Key Words You Must Use When Using A Subfile?

Answer :

• SFL - Record stage - specifies subfile report format, includes variable statistics objects.
• SFLCTL - Record degree - specifies subfile manage document format wherein show, clearing, and initialization functions are controlled.
• SFLSIZ - Record level control file keyword - specifies the wide variety of information that can be loaded inside the subfile. Max. (9999)
• SFLPAG - Record degree manage report key-word - specifies the number of facts that can be displayed on CRT on the identical time.
• SFLDSP - Record stage manipulate record key-word - displays the subfile when application troubles an output operation to the manipulate report format.

IBM DB2 Interview Questions
Question 25. What Is The Difference Between Do While And Do Until?

Answer :

•The DOU operations permit the processing of a group of calculations one or greater times. The end of a Do-Until operation is indicated by means of an ENDDO operation. Here processing is executed at the least one time.
•The DOW operations permit the processing of a set of calculations 0 or greater times. The cease of a Do-While operation is indicated with the aid of an ENDDO operation.

Question 26. What Is File Information Data Structure?

Answer :

File Information Data structure (INFDS) can be described for each document to make file exception/error information available to the program. A document facts information structure contains predefined subfields that perceive: the call of the record for which the exception/error passed off. The file being processed while the exception/error befell or the report that induced the exception/errors. The closing operation being processed while the exception/error happened.

The repute code. The RPG habitual wherein the exception/mistakes came about.

Synopsys Interview Questions
Question 27. What Is Program Status Data Structure?

Answer :

A Program repute DS can defined to make program exception/errors statistics available to an RPG software.

DS is described as program reputation DS through an S in role 18 of the DS declaration.
*STATUS carries fame code.
*ROUTINE : incorporates call of habitual wherein the exception/blunders passed off
*PARMS : includes the variety parameters passed to this application from the calling application.

SQL Database Interview Questions
Question 28. During Execution, An Rpg/four hundred Program Automatically Follows A Sequence Of Operations For Each Record That Is Processed. The Built-in Program Cycle Includes The Following Logical Steps.

Answer :

1. Analyzing input (READ)
2. Processing calculations (PROCESS)
three. Writing output (WRITE)

Question 29. What Is The Difference Between The Cpyf Command Crtdupobj Command?

Answer :

CRTDUPOBJ command is handiest to duplicate objects and does create reproduction files while the CPYF is to have genuine copies of the record.

Rpgle Interview Questions
Question 30. What Is The Use Of Sflnxtchg?

Answer :

when a changed document is examine MDT is about on mechanically by using the system. Whilst user wants to examine it again it wont the changed record so we want o set on MDT for that we are the usage of SFLNXTCHG.

Question 31. What Is Flat File?

Answer :

When a document is asserted in software as a flat document no want to use READ commands this system will examine the flat document from starting to EOF. Best one flat file may be declared in a program.

Question 32. What Is *inzsr Used For?

Answer :

It is unique kind of RPG/four hundred subroutine, that's achieved routinely at beginning of this system. It is a good region to code initializes the variables.

Question 33. How Can You Execute A Command From Within An Rpg Program Without Calling A Clp Program?

Answer :

By calling QCMDEXC software program interface we are able to execute a CL command with in an RPG software.

IBM AIX Interview Questions
Question 34. How Can I Tell When To Replace The Array?

Answer :

When the array not bubbles the electromagnetic residences are depleted and the array have to get replaced. Check the bottom of the array for any excessive corrosion on the connecting factors and to ensure there is a stable joint.

Question 35. How Do I Preserve And Clean The Array?

Answer :

Dip the array in a solution aggregate of 1 component white vinegar to two parts warm water for a few minutes. Then brush the array to take away extra debris and rinse thoroughly with heat water and pat dry.

Question 36. Can I Touch The Array During Treatments?

Answer :

Absolutely, this will no longer regulate the treatment in any manner. However, remaining fairly still will beautify the viewing of the pollutants being emitted from the frame as they go with the flow to the pinnacle of the water tub.

SQL Interview Questions
Question 37. How Does The Rpg Element Work?

Answer :

Each man or woman is attributed ability tiers, an persistence thing and Leadership traits. Attributes may be progressed by using efficiently completing missions, and gaining medals.

Question 38. What Was The Robotech Rpg?

Answer :

The Robotech RPG turned into a role-gambling sport based on the Harmony Gold lively television collection, Robotech. Game dietary supplements cover the Macross, Southern Cross, and Invid Invasion portions of the animated collection, in addition to the Sentinels. Characters may be human, Zentraedi, or a Sentinel race. Character classes encompass the Veritech and Destroid pilot. Campaign settings consist of Macross, Southern Cross, Invid Invasion, and the Sentinels.

Question 39. What Is Kids-rpg?

Answer :

children-rpg is a mailing list run thru the Yahoo!Groups web website. Its motive is to foster discussion on the subject of kids and non-computer-primarily based role-playing video games.

Question 40. Why Isn't There Rpg Info On The Site?

Answer :

Because it is a domain about the show's canon, now not about RPGs for the display. If you're running an RPG and are using this web site as a reference, cool. But I'm no longer a gamer, and I do not tend to track some things which might be essential to gaming. Sorry! I also do not encompass facts from RPGs, respectable or in any other case -- they've their very own reference works, and don't observe outdoor their very own precise game universe.

AS400 Interview Questions
Question 41. How Do I Declare A Minor?

Answer :

The software for the minor you pick is available at the department that supervises that minor, now not on the HPA Department.

Question 42. What Is A Rpg?

Answer :

A RPG is a roleplaying game. These are video games which permit someone to act out various specific fantasy conditions and characters, generally with a troupe of different players. Some RPG's are performed around a desk with ten or extra sided cube, others are acted out as in a play (Live movement roleplaying). Some are performed with playing cards, and nonetheless others are performed with a aggregate of all the above. There are several one-of-a-kind agencies which design RPG's.

DB2 SQL Programming Interview Questions
Question 43. How Do I Play insert Rpg System Here?

Answer :

You take a seat down with someone who is aware of the way to play already. Click right here to locate players for your area. At least, that's the perfect manner. If you are all new, there are numerous net web sites devoted to coaching you how to play any RPG. Click right here for a few widespread recommendation.

Question 44. Who Plays Spooky At Spooky's Rpg?

Answer :

Fox Mulder is a reserved character that every one veteran players can write at each time. No one may additionally adopt Fox Mulder as a PC. Most position playing games have a GM (Game Moderator) to preserve the whole thing walking smoothly. The GM acts as a referee, retaining the sport alive, breaking up fights, stuff like that. The Vice-Moderator, who takes over while the GM wishes a vacation to real existence, also allows with questionnaires, photographs, and different associated activities.

Question forty five. What's New In Os/400 Version five Rpg Iv?

Answer :

So a great deal is new in RPG IV with OS/400 Version 5, that I wrote an article approximately it. Read my article approximately the improvements to RPG IV in OS/four hundred Version five. The %CHAR integrated function has be fixed. It now functions adore it turned into supposed to in the first vicinity. You can wrap a numeric cost in %CHAR and a nicely edited man or woman form of the range is lower back. The edited form consists of the decimal, trimmed off leading blanks, and a terrible signal.

Question forty six. Are There Any Useful C Runtime Apis That I Can Call From Rpg Iv?

Answer :

There are numerous C runtime APIs to be had to the RPG IV developer. In OS/four hundred model 3, launch 1 the scope of these APIs is constrained. The CALLB operation code may be used to directly call the C runtime APIs, furnished they do not require "skip with the aid of price" parameters. In V3 R2 and later, parameters may be surpassed by way of reference or by means of value. In addition, Prototypes are supporte for calling tactics written in RPG IV or other languages.

Question forty seven. How Do I Do Concatenation In Rpg Iv, Like I Do In Cl?

Answer :

In the initial release of RPG IV, the plus signal may be used to do easy concatenation. When the expression of any of the improved operation codes consists of string expressions, then the plus sign is considered a concatenation operator. In later release of RPG IV, the integrated characteristic %EDITC may be used to permit numeric fields to take part in simple concatenation. The example beneath illustrates the primary concatenation (line 4) and the enhancement introduced in OS/four hundred V3 R7. ....

Question 48. Rpg Iv -- Release What?

Answer :

RPG IV became first shipped with OS/400 Version 3, Release 1. This is now referred to as RPG IV release 1. But do not worry about remembering releases of RPG IV. Under OS/400 Version 3, Release 6, IBM enhanced RPG with processes, many extra integrated functions, and several new records sorts. This is called RPG IV launch 2. Then, OS/400 Version 3, Release 2 was introduced. It brought the unique release of RPG IV (at the CISC bins) up to the same degree as RPG IV beneath V3R6.

Question forty nine. How Do I Declare A Table Or Array In Rpg Iv?

Answer :

To declare an array or table, use the RPG IV definition specification. The "D spec" allows you to code the array or table on a single line. The key-word to use is DIM (dimension). This is in which you specify the quantity of factors within the table or array. For example, to create an array named ITEMS with 200 elements, each 10 characters in length, the following Definition spec may be used:
.....DName+++++++++++EUDS.......Length+TDB.

Question 50. How Do I Declare A Pointer To An Array?

Answer :

Usually, you don't need to. When human beings speak casually of a pointer to an array, they typically suggest a pointer to its first element. Instead of a pointer to an array, take into account the use of a pointer to one of the array's elements. Arrays of type T decay into hints to kind T (see query 6.3), that's handy; subscripting or incrementing the ensuing pointer will get right of entry to the person individuals of the array.

Question fifty one. A Rpg Or Clp Command To Find If The File Field Is Defined As A Character Or Numeric Field.

Answer :

In RPG we will check for the sector is numeric or no longer . The OPCODE is TESTN.

Question fifty two. Check Existence Of One Record Without Using Chain Or Read?

Answer :

Using SETLL opcode

Question fifty three. What Are Data Types?

Answer :

They are attributes of columns, literals, and host variables. The facts sorts are SMALLINT, INTEGER, FLOAT, DECIMAL, CHAR, VARCHAR, DATE and TIME.




CFG