Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

RPG400 Interview Questions
Questions Answers Views Company eMail

To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 18121

I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 4856

I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 4328

When a object will be locked & when a record will be locked? Plz explain.

2 5522

Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

HSBC,

6 10271

Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

IBM,

4 9622

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

CSC,

6 9007

Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.

7 9859

1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 6668

As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?

1 4782

how can an indexed file be used as arrival sequence in RPG?

IBM,

3 6673

give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

CTS,

2706

What is the Record Address file. How can we use it in RPG program?

4 8011

can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

1642

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 15441


Post New RPG400 Questions






Un-Answered Questions { RPG400 }

Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

229


What is the difference between iter and do?

201


how do you use commitment control in rpg?

228


How can we know running job is batch or interactive?

194


What is difference between bind by copy and bind by reference?

172






How to call one program from another program in RPG? please help me with the code

685


check existence of one record without using chain or read?

218


how do I play {insert rpg system here}?

188


how do I do concatenation in rpg iv, like I do in cl?

201


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

205


What is file identifier where we can use?

167


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

1323


A rpg or clp command to find if the file field is defined as a character or numeric field.

260


what is the necessary keyword needed to scroll subfile records?

243


explain sflclr, sflend, sfldlt, and sflcsrrrn?

273