IBM AS400 Interview Questions
Questions Answers Views Company eMail

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

IBM,

1059

explain sflclr, sflend, sfldlt, and sflcsrrrn?

IBM,

1117

Why Rpg/400 is Famous?

IBM,

2 2918

What is the difference between array and a multiple occurrence data structure?

1 1635

What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99

1 1433

Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 1364

What is the purpose of the following? I 'CLOSED' C STAT01 I 'OPEN' C STAT02

1 1313

List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exist c. If the file ORDHDR does exist, it may or may not contain data d. The file ORDHIST may or may not contain data, if the file does contain data the old data should be erased

1 1404

What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 1312

What is the purpose of the following C/COPY QRPGSRC, ORDERR

1 1442

What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2

1 1281

What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 1376

What is the purpose of the following? A CSRLOC (F1ROW F1COL)

1 1375

Define what the operation will do, the purpose of the result field and the purpose of *IN66? HI LO EQ C CALL 'CVTDAT' DTPRM 66

1 1282

Define each of the following operation codes a, b, c, d, e

1 1552


Un-Answered Questions { IBM AS400 }

how to write code for singlepage in sqlrpgle with update ?

2619


What is the interactive job?

798


How to reverse the string in rpg

1525


how do you read data area in an rpg program?

1509


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1274


how to define global parameter in ile ?

906


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1983


what is cab?

910


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1024


what does defn do?

845


how do you use commitment control in rpg?

1018


Explain the difference between section, paragraph and sentences?

738


How to add 99 menu (page down) option in menu creation..

2151


define what a data area is along with a brief example of what it may be used for?

1286


how many types of display are available on as/400 for user interaction?

899