Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

RPG400 Interview Questions
Questions Answers Views Company eMail

how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 8317

in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm

2 7043

if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.

TCS,

2 7751

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2631

I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 6432

Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?

TCS,

1 6567

As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

CTS,

5 17470

am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 4278

how to run only 10 modules of existing N modules in service program in RPGILE ?

Wipro,

3 8705

There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented

Cap Gemini, IBM,

3 9859

What is I90(Insure 90)?

1 19714

please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

Virtusa,

4 8010

can anybody explain significance of *loval setll with example code????

HSBC,

3 13912

how can we can we the data decimal error?how can we open such file in support

1 3153

i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

HSBC,

3 6856


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

What is file identifier where we can use?

1131


what is an online rpg?

1263


what is the use of sflnxtchg?

1262


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

2070


What is the difference between iter and do?

1209


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2631


how do I preserve and clean the array?

1148


What are the types of identifiers?

1020


what is program status data structure?

2416


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

961


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

2476


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1133


how do you use commitment control in rpg?

1279


How can we know running job is batch or interactive?

1122


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

2528