YouTube Icon

Interview Questions.

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

fluid

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

Q1. What Is The Difference Between Do While And Do Until?

•The DOU operations permit the processing of a group of calculations one or more instances. The stop of a Do-Until operation is indicated with the aid of an ENDDO operation. Here processing is accomplished at least one time.

•The DOW operations allow the processing of a collection of calculations zero or greater instances. The stop of a Do-While operation is indicated by way of an ENDDO operation.

Q2. What Do You Mean By An Input Subfile, What Are The Keywords Required?

•The enter facts is first loaded to subfile and after doing interactive data validation they are introduced to bodily record. The new keywords required consist of SFLNXTCHG, SFLINZ, and SFLRNA.

•SFLNXTCHG - It allows a READC coaching to manner all the subfile statistics as changed. To enable READC on the equal record, which turned into already read by using READC, set on SFLNZTCHG and replace subfile.

•SFLINZ - Initializes alphanumeric fields to blanks and numeric fields to zeros. When input records are delivered to a subfile initialized with the aid of an SFLINZ operation, they're flagged as changed.

•SFLRNA - Initializes the subfile with no active facts.

Q3. Which Program Rpg Or Cl Is Efficent To Update A Traction Onto A Database File And Why ?

CL program can't update/write onto a data base document and subsequently, preference is RPG application.

Q4. Explain Sflclr, Sflend, Sfldlt, And Sflcsrrrn?

•SFLCLR - Clears subfile location earlier than the subfile is created.

•SFLEND - Displays + sign to the proper of the remaining subfile file at the cutting-edge page, indicating that extra statistics are available.

•SFLDLT - Deletes a subfile. Used when this system controls more than one subfile. Max. Active subfiles (24)

•SFLCSRRRN - RRN of the subfile file where the cursor turned into positioned, is lower back.

Q5. How Do I Declare A Table Or Array In Rpg Iv?

To claim an array or desk, use the RPG IV definition specification. The "D spec" allows you to code the array or desk on a unmarried line. The key-word to use is DIM (measurement). This is wherein you specify the wide variety of factors in the desk or array. For example, to create an array named ITEMS with two hundred elements, every 10 characters in period, the subsequent Definition spec can be used:

.....DName+++++++++++EUDS.......Length+TDB.

Q6. What Is Flat File?

When a report is said in application as a flat file no want to apply READ instructions the program will read the flat record from beginning to EOF. Simplest one flat file may be declared in a software.

Q7. What Are The Key Words You Must Use When Using A Subfile?

• SFL - Record degree - specifies subfile file layout, consists of variable data objects.

• SFLCTL - Record level - specifies subfile manage report layout in which show, clearing, and initialization features are controlled.

• SFLSIZ - Record stage control report keyword - specifies the range of facts that may be loaded within the subfile. Max. (9999)

• SFLPAG - Record stage control report key-word - specifies the number of facts that can be displayed on CRT at the equal time.

• SFLDSP - Record degree manipulate file keyword - shows the subfile whilst application issues an output operation to the manage document layout.

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

Data place is a sort of an item that is used for storing statistics. It is described the use of opcode *NAMVAR. The data is examine by using "IN" and written by using "OUT" opcode.

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

•Using CHANGE keyword e.G. CHANGE (25).

•BLANK for numeric area.

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

•The PREFIX keyword is used to partially rename the fields in an externally defined report. The characters specified as prefix string are prefixed to the names of all fields described in all information of the file unique.

•You also can explicitly rename a subject on enter specification on discipline description entries.

Q11. What Is Program Status Data Structure?

A Program popularity DS can defined to make program exception/errors records available to an RPG program.

DS is defined as software repute DS by means of an S in role 18 of the DS announcement.

*STATUS consists of reputation code.

*ROUTINE : contains name of habitual in which the exception/mistakes happened

*PARMS : incorporates the quantity parameters surpassed to this software from the calling program.

Q12. What Is An Online Rpg?

On line RPG connects to a community server. Like former comparable RPGs, your individual will grow and improve in the international. Players from round the world are united, letting them form events and experience thrill and adventure collectively.

Q13. How Do I Preserve And Clean The Array?

Dip the array in an answer mixture of one element white vinegar to two components warm water for a few minutes. Then brush the array to cast off excess particles and rinse thoroughly with warm water and pat dry.

Q14. What Is The Use Of Sflnxtchg?

Whilst a modified report is examine MDT is set on routinely by using the machine. Whilst consumer desires to read it once more it wont the changed report so we want o set on MDT for that we are the usage of SFLNXTCHG.

Q15. What Is *inzsr Used For?

It is special type of RPG/400 subroutine, that's executed automatically at beginning of this system. It is a good location to code initializes the variables.

Q16. What Is The Purpose Of Indicators In Rpg?

