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 does the keyword UNIQUE mean ?

1 Answers  


What is logical file in as400? What are the types of logical file?

1 Answers  


explain the purpose of keep and assume keywords?

1 Answers   IBM,


what is default data type for the fields(sub fields) defined in data structures in rpg?

2 Answers   IBM,


How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me

21 Answers   Accenture, SNS,






How many Printer Files can Declare in a CL Program?

4 Answers  


How do you read a subfile record which is in output mode?

3 Answers  


can we retrieve dspf source?

2 Answers  


What are the different types of messages in CL?

1 Answers  


268 How many parameters can be defined in a RPG program. ?

1 Answers  


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

0 Answers  


How to know the number of records in a pf through clp program?

7 Answers   Bank Of America,


Categories