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)



No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the difference between physical file and logical file?

0 Answers  


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

1 Answers  


what are the different types of arrays available in rpg ?

1 Answers   IBM,


maximum number of subfiles that can be active for a single file is?

1 Answers   IBM,


what is the necessary keyword for non-join logical file?

1 Answers   IBM,






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 Answers  


what is lokup opcode?

1 Answers   IBM,


What does SDA stands for ?

1 Answers  


What is the exact difference between Service Program and Binding Directory?

1 Answers  


What is the purpose of SFLFOLD and SFLDROP keywords?

1 Answers  


Hey, What is the difference between SCAN,CHECK,XLATE OPCODES? please give me the answeres with example in real time senario?

1 Answers  


what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?

8 Answers   Wipro,


Categories