It is generally used to signify the result of an operation or to circumstance (or manage) the processing of an operation. Indicators are described either by an entry on the specification or with the aid of the RPG IV software itself. The positions on the specification in that you outline an indicator determine how the indicator is used. An indicator that has been described can then be used to situation calculation and output operations. An indicator can be manipulate degree indicator, resulting, file identifying and many others.

Q17. What Was The Robotech Rpg?

The Robotech RPG turned into a role-gambling sport based totally at the Harmony Gold animated tv collection, Robotech. Game supplements cowl the Macross, Southern Cross, and Invid Invasion portions of the lively series, as well as the Sentinels. Characters can be human, Zentraedi, or a Sentinel race. Character lessons encompass the Veritech and Destroid pilot. Campaign settings include Macross, Southern Cross, Invid Invasion, and the Sentinels.

Q18. How Do I Declare A Minor?

The software for the minor you select is available on the branch that supervises that minor, not on the HPA Department.

Q19. How Does The Rpg Element Work?

Each individual is attributed ability degrees, an endurance issue and Leadership characteristics. Attributes can be advanced by efficaciously finishing missions, and gaining medals.

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

Because it's a site approximately the show's canon, not about RPGs for the display. If you're walking an RPG and are using this website as a reference, cool. But I'm now not a gamer, and I do not have a tendency to song some things which are crucial to gaming. Sorry! I also don't include facts from RPGs, legit or in any other case -- they've their very own reference works, and do not observe out of doors their very own precise recreation universe.

Q21. What's New In Os/four hundred Version 5 Rpg Iv?

So a lot is new in RPG IV with OS/four hundred Version five, that I wrote an article approximately it. Read my article about the improvements to RPG IV in OS/400 Version @The %CHAR built-in feature has be fixed. It now features find it irresistible became alleged to in the first vicinity. You can wrap a numeric price in %CHAR and a well edited character shape of the range is returned. The edited shape consists of the decimal, trimmed off main blanks, and a poor signal.

Q22. 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.

@reading enter (READ)

@processing calculations (PROCESS)

@writing output (WRITE)

Q23. What Happens When Sflsiz = Sflpag? What Are The Advantages And Disadvantages?

•It results in identical subfile. Loads simplest one page of records at a time. Can handle any wide variety of information. But programming turns into much more worried.

•The different case is that of Expanded subfile wherein in only Pg/Dn needs to be programmed. It is displayed in a strong quantity of time, relying on how many facts this system hundreds.

Q24. What Is Rpg?

RPG is a excessive-stage programming language (HLL) for enterprise programs, initials which stand for Report Program Generator.

Q25. Check Existence Of One Record Without Using Chain Or Read?

Using SETLL opcode

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

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

Q27. What Are The Array Operations?

• The LOKUP operation reasons a seek to be made for a specific detail in an array or desk.

• The MOVEA operation trfers individual or numeric values from factor 2 to the end result field. (Certain regulations observe whilst transferring numeric values.) Factor 2 or the result subject should contain an array. Factor 2 and the result subject can't specify the equal array even though the array is indexed.

• SORTA (Sort an Array)

• XFOOT (Summing the Elements of an Array)

Q28. Can I Touch The Array During Treatments?

Absolutely, this may not alter the treatment in any manner. However, last enormously nevertheless will beautify the viewing of the pollution being emitted from the body as they glide to the top of the water tub.

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

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

Q30. Is This A Rpg Channel?

No. This is a channel for communication. No one actively roleplays in #Vampire, despite the fact that many do common channels that DO roleplay, the maximum outstanding one being #VampireHall. Check them out.

Q31. How Can I Tell When To Replace The Array?

When the array now not bubbles the electromagnetic properties are depleted and the array need to be replaced. Check the bottom of the array for any immoderate corrosion at the connecting points and to make certain there may be a stable joint.

Q32. What Is The Rpg System?

The RPG System is one of the interactive features of this web page, it's miles a graphical representation of the user's activities and contribution to the web page and forums. It is best for show/seems and has no effect of something what-so-ever.

Q33. What Is Kids-rpg?

Youngsters-rpg is a mailing listing run via the Yahoo!Groups net site. Its purpose is to foster discussion on the topic of youngsters and non-pc-primarily based role-playing games.

Q34. How Do I Do Concatenation In Rpg Iv, Like I Do In Cl?

In the preliminary launch of RPG IV, the plus sign may be used to do simple concatenation. When the expression of any of the enhanced operation codes includes string expressions, then the plus sign is taken into consideration a concatenation operator. In later launch of RPG IV, the built-in characteristic %EDITC can be used to permit numeric fields to take part in simple concatenation. The instance beneath illustrates the fundamental concatenation (line 4) and the enhancement delivered in OS/four hundred V3 R@....

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

•The field will now not be displayed i.E. Will become non-show.

Q36. How Do You Use Commitment Control In Rpg?

With commitment control, you ensure one in all  effects for the record operations:

either all the file operations are successful or not one of the file operations has any impact. In this manner, you process a set of operations as a unit. To use dedication control, you do the following:

