IBM AS400 Interview Questions
Questions Answers Views Company eMail

How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?

CTS,

4 9366

How would display prime numbers using CL program?

Hexaware,

5666

If record-format name in an externally-described file has already been defined as a file-name.how to solve this?

CTS,

2 11905

What is the difference between /copy and /include in RPGLE?

1 18277

can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

TCS,

2 14467

How to print output from openquery in as400 ?

Four soft,

1 7108

Suppose we have field reference file we were any changes that corresponding Physical file then what will Happen in field reference file??

IBM,

5 9023

Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.

1 4253

1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

HCL,

4 8790

Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 12022

How Commitment and Roll back control is used in as400, explain with real time senario ???

Acolite, HSBC,

2 14647

A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???

HSBC,

3 7650

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

3 6660

How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 6715

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 5695


Un-Answered Questions { IBM AS400 }

what would be the effect on the field where reverse image, underline and highlight display attributes were active?

923


what is a rpg?

684


difference between sflrcdnbr and sflnxtchg?

692


In 'o' Specs What Is The Opcode For Write?

694


explain sflclr, sflend, sfldlt, and sflcsrrrn?

875






which are the string manipulation opcodes?

613


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1085


what are the different commands used in rlu ?

1440


what is the rpg system?

657


how does the runqry show the output?

874


what is data area and how it is used in rpg program ?

743


How can we change the uppercase to Lowercase in RPG?

922


what is the difference between packed decimal and zoned decimal?

2237


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

745


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2507