Can be OVRDBF command mentioned after OPNQRYF command in CL?

Answer Posted / raghav

No, in this case the program will throw an error as OPNQRYF looks for the Share Open Data path (*Yes) for the file to process.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the various types of device files?

990


Using %check we are checking monika in mona what is output? What is %SCAN?

986


To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

792


why is as/400 called object oriented machine?

946


how you get the relative record in a subfile in which cursor is located?

612






Pose, 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?

596


can a single screen format occupy a screen area above and below a subfile format ?

1019


What is array in as400? What are the types of array?

621


how can I control from my cgis the cache of a remote browser?

673


What Is The Object Type Of Pf, Lf, Printer File & Display File?

701


what does check opcode do ?

1059


Difference Between Source Physical File & Physical File?

638


What is a query can be displayed without saving it?

674


How to Define a Procedure in RPG?

1220


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)

1736