• Use the CL commands CRTJRN (Create Journal), CRTJRNRCV (Create Journal Receiver) and STRJRNPF (Journal Physical File) to prepare for the use of dedication manipulate, and the CL commands STRCMTCTL (Start Commitment Control) and ENDCMTCTL (End Commitment Control) to notify the machine whilst you need to begin and give up dedication manipulate.

• Specify commitment manipulate at the document-description specifications of the documents you want below dedication control.

• Use the COMIT (Commit) operation code to apply a set of modifications to files under commitment control, or use the ROLBK (Roll Back) operation code to remove the pending organization of changes to files beneath commitment control.

Q37. What Is A Rpg?

A RPG is a roleplaying sport. These are games which allow someone to behave out numerous special fable conditions and characters, generally with a troupe of other gamers. Some RPG's are played round a table with ten or more sided dice, others are acted out as in a play (Live action roleplaying). Some are played with playing cards, and still others are performed with a aggregate of all the above. There are numerous distinct corporations which design RPG's.

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

In RPG we can check for the sphere is numeric or no longer . The OPCODE is TESTN.

Q39. What Are Data Types?

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

Q40. What Is The Difference Between Non-display Attribute & Hidden Fields?

•Non-display - Causes the records within the field to be invisible to the operator. The display positions for the fields appear like blank. Use this attribute for passwords or different protection-touchy information. Non-display fields do now not print.

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

Q41. Can You Debug Ile Rpg Program Using Isdb?

No. However we are able to debug RPG application the usage of STRDBG.

Compile RPG the use of with Source list options . . . *SRCDBG.

STRDBG PGM(PH0040DCL) OPMSRC(*YES)

OPM stands for authentic software version

Same system for CLP additionally.

Q42. What Is File Information Data Structure?

File Information Data shape (INFDS) may be described for each document to make record exception/blunders facts to be had to the program. A record records facts shape contains predefined subfields that perceive: the call of the document for which the exception/errors came about. The report being processed when the exception/error passed off or the record that brought on the exception/blunders. The ultimate operation being processed while the exception/errors befell.

The repute code. The RPG routine in which the exception/blunders passed off.

Q43. How Can You Display Specific Subfile Page On The Screen In Unequal Subfile?

• If CURSOR is particular for the SFLRCDNBR the cursor is placed in the subfile record whose relative document range is identified by way of the contents of this field.

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

Q44. What Is The Necessary Keyword Needed To Scroll Subfile Records?

•Pg/Up & Pg/Dn.

•SFLSCROLL (Subfile Scroll) - Returns the relative file wide variety of the subfile document this is at the pinnacle of the subfile whilst manage is given to the application.

Q45. How Do I Play insert Rpg System Here?

You sit down with a person who knows a way to play already. Click right here to find players on your vicinity. At least, that is the easiest manner. If you're all new, there are numerous net web sites dedicated to teaching you the way to play any RPG. Click right here for some standard advice.

Q46. Rpg Iv -- Release What?

RPG IV changed into first shipped with OS/four hundred Version three, Release @This is now referred to as RPG IV launch @But don't worry approximately remembering releases of RPG IV. Under OS/four hundred Version 3, Release 6, IBM more desirable RPG with techniques, many greater built-in functions, and several new facts types. This is known as RPG IV launch @Then, OS/four hundred Version three, Release 2 became introduced. It introduced the authentic release of RPG IV (on the CISC containers) as much as the equal degree as RPG IV under V3R6.

Q47. How Do I Declare A Pointer To An Array?

Usually, you don't need to. When human beings speak casually of a pointer to an array, they typically imply a pointer to its first detail. Instead of a pointer to an array, don't forget the use of a pointer to one of the array's factors. Arrays of type T decay into suggestions to type T (see query 6.Three), that's convenient; subscripting or incrementing the ensuing pointer will get right of entry to the person members of the array.

Q48. What Is The Difference Between The Cpyf Command Crtdupobj Command?

CRTDUPOBJ command is only to replicate items and does create duplicate files while the CPYF is to have exact copies of the report.

Q49. What Is A 'sim / Rpg'?

A Sim is a simulation. In this case, form of a writers' collective where a various group of people all collaborate on stories set in a commonplace idiom. It is also known as a Role-Playing Game (RPG), due to the similarity to video games like Dungeons and Dragons, or maybe Worlds of Warcraft (technically a MMORPG). However, Borderlands and other similar 'games' have nowhere near the extent of structure or regulations that true RPG's do.

Q50. Who Plays Spooky At Spooky's Rpg?

Fox Mulder is a reserved man or woman that every one veteran gamers can write at whenever. No one may additionally undertake Fox Mulder as a PC. Most position playing games have a GM (Game Moderator) to preserve the entirety walking smoothly. The GM acts as a referee, keeping the game alive, breaking up fights, stuff like that. The Vice-Moderator, who takes over when the GM needs a holiday to actual lifestyles, also helps with questionnaires, pics, and other related activities.




CFG